summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cache externals, depending on changes to PCbuild (#3308)Zachary Ware2017-09-041-0/+2
|
* bpo-30622: Change NPN detection: (#2079)Melvyn Sopacua2017-09-042-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change NPN detection: Version breakdown, support disabled (pre-patch/post-patch): - pre-1.0.1: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.0.1 and 1.0.2: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.1.0+: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will be defined -> True/False Version breakdown support enabled (pre-patch/post-patch): - pre-1.0.1: OPENSSL_NPN_NEGOTIATED will not be defined -> False/False - 1.0.1 and 1.0.2: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will not be defined -> True/True - 1.1.0+: OPENSSL_NPN_NEGOTIATED will be defined and OPENSSL_NO_NEXTPROTONEG will not be defined -> True/True * Refine NPN guard: - If NPN is disabled, but ALPN is available we need our callback - Make clinic's ssl behave the same way This created a working ssl module for me, with NPN disabled and ALPN enabled for OpenSSL 1.1.0f. Concerns to address: The initial commit for NPN support into OpenSSL [1], had the OPENSSL_NPN_* variables defined inside the OPENSSL_NO_NEXTPROTONEG guard. The question is if that ever made it into a release. This would need an ugly hack, something like: #if defined(OPENSSL_NO_NEXTPROTONEG) && \ !defined(OPENSSL_NPN_NEGOTIATED) # define OPENSSL_NPN_UNSUPPORTED 0 # define OPENSSL_NPN_NEGOTIATED 1 # define OPENSSL_NPN_NO_OVERLAP 2 #endif [1] https://github.com/openssl/openssl/commit/68b33cc5c7
* What's New for bpo-1198569 (#3303)Barry Warsaw2017-09-041-0/+7
|
* Fixes doc/make.bat to properly handle quoted paths. (#3302)Steve Dower2017-09-041-8/+8
|
* remove configure.ac support for SGI_ABI (#3294)Benjamin Peterson2017-09-042-38/+0
|
* remote note about IRIX in aifc (#3299)Benjamin Peterson2017-09-041-6/+0
| | | This comment hasn't been true since Python 3.0.
* bpo-1198569: Allow string.Template braced pattern to be different (#3288)Barry Warsaw2017-09-044-4/+45
| | | | | | | | * bpo-1198569: Allow the braced pattern to be different ``string.Template`` subclasses can optionally define ``braceidpattern`` if they want to specify different placeholder patterns inside and outside the braces. If None (the default) it falls back to ``idpattern``.
* Blurbify master branch. (#3298)larryhastings2017-09-04503-9808/+25702
| | | Blurbify master branch.
* bpo-25674: remove sha256.tbs-internet.com ssl test (#3297)Christian Heimes2017-09-043-156/+1
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Clarify nature of parse_args 'args' argument. (#3292)R. David Murray2017-09-041-3/+15
| | | | Patch by Paul.j3. Includes an unrelated but useful addition to the optparse porting section.
* Add references to modules I am responsible for (#3291)Raymond Hettinger2017-09-041-0/+9
|
* Use a team to maintain the email related packages. (#3290)Barry Warsaw2017-09-041-5/+5
|
* Improve clarity (and small speed-up) by using tuple unpacking (#3289)Raymond Hettinger2017-09-041-8/+8
|
* remove check for bug last seem in Solaris 9 (#3285)Benjamin Peterson2017-09-042-54/+0
|
* Change code owners for hashlib and ssl to the crypto team (#3284)Alex Gaynor2017-09-041-3/+6
| | | | | | * Change code owners for hashlib and ssl to the crypto team * Include the core CSPRNG for the crypto-team
* bpo-31281: Fix pathlib.Path incompatibility in fileinput (gh-3208)Zhiming Wang2017-09-043-1/+16
| | | Fix fileinput with inplace=True to accept pathlib.Path objects.
* remove autoconf check for select() (#3283)Benjamin Peterson2017-09-043-5/+2
| | | We never actually check HAVE_SELECT.
* remove configure check for 'volatile' (#3281)Benjamin Peterson2017-09-043-37/+3
| | | This is a required feature is C99, which we require.
* Add missing _sha3 module to Setup.dist (#2395)Segev Finer2017-09-041-0/+1
|
* bpo-12383: Also ignore __PYVENV_LAUNCHER__ (#3278)Ned Deily2017-09-041-0/+1
| | | Used in macOS framework builds.
* bpo-9146: add the missing NEWS entry. (#3275)Gregory P. Smith2017-09-031-0/+3
|
* Fix a c.f.as_completed() refleak previously introduced in bpo-27144 (#3270)Antoine Pitrou2017-09-032-8/+20
|
* bpo-31185: Fixed miscellaneous errors in asyncio speedup module. (#3076)Serhiy Storchaka2017-09-034-219/+248
|
* remove a redundant lower in urllib.parse.urlsplit (#3008)Oren Milman2017-09-031-2/+1
|
* bpo-31323: Fix reference leak in test_ssl (#3263)Victor Stinner2017-09-011-2/+6
| | | | Store exceptions as string rather than object to prevent reference cycles which cause leaking dangling threads.
* bpo-31250, test_asyncio: fix EventLoopTestsMixin.tearDown() (#3264)Victor Stinner2017-09-011-2/+2
| | | | | | | Call doCleanups() to close the loop after calling executor.shutdown(wait=True): see TestCase.set_event_loop() of asyncio.test_utils. Replace also gc.collect() with support.gc_collect().
* bpo-31326: ProcessPoolExecutor waits for the call queue thread (#3265)Victor Stinner2017-09-012-1/+8
| | | | | | | | | | * bpo-31326: ProcessPoolExecutor waits for the call queue thread concurrent.futures.ProcessPoolExecutor.shutdown() now explicitly closes the call queue. Moreover, shutdown(wait=True) now also join the call queue thread, to prevent leaking a dangling thread. * Fix for shutdown() being called twice.
* bpo-27144: concurrent.futures as_complete and map iterators do not keep ↵Grzegorz Grzywacz2017-09-014-10/+91
| | | | | | | | | | reference to returned object (#1560) * bpo-27144: concurrent.futures as_complie and map iterators do not keep reference to returned object * Some nits. Improve wordings in docstrings and comments, and avoid relying on sys.getrefcount() in tests.
* bpo-31250, test_asyncio: fix dangling threads (#3252)Victor Stinner2017-09-013-2/+10
| | | | | | | * Explicitly call shutdown(wait=True) on executors to wait until all threads complete to prevent side effects between tests. * Fix test_loop_self_reading_exception(): don't mock loop.close(). Previously, the original close() method was called rather than the mock, because how set_event_loop() registered loop.close().
* bpo-31217: Fix regrtest -R for small integer (#3260)Victor Stinner2017-09-011-3/+11
| | | | | | | | Use a pool of integer objects toprevent false alarm when checking for memory block leaks. Fill the pool with values in -1000..1000 which are the most common (reference, memory block, file descriptor) differences. Co-Authored-By: Antoine Pitrou <pitrou@free.fr>
* bpo-30096: Use ABC in abc reference examples (#1220)Eric Appelt2017-08-301-24/+39
| | | Use base class rather than metaclass in examples.
* bpo-30737: Update DevGuide links to new URL (GH-3228)Lisa Hewus Fresh2017-08-3014-21/+22
| | | Update old devguide links from https://docs.python.org/devguide to https://devguide.python.org
* [Trivial] Remove now redundant assert (#3245)Antoine Pitrou2017-08-301-1/+0
|
* Fix the indentation in Extending Python code example (GH-3244)Sergey Fedoseev2017-08-301-6/+6
| | | | Code was indented with three spaces. Fixed using four spaces.
* Removed noop branch from ctypes code (#3234)Alex Gaynor2017-08-301-4/+1
|
* bpo-30581: Windows: os.cpu_count() returns wrong number of processors (#2934)Christopher Wilcox2017-08-302-3/+18
| | | | | | | | * Fixes #30581 by adding a path to use newer GetMaximumProcessorCount API on Windows calls to os.cpu_count() * Add NEWS.d entry for bpo-30581, os.cpu_count on Windows. * Tweak NEWS entry
* bpo-31051: Rearrange IDLE condigdialog GenPage into Window, Editor, and ↵Terry Jan Reedy2017-08-302-38/+46
| | | | Help sections. (#3239)
* bpo-5001: More-informative multiprocessing error messages (#3079)Allen W. Smith, Ph.D2017-08-2915-39/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make error message more informative Replace assertions in error-reporting code with more-informative version that doesn't cause confusion over where and what the error is. * Additional clarification + get travis to check * Change from SystemError to TypeError As suggested in PR comment by @pitrou, changing from SystemError; TypeError appears appropriate. * NEWS file installation; ACKS addition (will do my best to justify it by additional work) * Making current AssertionErrors in multiprocessing more informative * Blurb added re multiprocessing managers.py, queues.py cleanup * Further multiprocessing cleanup - went through pool.py * Fix two asserts in multiprocessing/util.py * Most asserts in multiprocessing more informative * Didn't save right version * Further work on multiprocessing error messages * Correct typo * Correct typo v2 * Blasted colon... serves me right for trying to work on two things at once * Simplify NEWS entry * Update 2017-08-18-17-16-38.bpo-5001.gwnthq.rst * Update 2017-08-18-17-16-38.bpo-5001.gwnthq.rst OK, never mind. * Corrected (thanks to pitrou) error messages for notify * Remove extraneous backslash in docstring.
* bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() ↵Oren Milman2017-08-293-1/+22
| | | | | (#3226) if pathname.replace('/', '\\') returns non-string.
* bpo-31065: Add doc about Popen.poll returning None. (#3169)Ivan Chernoff2017-08-291-1/+1
|
* bpo-31286, bpo-30024: Fixed stack usage in absolute imports with (#3217)Serhiy Storchaka2017-08-292-10/+33
| | | binding a submodule to a name.
* bpo-31243: Fixed PyArg_ParseTuple failure checks. (#3171)Oren Milman2017-08-294-21/+65
|
* Fix a typo in the Programming FAQ. (#3230)Gregory P. Smith2017-08-281-1/+1
| | | subobjects, not subobjecs.
* bpo-10746: Fix ctypes PEP 3118 type codes for c_long, c_bool, c_int (#31)Pauli Virtanen2017-08-283-30/+123
| | | | | | | | | | | | | | | Ctypes currently produces wrong pep3118 type codes for several types. E.g. memoryview(ctypes.c_long()).format gives "<l" on 64-bit platforms, but it should be "<q" instead for sizeof(c_long) == 8 The problem is that the '<>' endian specification in the struct syntax also turns on the "standard size" mode, which makes type characters have a platform-independent meaning, which does not match with the codes used internally in ctypes. The struct module format syntax also does not allow specifying native-size non-native-endian items. This commit adds a converter function that maps the internal ctypes codes to appropriate struct module standard-size codes in the pep3118 format strings. The tests are modified to check for this.
* bpo-30987 - Support for ISO-TP protocol in SocketCAN (#2956)Pier-Yves Lessard2017-08-285-8/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added support for CAN_ISOTP protocol * Added unit tests for CAN ISOTP * Updated documentation for ISO-TP protocol * Removed trailing whitespace in documentation * Added blurb NEWS.d file * updated Misc/ACKS * Fixed broken unit test that was using isotp const outside of skippable section * Removed dependecy over third party project * Added implementation for getsockname + unit tests * Missing newline at end of ACKS file * Accidentally inserted a type in ACKS file * Followed tiran changes review #1 recommendations * Added spaces after comma
* bpo-26656: Improve re.compile documentation (GH-3211)Henk-Jaap Wagenaar2017-08-281-3/+4
| | | | | - Link to the regular expressions object documentation - Clarify that it can be used with more than the two methods currently stated.
* bpo-30617: IDLE: docstrings and unittest for outwin.py (#2046)Cheryl Sabella2017-08-273-62/+278
| | | Move some data and functions from the class to module level. Patch by Cheryl Sabella.
* bpo-31287: IDLE - do not alter tkinter.messagebox in configdialog tests. (#3220)Terry Jan Reedy2017-08-273-7/+16
|
* bpo-30781: IDLE - use ttk widgets in configdialog (#2654)Cheryl Sabella2017-08-263-86/+87
| | | Patch by Cheryl Sabella.
* bpo-31072: Rename the new filter argument for zipapp.create_archive. (#3049)Paul Moore2017-08-264-13/+45
| | | | | | | bpo-31072: Rename the new filter argument for zipapp.create_archive (GH-3049) * Rename the new argument to "filter" * Improve tests for the new functionality * Add a "What's New" entry.