summaryrefslogtreecommitdiff
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
...
| * bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py ↵Stéphane Wirtel2019-03-181-0/+3
| | | | | | | | | | | | | | | | (#12385) * bpo-36329: Declare the version of Python to use for Tools/scripts/serve.py * Add the blurb entry
| * bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375)Raymond Hettinger2019-03-181-0/+5
| |
| * bpo-36297: remove "unicode_internal" codec (GH-12342)Inada Naoki2019-03-181-0/+2
| |
| * Fix "catchs" typos in NEWS entries (GH-12364)Harmon2019-03-171-4/+4
| |
| * bpo-34745: Fix asyncio sslproto memory issues (GH-12386)Fantix King2019-03-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix handshake timeout leak in asyncio/sslproto Refs MagicStack/uvloop#222 * Break circular ref _SSLPipe <-> SSLProtocol * bpo-34745: Fix asyncio ssl memory leak * Break circular ref SSLProtocol <-> UserProtocol * Add NEWS entry
| * bpo-34160: Update news entry for XML order attributes (#12335)Diego Rojas2019-03-161-0/+1
| |
| * bpo-23216: IDLE: Add docstrings to search modules (GH-12141)Cheryl Sabella2019-03-161-0/+1
| |
| * bpo-35493: Use Process.sentinel instead of sleeping for polling worker ↵Pablo Galindo2019-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | status in multiprocessing.Pool (#11488) * bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool * Use self-pipe pattern to avoid polling for changes * Refactor some variable names and add comments * Restore timeout and poll * Use reader object only on wait() * Recompute worker sentinels every time * Remove timeout and use change notifier * Refactor some methods to be overloaded by the ThreadPool, document the cache class and fix typos
| * bpo-35715: Liberate return value of _process_worker (GH-11514)Dave Chevell2019-03-161-0/+1
| | | | | | | | ProcessPoolExecutor workers will hold the return value of their last task in memory until the next task is received. Since the return value has already been propagated to the parent process's Future (or has been discarded by this point), the object can be safely released.
| * bpo-36138: Clarify docs about converting datetime.timedelta to scalars. ↵Yasser A2019-03-161-0/+1
| | | | | | | | | | | | (GH-12137) Be explicit that timedelta division converts an overall duration to the interval units given by the denominator.
| * bpo-36124: Add PyInterpreterState.dict. (gh-12132)Eric Snow2019-03-151-0/+4
| |
| * bpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236)Victor Stinner2019-03-151-0/+4
| | | | | | | | | | | | | | | | | | Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
| * bpo-36272: Logging now propagates RecursionError (GH-12312)Rémi Lapeyre2019-03-151-0/+2
| |
| * bpo-30040: update news entry (GH-12324)Inada Naoki2019-03-141-1/+2
| | | | | | This optimization is not only for space, but also for speed.
| * bpo-36282: Improved error message for too much positional arguments. (GH-12310)Serhiy Storchaka2019-03-131-0/+2
| |
| * bpo-36280: Add Constant.kind field (GH-12295)Guido van Rossum2019-03-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals. The 'r' (raw) prefix is ignored. Does not apply to f-strings. This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on). WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka https://bugs.python.org/issue36280
| * bpo-31904: Adapt the _signal module to VxWorks RTOS (GH-12304)pxinwr2019-03-131-0/+1
| | | | | | Limited signal fields in VxWorks.
| * bpo-36262: Fix _Py_dg_strtod() memory leak (goto undfl) (GH-12276)Victor Stinner2019-03-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix an unlikely memory leak on conversion from string to float in the function _Py_dg_strtod() used by float(str), complex(str), pickle.load(), marshal.load(), etc. Fix an unlikely memory leak in _Py_dg_strtod() on "undfl:" label: rewrite memory management in this function to always release all memory before exiting the function. Initialize variables to NULL, and set them to NULL after calling Bfree() at the "cont:" label. Note: Bfree(NULL) is well defined: it does nothing.
| * Fix stepping into a frame without a __name__ (GH-12064)Anthony Sottile2019-03-121-0/+2
| |
| * Correct minor edit to news entry. (GH-12298)Ned Deily2019-03-121-1/+1
| |
| * Minor edits to news entries (ported from 3.7) (GH-12293)Ned Deily2019-03-122-10/+10
| |
| * bpo-36264: Don't honor POSIX HOME in os.path.expanduser on Windows (GH-12282)Anthony Sottile2019-03-121-0/+2
| |
| * canonicalize "Inada Naoki" in ACKS and 3.8 News (GH-12286)Inada Naoki2019-03-122-2/+2
| |
| * bpo-30040: new empty dict uses key-sharing dict (GH-1080)Inada Naoki2019-03-121-0/+2
| | | | | | | | Sizeof new empty dict becomes 72 bytes from 240 bytes (amd64). It is same size to empty dict created by dict.clear().
| * bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)Daniel Hahler2019-03-111-0/+1
| | | | | | | | This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise.
| * bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848)Lisa Roach2019-03-111-0/+1
| |
| * bpo-36234: Add more tests to PosixUidGidTests (GH-12234)Victor Stinner2019-03-111-0/+2
| | | | | | | | | | | | | | | | | | | | test_posix.PosixUidGidTests: * Add tests for invalid uid/gid type (str) * Add UID_OVERFLOW and GID_OVERFLOW constants to replace (1 << 32) Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
| * bpo-36176: Fix IDLE autocomplete & calltip popup colors. (#12262)Terry Jan Reedy2019-03-101-0/+2
| | | | | | | | Prevent conflicts with Linux dark themes (and slightly darken calltip background).
| * bpo-35647: Fix path check in cookiejar (#11436)Xtreak2019-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Refactor cookie path check as per RFC 6265 * Add tests for prefix match of path * Add news entry * Fix set_ok_path and refactor tests * Use slice for last letter
| * bpo-21314: Add a FAQ entry about positional only parameters (GH-10641)Lysandros Nikolaou2019-03-101-0/+3
| |
| * bpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). ↵sth2019-03-101-0/+2
| | | | | | | | (GH-12252)
| * bpo-35121: prefix dot in domain for proper subdomain validation (GH-10258)Xtreak2019-03-091-0/+4
| | | | | | Don't send cookies of domain A without Domain attribute to domain B when domain A is a suffix match of domain B while using a cookiejar with `http.cookiejar.DefaultCookiePolicy` policy. Patch by Karthikeyan Singaravelan.
| * closes bpo-33376: Update to Unicode 12.0.0. (GH-12256)Benjamin Peterson2019-03-091-0/+1
| |
| * bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440)Cheryl Sabella2019-03-081-0/+1
| |
| * bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690)Anthony Sottile2019-03-081-0/+1
| |
| * bpo-35975: Support parsing earlier minor versions of Python 3 (GH-12086)Guido van Rossum2019-03-071-0/+7
| | | | | | | | | | | | | | This adds a `feature_version` flag to `ast.parse()` (documented) and `compile()` (hidden) that allow tweaking the parser to support older versions of the grammar. In particular if `feature_version` is 5 or 6, the hacks for the `async` and `await` keyword from PEP 492 are reinstated. (For 7 or higher, these are unconditionally treated as keywords, but they are still special tokens rather than `NAME` tokens that the parser driver recognizes.) https://bugs.python.org/issue35975
| * bpo-36216: Add check for characters in netloc that normalize to separators ↵Steve Dower2019-03-071-0/+3
| | | | | | | | (GH-12201)
| * bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149)Raymond Hettinger2019-03-061-0/+2
| |
| * closes bpo-36139: release GIL around munmap(). (GH-12073)Davide Rizzo2019-03-061-0/+1
| |
* | Merge branch 'master' into bind-socketGiampaolo Rodola2019-03-0656-62/+595
|\ \ | |/
| * bpo-35807: Upgrade ensurepip bundled pip and setuptools (GH-12189)Pradyun Gedam2019-03-061-0/+1
| | | | | | | | | | * Update pip to 19.0.3 * Update setuptools to 40.8.0
| * closes bpo-36188: Clean up 'unbound' method left-overs. (GH-12169)Martijn Pieters2019-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | Methods are always bound, and `__self__` can no longer be `NULL` (`method_new()` and `PyMethod_New()` both explicitly check for this). Moreover, once a bound method is bound, it *stays* bound and won't be re-bound to something else, so the section in the datamodel that talks about accessing an methods in a different descriptor-binding context doesn't apply any more in Python 3.
| * bpo-36179: Fix ref leaks in _hashopenssl (GH-12158)Christian Heimes2019-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in out-of-memory cases. Thanks to Charalampos Stratakis. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue36179
| * bpo-35198 Fix C++ extension compilation on AIX (GH-10437)Kevin Adler2019-03-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For C++ extensions, distutils tries to replace the C compiler with the C++ compiler, but it assumes that C compiler is the first element after any environment variables set. On AIX, linking goes through ld_so_aix, so it is the first element and the compiler is the next element. Thus the replacement is faulty: ld_so_aix gcc ... -> g++ gcc ... Also, it assumed that self.compiler_cxx had only 1 element or that there were the same number of elements as the linker has and in the same order. This might not be the case, so instead concatenate everything together.
| * bpo-31904: Add encoding support for VxWorks RTOS (GH-12051)pxinwr2019-03-041-0/+1
| | | | | | | | | | | | | | | | Use UTF-8 as the system encoding on VxWorks. The main reason are: 1. The locale is frequently misconfigured. 2. Missing some functions to deal with locale in VxWorks C library.
| * bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)Brennan D Baraban2019-03-031-0/+1
| | | | | | | | | | | | | | | | | | | | Co-authored-by: Maxwell <maxwellpxt@gmail.com> Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> https://bugs.python.org/issue35899
| * bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996)Henry Chen2019-03-031-0/+1
| |
| * bpo-36103: change default buffer size of shutil.copyfileobj() (GH-12115)Inada Naoki2019-03-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is changed from 16KiB to 64KiB. The previous default value is used since 1990. coreutils chose 128 KiB as minimum buffer size for block device I/O. But shutil.copyfileobj() can be used for non block devices. So I choose more conservative value. As my quick benchmark, performance difference between 64KiB and 128 KiB is up to ~5%. On the other hand, performance difference between 32 KiB and 64 KiB can be more than 10% when file is fully buffered. This is why 64 KiB is rational value.
| * bpo-35808: Retire pgen and use pgen2 to generate the parser (GH-11814)Pablo Galindo2019-03-012-8/+2
| | | | | | | | | | Pgen is the oldest piece of technology in the CPython repository, building it requires various #if[n]def PGEN hacks in other parts of the code and it also depends more and more on CPython internals. This commit removes the old pgen C code and replaces it for a new version implemented in pure Python. This is a modified and adapted version of lib2to3/pgen2 that can generate grammar files compatibles with the current parser. This commit also eliminates all the #ifdef and code branches related to pgen, simplifying the code and making it more maintainable. The regen-grammar step now uses $(PYTHON_FOR_REGEN) that can be any version of the interpreter, so the new pgen code maintains compatibility with older versions of the interpreter (this also allows regenerating the grammar with the current CI solution that uses Python3.5). The new pgen Python module also makes use of the Grammar/Tokens file that holds the token specification, so is always kept in sync and avoids having to maintain duplicate token definitions.
| * bpo-32129: Avoid blurry IDLE application icon on macOS with Tk 8.6. (GH-12031)Ned Deily2019-03-011-0/+2
| | | | | | Patch by Kevin Walzer.