summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31908: Fix output of cover files for trace module command-line tool. ↵Michael Selik2018-05-013-23/+60
| | | | | | (GH-4205) Previously emitted cover files only when --missing option was used.
* bpo-30465: Fix C downcast warning on Windows in ast.c (#6593)Victor Stinner2018-04-301-1/+1
| | | | ast.c: fstring_fix_node_location() downcasts a pointer difference to a C int. Replace int with Py_ssize_t to fix the compiler warning.
* Add mypy cache to gitignore (GH-6614)Ekin Dursun2018-04-301-0/+1
|
* bpo-33254: do not return an empty list when asking for the contents of a ↵Brett Cannon2018-04-305-21/+22
| | | | namespace package (GH-6467)
* Enable the verbose build for extension modules with GNU make (#6659)Matthias Klose2018-04-302-1/+7
|
* bpo-33393: Update config.guess and config.sub files (#6658)Matthias Klose2018-04-303-423/+396
|
* bpo-33377: add triplets for mips-r6 and riscv (#6655)Matthias Klose2018-04-303-1/+71
| | | | | | * issue33377: add triplets for mips-r6 and riscv * issue33377: add triplets for mips-r6 and riscv (NEWS entry)
* bpo-33352: Skip test_regrtest test if rt.bat does not exist (GH-6654)Andrés Delfino2018-04-301-0/+2
|
* bpo-33012: Fix invalid function casts for long_long. (GH-6652)Serhiy Storchaka2018-04-301-17/+25
| | | | | long_long() was used with three function types: PyCFunction, getter and unaryfunction.
* bpo-27645, sqlite: Fix integer overflow on sleep (#6594)Victor Stinner2018-04-301-4/+20
| | | | | | | | | Use the _PyTime_t type and round away from zero (ROUND_UP, _PyTime_ROUND_TIMEOUT) the sleep duration, when converting a Python object to seconds and then to milliseconds. Raise an OverflowError in case of overflow. Previously the (int)double conversion rounded towards zero (ROUND_DOWN).
* bpo-21474: Update IDLE word/identifier definition from ascii to unicode. ↵Terry Jan Reedy2018-04-302-4/+7
| | | | | | | (GH-6643) In text and entry boxes, this affects selection by double-click, movement left/right by control-left/right, and deletion left/right by control-BACKSPACE/DEL.
* bpo-33330: Write exceptions occurred in PyImport_Cleanup() to stderr. (GH-6606)Serhiy Storchaka2018-04-292-20/+26
| | | | They where silenced before.
* bpo-33012: Fix invalid function cast warnings with gcc 8 for METH_NOARGS. ↵Siddhesh Poyarekar2018-04-2956-406/+406
| | | | | | | | | (GH-6030) METH_NOARGS functions need only a single argument but they are cast into a PyCFunction, which takes two arguments. This triggers an invalid function cast warning in gcc8 due to the argument mismatch. Fix this by adding a dummy unused argument.
* bpo-32362: Fix references to non-existent multiprocessing.Connection() (GH-6223)Bo Bayles2018-04-291-11/+17
|
* bpo-33256: Replace angle brackets around python object repr to display it in ↵sblondon2018-04-294-2/+5
| | | | html (GH-6442)
* bpo-31026: Fix test_dbm if dbm.ndbm is build with Berkeley DB. (GH-6632)Serhiy Storchaka2018-04-292-2/+29
|
* bpo-33383: Fix crash in get() of the dbm.ndbm database object. (#6630)Serhiy Storchaka2018-04-297-7/+38
|
* bpo-33378: Add Korean to the language switcher. (GH-6627)Dong-hee Na2018-04-282-0/+2
|
* Change "non-local state" to "content-local state". (GH-6617)Tom Christie2018-04-271-1/+1
| | | The wording here seems wrong, as per https://bugs.python.org/msg315792
* bpo-33363: raise SyntaxError for async for/with outside async functions (#6616)Zsolt Dollenstein2018-04-273-1/+25
|
* bpo-33041: Fix downcast warning on Windows (#6595)Victor Stinner2018-04-271-1/+1
| | | | Cast pointer difference from ssize_t to int: a frame is very unlikely larger than 2 GB.
* bpo-33358: Fix test_embed.test_pre_initialization_sys_options (GH-6612)Pablo Galindo2018-04-272-1/+3
| | | Fix test_embed.test_pre_initialization_sys_options() when building with --enable-shared
* Clarify the inspect.getmembers predicate parameter (#6615)Brian Curtin2018-04-261-3/+4
| | | | | | | | Previously, the predicate parameter was mentioned, but what it was to be called with was not documented and required either trial-and-error or looking into the source to find that it is called with the `value`, or second item, of the full members list. This change addresses what the predicate will receive, as well as does some light formatting to make this clear.
* bpo-27485: Rename and deprecate undocumented functions in urllib.parse (GH-2205)Cheryl Sabella2018-04-256-62/+244
|
* bpo-33334: Support NOP and EXTENDED_ARG in dis.stack_effect(). (#6566)Serhiy Storchaka2018-04-253-0/+21
| | | Added tests to ensure that all defined opcodes are supported.
* bpo-33330: Improve error handling in PyImport_Cleanup(). (GH-6564)Serhiy Storchaka2018-04-251-9/+24
|
* bpo-33280: Reorganize external Tcl/Tk references. (GH-6473)Andrés Delfino2018-04-251-22/+27
|
* Mention both relevant PEPs in function annotations tutorial (GH-6304)Neeraj Badlani2018-04-251-2/+2
| | | Patch by Neeraj Badlani.
* Fix rendering issues in the documentation for the os module (#6525)Pablo Galindo2018-04-251-4/+16
|
* bpo-33128 Fix duplicated call to importlib._install_external_importers ↵Pablo Galindo2018-04-253-5/+5
| | | | | | | | | (GH-6273) External importers were being added in both phases of the import system initialisation. They're only supposed to be added in the second phase, after the import machinery has been appropriately configured.
* acks += chrBrd (#6584)Łukasz Langa2018-04-231-0/+1
|
* bpo-33251: Update documentation to reflect change. (GH-6446) (#6583)Chris Bradbury2018-04-231-0/+5
|
* bpo-33251: Prevent ConfigParser.items returning items present in vars. (#6446)Chris Bradbury2018-04-233-5/+6
| | | | | | | | * bpo-33251: ConfigParser.items no longer returns items present in vars. Documentation for `ConfigParser.items()` states: 'Items present in vars no longer appear in the result.' This fix aligns behaviour to that specified in the documentation.
* bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575)Antoine Pitrou2018-04-232-6/+9
| | | | | | | Starting with glibc 2.27.9000-xxx, sigaddset() can return EINVAL for some reserved signal numbers between 1 and NSIG. The `range(1, NSIG)` idiom is commonly used to select all signals for blocking with `pthread_sigmask`. So we ignore the sigaddset() return value until we expose sigfillset() to provide a better idiom.
* bpo-33338: [tokenize] Minor code cleanup (#6573)Łukasz Langa2018-04-231-11/+8
| | | | This change contains minor things that make diffing between Lib/tokenize.py and Lib/lib2to3/pgen2/tokenize.py cleaner.
* bpo-991266: Fix quoting of Comment attribute of SimpleCookie (GH-6555)Berker Peksag2018-04-223-0/+13
|
* bpo-33297: Mention Pillow to work with more image formats. (#6505)Andrés Delfino2018-04-213-3/+7
| | | | Also update PIL doc references to Pillow.
* Clarify that __path__ can't be just any value (GH-6554)Brett Cannon2018-04-202-2/+2
|
* bpo-25427: Remove pyvenv (GH-5962)Brett Cannon2018-04-209-35/+8
|
* Spelling fixes to docs, docstrings, and comments (GH-6374)Ville Skyttä2018-04-2015-16/+16
|
* bpo-33131: Upgrade ensurepip to bundle pip 10.0.1 (GH-6546)Paul Moore2018-04-204-3/+4
| | | Upgrade ensurepip to bundle pip 10.0.1
* bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548)Gregory P. Smith2018-04-201-1/+1
|
* bpo-32232: by default, Setup modules are no longer built with ↵xdegaye2018-04-204-21/+25
| | | | | | | | | -DPy_BUILD_CORE (GH-6489) Setup modules are no longer built with -DPy_BUILD_CORE by default, as using that flag may now require including additional internal-only header files. Instead, only the modules that specifically need it use that setting.
* bpo-33298: Wrap only constants with _PyCode_ConstantKey() in the compiler. ↵Serhiy Storchaka2018-04-201-104/+117
| | | | (GH-6512)
* bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537)Gregory P. Smith2018-04-203-24/+17
| | | | | | | | | | | | | | | | | | | | Fix clang ubsan (undefined behavior sanitizer) warnings in dictobject.c by adjusting how the internal struct _dictkeysobject shared keys structure is declared. This remains ABI compatible. We get rid of the union at the end of the struct being used for conveinence to avoid typecasting in favor of char[] variable length array at the end of a struct. This is known to clang to be used for variable sized objects and will not cause an undefined behavior problem. Similarly, char arrays do not have strict aliasing undefined behavior when cast. PEP-007 does not currently list variable length arrays (VLAs) as allowed in our subset of C99. If this turns out to be a problem, the fix to this is to change the char `dk_indices[]` into `dk_indices[1]` and restore the three size computation subtractions this change removes: `- Py_MEMBER_SIZE(PyDictKeysObject, dk_indices)` If this works as is I'll make a separate PR to update PEP-007.
* Clean up the readme text around PGO a bit. (GH-6538)Gregory P. Smith2018-04-191-4/+5
|
* bpo-33189: pygettext.py now accepts only literal strings (GH-6364)Serhiy Storchaka2018-04-193-11/+76
| | | | as docstrings and translatable strings, and rejects bytes literals and f-string expressions.
* bpo-33299: Return an object itself for some types in _PyCode_ConstantKey(). ↵Serhiy Storchaka2018-04-192-8/+17
| | | | (GH-6513)
* Update What's new in 3.7 to reference preadv, pwritev and posix_spawn (GH-6524)Pablo Galindo2018-04-191-0/+8
|
* bpo-31583: Fix 2to3 for using with --add-suffix option (GH-3758)Denis Osipov2018-04-182-1/+3
|