| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
(GH-6316)
`writerows()` takes an iterable.
(cherry picked from commit a801cf164be7c62b6a6dba47ff91d6c3edb67729)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
| |
Use also support.SOCK_MAX_SIZE, not only support.PIPE_MAX_SIZE, to
get the size for a blocking send into a multiprocessing pipe.
Replace also test_support with support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-31479: Always reset the signal alarm in tests
Use "try: ... finally: signal.signal(0)" pattern to make sure that
tests don't "leak" a pending fatal signal alarm.
* Move two more alarm() calls into the try block
Fix also typo: replace signal.signal(0) with signal.alarm(0)
* Move another signal.alarm() into the try block
(cherry picked from commit 9abee722d448c1c00c7d4e11ce242ec7b13e5c49)
|
|
|
| |
* bpo-33717: pythoninfo: add CC --version (GH-7290)
|
|
|
|
| |
Python 3.6, although I've seen the same crash in 3.6 (when involving
extension types and more complicated threading setups).
|
|
|
|
|
|
| |
(GH-7277)
(cherry picked from commit a5c42284e69fb309bdd17ee8c1c120d1be383012)
|
|
|
|
| |
Fix test_multiprocessing.test_ignore(): use support.PIPE_MAX_SIZE
to make sure that send_bytes() blocks.
|
|
|
|
| |
It is reproduced when parse the "<>" operator and run
Python with both options -3 and -We.
|
|
|
|
| |
Check which readline implementation is used based on the readline
docstring.
|
|
|
|
|
|
|
|
|
| |
Rename Lib/test/bisect.py to Lib/test/bisect_cmd.py. The old name was
in conflict with Lib/bisect.py, causing test failures, depending how
tests were run.
For example, "python2.7 Lib/test/test_httpservers.py" imported
indirectly Lib/test/bisect.py instead of Lib/bisect.py
on "import bisect".
|
|
|
|
|
|
|
|
|
|
| |
* Add a space to ensurepip's --altinstall option
* Add periods to the arguments of ensurepip that didn't have it
This makes --help for all optional arguments consistent and also makes it
consistent with pip --help..
(cherry picked from commit e9537ad6a128924dd610bea2268065500c174181)
Co-authored-by: Wieland Hoffmann <mineo@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 8c1ad0c4f69390fded09012e1ed5242c45753bb4)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
|
|
| |
Call sys.stdout.flush() after displaying "running: ...".
|
|
|
|
|
|
|
| |
(GH-7122)
(cherry picked from commit 268cc7c)
Co-authored-by: Andrés Delfino adelfino@gmail.com
|
|
|
|
| |
Skip test_load_dh_params() of test_ssl when Python filesystem encoding
cannot encode the provided path.
|
|
|
|
|
|
|
|
| |
* Fixed a leak when the GC fails to add an object with __del__ into
the gc.garbage list.
* PyGC_Collect() can now be called when an exception is set and
preserves it.
(cherry picked from commit 301e3cc8a5bc68c5347ab6ac6f83428000d31ab2)
|
|
|
|
|
| |
(cherry picked from commit d5f144260886959c1fe06bc4506a23fd10f92348)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit 1179f4b40f375af5c59cd4b6be9cc313fa0e1a37)
Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
uuid._ipconfig_getnode did not validate the maximum length of the value,
so long as the value had the same type of formatting as a MAC address.
This let it select DUIDs as MAC addresses. It now requires an exact
length match..
(cherry picked from commit c66c342cb42ab8a88884527ddfe3a5086bc06316)
Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>
|
|
|
|
| |
Fixes incorrect error text for int('1', base=1000)
and long('1', base=1000).
|
|
|
|
|
|
| |
(GH-6967) (GH-6970)
(cherry picked from commit bde3e0bf096219234321ca9898fc3d3aed598453)
|
|
|
|
|
|
|
| |
documentation (GH-6814). (GH-6905)
(cherry picked from commit 19177fbd5d6d9b29ccc302d65f9d9417ece082ce)
Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
|
|
|
|
|
|
|
|
|
| |
(GH-6795) (GH-6817)
The robotparser's __str__ representation now includes wildcard
entries.
(cherry picked from commit c3fa1f2b93fa4bf96a8aadc74ee196384cefa31e)
Co-authored-by: Michael Lazar <lazar.michael22@gmail.com>.
|
|
|
|
|
|
| |
Clarify that flush is implied when the call to write contains a newline character.
(cherry picked from commit 7ffd4c58fae08b29259eebd6cbcd2287820b14e8)
Co-authored-by: Elena Oat <oat.elena@gmail.com>
|
|
|
|
| |
attribute. (GH-6095)
|
|
|
|
|
|
| |
(GH-6738). (GH-6744)
(cherry picked from commit ddb6215a55b0218b621d5cb755e9dfac8dab231a)
|
|
|
|
|
| |
(GH-6724)
This partially reverts commit e80a232f2cfdab584133d9779c83885c5f9f1ba6.
|
|
|
|
|
|
|
| |
byte/string literals on pydoc. (GH-6701) (GH-6712)
Also update the list of string prefixes.
(cherry picked from commit b2043bbe6034b53f5ad337887f4741b74b70b00d)
|
|
|
|
|
|
| |
locales. (GH-6708). (GH-6717)
(cherry picked from commit cedc9b74202d8c1ae39bca261cbb45d42ed54d45)
|
|
|
|
|
| |
(GH-5701) (GH-6620)
(cherry picked from commit 74382a3f175ac285cc924a73fd758e8dc3cc41bb)
|
|
|
|
|
|
|
|
| |
(GH-6223) (GH-6646)
(cherry picked from commit 9f3535c9cde8813ce631d6ebe4d790682f594828)
Co-authored-by: Bo Bayles <bbayles@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 491bbedc209fea314a04cb3015da68fb0aa63238)
Co-authored-by: lekma <lekmalek@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit fc6aa28bfd0502d994cec30bd3679b7def3be2af)
Co-authored-by: Ned Deily <nad@python.org>
|
|
|
|
|
|
|
| |
it in html (GH-6442). (GH-6650)
(cherry picked from commit 7d68bfa82654ba01d860b8a772ff63bf0bd183ee)
Co-authored-by: sblondon <sblondon@users.noreply.github.com>
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By spec, the "long double" in _PyGC_Head requires the union to always be 16-byte
aligned. However, obmalloc only yields 8-byte alignment. Compilers including GCC
8 are starting to use alignment information to do store-merging. So, the "long
double" needs to be changed to a simple "double" as was long ago done in Python
3 by e348c8d154cf6342c79d627ebfe89dfe9de23817. For 2.7, we need to add some
dummy padding to make sure _PyGC_Head stays the same size.
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 67a8f4fed3169e1b8c947c10f6e06863e399ae32)
Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
|
| |
| |
| | |
This was broken by poor automated translation back in 6e3dbbdf39f3b4eb6f18c0165e446df17218b7dc.
|
| |
| |
| |
| |
| |
| | |
(GH-6605)
(cherry picked from commit e9d9494d6b2a5e0c2d48d22c7f0d5e95504b4f7e)
|
| |
| |
| |
| | |
We don't use debugger on Travis.
(cherry picked from commit 8ff53564730f7ba503f5ad94418c309c48e8516d)
|
| |
| |
| | |
(cherry picked from commit 1ba9469)
|
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-6562)
Also update PIL doc references to Pillow.
(cherry picked from commit 'b81ca28b378c8b29204a37f8bd433a3379f53f7d')
Co-authored-by: 'Andrés Delfino.34587441+andresdelfino@users.noreply.github.com'
|
| |
| |
| |
| |
| |
| | |
Upgrade ensurepip to bundle pip 10.0.1
(cherry picked from commit 0399cf9b5e370516e3d0aed6a63ff74aff5eadb5)
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 4b685bf7192fff48c8effeeae4f4d64f9420ec0f)
Update only the documentation about image formats.
|