Skip to content

Fixing a typo in documentation of c-api/objbuffer#12283

Closed
christopheNan wants to merge 1639 commits into
python:masterfrom
christopheNan:typo_objbuffer
Closed

Fixing a typo in documentation of c-api/objbuffer#12283
christopheNan wants to merge 1639 commits into
python:masterfrom
christopheNan:typo_objbuffer

Conversation

@christopheNan

Copy link
Copy Markdown
Contributor

While translating in French (python/python-docs-fr#588), I noticed a typo in c-api/objbuffer

serhiy-storchaka and others added 30 commits December 11, 2018 10:51
…st.mock tests (pythonGH-8520) (pythonGH-11031)

(cherry picked from commit 3cf7438)


Co-authored-by: Anirudha Bose <ani07nov@gmail.com>


https://bugs.python.org/issue33747
…onGH-11087)

The test only except SIGUSR1Exception inside wait_signal(), but the signal can be sent during subprocess_send_signal() call.
(cherry picked from commit 2ab2afd)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
…rkserver on Windows (pythonGH-11086)

Forkserver and fork are not available on Windows and therefore these test must be skipped.
(cherry picked from commit a932d0b)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
…signature (GH11125)

* Fix partial and partial method signatures in mock

* Add more calls

* Add NEWS entry

* Use assertEquals and fix markup in NEWS

* Refactor branching and add markup reference for functools

* Revert partial object related changes and fix pr comments
(cherry picked from commit f7fa62e)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
(cherry picked from commit 5a718e9)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
…cessW(). (pythonGH-11141). (pythonGH-11149)

(cherry picked from commit 7b36016)

Co-authored-by: Vladimir Matveev <v2matveev@outlook.com>
GH- Fixed missing colun in library/sys.po

[bpo-35492](https://bugs.python.org/issue35492): Fixed missing colun in library/sys.po
(cherry picked from commit cb0f5e2)

Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
bpo-34279, bpo-35412: support.run_unittest() no longer raises
TestDidNotRun if a test result contains skipped tests. The
exception is now only raised if no test have been run and no test
have been skipped.
(cherry picked from commit 3a8f4fe)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
(cherry picked from commit f8e9bd5)

Co-authored-by: Steve Dower <steve.dower@microsoft.com>
…copy of the Python binary (pythonGH-11144) (pythonGH-11167)

https://bugs.python.org/issue35450
(cherry picked from commit f5107df)

Co-authored-by: mkkot <marcin2006@gmail.com>
) (pythonGH-11179)

"make profile-opt" no longer replaces CFLAGS_NODIST with CFLAGS. It
now adds profile-guided optimization (PGO) flags to CFLAGS_NODIST,
existing CFLAGS_NODIST flags are kept.
(cherry picked from commit 640ed52)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
)

Add testcase to test_future4: check unicode literal.
(cherry picked from commit 502fe19)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
…GH-11182)

Replace time.time() with time.monotonic() in tests to measure time
delta.

test_zipfile64: display progress every minute (60 secs) rather than
every 5 minutes (5*60 seconds).
(cherry picked from commit 2cf4c20)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
…H-11180)

TextTestRunner of unittest.runner now uses time.perf_counter() rather
than time.time() to measure the execution time of a test: time.time()
can go backwards, whereas time.perf_counter() is monotonic.

Similar change made in libregrtest, pprint and random.
(cherry picked from commit 8db5b54)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer,
time.monotonic() is now always system-wide.
(cherry picked from commit 3ab064e)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
pythonGH-11175)

(cherry picked from commit 842acaa)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
…1142)

(cherry picked from commit bdabb07)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Rename test.bisect module to test.bisect_cmd to avoid conflict with
bisect module when running directly a test like
"./python Lib/test/test_xmlrpc.py".
(cherry picked from commit 1dd0359)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
…GH-10931)

check_environ() of distutils.utils now catchs KeyError on calling
pwd.getpwuid(): don't create the HOME environment variable in this
case.
(cherry picked from commit 17d0c05)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
…nGH-11119)

(cherry picked from commit 3fcc1e0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…11170)

(cherry picked from commit d2a75c6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
…nGH-11145) (pythonGH-11221)

(cherry picked from commit e3666fc)

Co-authored-by: Hrvoje Nikšić <hniksic@gmail.com>
Fix a race condition in check_interrupted_write() of test_io:
create directly the thread with SIGALRM signal blocked,
rather than blocking the signal later from the thread. Previously, it
was possible that the thread gets the signal before the signal is
blocked.
(cherry picked from commit 05c9d31)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
miss-islington and others added 12 commits February 25, 2019 23:10
…ythonGH-12027)

The standard math library (libm) may follow IEEE-754 recommendation to
include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x).
And this triggers a name clash, found by FreeBSD developer
Steve Kargl, who worken on putting sinpi into libm used on FreeBSD
(it has to be named "sinpi", not "sinPi", cf. e.g.
https://en.cppreference.com/w/c/experimental/fpext4).
(cherry picked from commit f57cd82)

Co-authored-by: Dima Pasechnik <dimpase@gmail.com>
…ion (pythonGH-12053)

Use longer timeout for accept() in the server and block on accept in the client.
The client now only sets the timeout once the socket is connected.
(cherry picked from commit 53b9e1a)

Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
…in (pythonGH-4348)

This is needed to even the run the test suite on buildbots for affected platforms; e.g.:

```
./python.exe  ./Tools/scripts/run_tests.py -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
/home/embray/src/python/test-worker/3.x.test-worker/build/python -u -W default -bb -E -W error::BytesWarning -m test -r -w -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -j2
Traceback (most recent call last):
  File "./Tools/scripts/run_tests.py", line 56, in <module>
    main(sys.argv[1:])
  File "./Tools/scripts/run_tests.py", line 52, in main
    os.execv(sys.executable, args)
PermissionError: [Errno 13] Permission denied
make: *** [Makefile:1073: buildbottest] Error 1
```

(cherry picked from commit 7a7693e)

Co-authored-by: E. M. Bray <erik.m.bray@gmail.com>
… (pythonGH-12075)

(cherry picked from commit ed1deb0)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
…2077) (pythonGH-12078)

(cherry picked from commit ccb92e8)


Co-authored-by: Ned Deily <nad@python.org>
skip issue
skip news
(cherry picked from commit 4064089)

Co-authored-by: Shiv Dhar <shivdhar@gmail.com>
Did you know an API documented as printing the pending traceback would sometimes exit the process?

You do now.
(cherry picked from commit 4173772)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
pythonGH-12101)

…mum_version (pythonGH-11894).

(cherry picked from commit ae2ea33)

Co-authored-by: Zhiming Wang <i@zhimingwang.org>
Remove colorizer.ColorDelegator.close_when_done and the corresponding argument of .close().  In IDLE, both have always been None or False since 2007.
(cherry picked from commit b9f0354)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Ensure custom formatwarning function can receive line as positional argument.

Co-Authored-By: Tashrif Billah <tashrifbillah@gmail.com>
(cherry picked from commit be7c460)

Co-authored-by: Xtreak <tir.karthi@gmail.com>
…ythonGH-12031)

 Patch by Kevin Walzer.
(cherry picked from commit 7eebbbd)

Co-authored-by: Ned Deily <nad@python.org>
@christopheNan

Copy link
Copy Markdown
Contributor Author

My repo is not synced with master.

@christopheNan christopheNan deleted the typo_objbuffer branch March 11, 2019 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.