Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-33280: Reorganize external Tcl/Tk references. (GH-6473) | Andrés Delfino | 2018-04-25 | 1 | -22/+27 | |
| | ||||||
* | Mention both relevant PEPs in function annotations tutorial (GH-6304) | Neeraj Badlani | 2018-04-25 | 1 | -2/+2 | |
| | | | Patch by Neeraj Badlani. | |||||
* | Fix rendering issues in the documentation for the os module (#6525) | Pablo Galindo | 2018-04-25 | 1 | -4/+16 | |
| | ||||||
* | bpo-33128 Fix duplicated call to importlib._install_external_importers ↵ | Pablo Galindo | 2018-04-25 | 3 | -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 Langa | 2018-04-23 | 1 | -0/+1 | |
| | ||||||
* | bpo-33251: Update documentation to reflect change. (GH-6446) (#6583) | Chris Bradbury | 2018-04-23 | 1 | -0/+5 | |
| | ||||||
* | bpo-33251: Prevent ConfigParser.items returning items present in vars. (#6446) | Chris Bradbury | 2018-04-23 | 3 | -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 Pitrou | 2018-04-23 | 2 | -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 Langa | 2018-04-23 | 1 | -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 Peksag | 2018-04-22 | 3 | -0/+13 | |
| | ||||||
* | bpo-33297: Mention Pillow to work with more image formats. (#6505) | Andrés Delfino | 2018-04-21 | 3 | -3/+7 | |
| | | | | Also update PIL doc references to Pillow. | |||||
* | Clarify that __path__ can't be just any value (GH-6554) | Brett Cannon | 2018-04-20 | 2 | -2/+2 | |
| | ||||||
* | bpo-25427: Remove pyvenv (GH-5962) | Brett Cannon | 2018-04-20 | 9 | -35/+8 | |
| | ||||||
* | Spelling fixes to docs, docstrings, and comments (GH-6374) | Ville Skyttä | 2018-04-20 | 15 | -16/+16 | |
| | ||||||
* | bpo-33131: Upgrade ensurepip to bundle pip 10.0.1 (GH-6546) | Paul Moore | 2018-04-20 | 4 | -3/+4 | |
| | | | Upgrade ensurepip to bundle pip 10.0.1 | |||||
* | bpo-33312: update Tools/gdb/libpython.py to match. (GH-6548) | Gregory P. Smith | 2018-04-20 | 1 | -1/+1 | |
| | ||||||
* | bpo-32232: by default, Setup modules are no longer built with ↵ | xdegaye | 2018-04-20 | 4 | -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 Storchaka | 2018-04-20 | 1 | -104/+117 | |
| | | | | (GH-6512) | |||||
* | bpo-33312: Fix clang ubsan out of bounds warnings in dict. (GH-6537) | Gregory P. Smith | 2018-04-20 | 3 | -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. Smith | 2018-04-19 | 1 | -4/+5 | |
| | ||||||
* | bpo-33189: pygettext.py now accepts only literal strings (GH-6364) | Serhiy Storchaka | 2018-04-19 | 3 | -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 Storchaka | 2018-04-19 | 2 | -8/+17 | |
| | | | | (GH-6513) | |||||
* | Update What's new in 3.7 to reference preadv, pwritev and posix_spawn (GH-6524) | Pablo Galindo | 2018-04-19 | 1 | -0/+8 | |
| | ||||||
* | bpo-31583: Fix 2to3 for using with --add-suffix option (GH-3758) | Denis Osipov | 2018-04-18 | 2 | -1/+3 | |
| | ||||||
* | bpo-33308: Fix a crash in the parser module when convert an ST object. (#6519) | Serhiy Storchaka | 2018-04-18 | 3 | -10/+27 | |
| | | | | Converting with line_info=False and col_info=True crashed before. | |||||
* | bpo-11594: Ensure line-endings are respected when using 2to3 (GH-6483) | Aaron Ang | 2018-04-17 | 4 | -18/+35 | |
| | ||||||
* | bpo-33295: Skip test using missing external site (GH-6504) | INADA Naoki | 2018-04-17 | 1 | -0/+1 | |
| | | | | | `test_urllib2net.OtherNetworkTests.test_sites_no_connection_close` used `http://www.imdb.com/` but it is moved to https so the test is not valid anymore. Skip test for the moment to allow CI to proceed. | |||||
* | bpo-33144: random.Random and subclasses: split _randbelow implementation ↵ | Wolfgang Maier | 2018-04-17 | 3 | -29/+107 | |
| | | | | (GH-6291) | |||||
* | Fix spelling typo (GH-6443) | jdemeyer | 2018-04-17 | 1 | -1/+1 | |
| | ||||||
* | bpo-33205: dict: Change GROWTH_RATE to `used*3` (GH-6350) | INADA Naoki | 2018-04-17 | 2 | -6/+8 | |
| | ||||||
* | fix pydoc-topics to work with Sphinx 1.7 (GH-6475) | Benjamin Peterson | 2018-04-17 | 1 | -4/+8 | |
| | | | In fact, we now require a newer Sphinx version because APIs have moved around. | |||||
* | bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479) | Andrés Delfino | 2018-04-17 | 2 | -6/+7 | |
| | ||||||
* | Revert 725476222a3c1f2f93162d75a540e6bcdeaa36fd (#6494) | Łukasz Langa | 2018-04-17 | 1 | -4/+0 | |
| | | | This note in documentation was never true. | |||||
* | [lib2to3] Make grammar pickling faster (#6491) | Łukasz Langa | 2018-04-17 | 2 | -25/+3 | |
| | | | | | | | | | * Now uses pickle protocol 4 * Doesn't wrap the grammar's `__dict__` in ordered dictionaries anymore as dictionaries in Python 3.6+ are ordered by default This still produces deterministic pickles (that hash the same with MD5). Tested with different PYTHONHASHSEED values. | |||||
* | acks += Zsolt Dollenstein (#6490) | Łukasz Langa | 2018-04-16 | 2 | -0/+2 | |
| | ||||||
* | Add support for all string literals to lib2to3 (#6457) | Zsolt Dollenstein | 2018-04-16 | 2 | -52/+28 | |
| | ||||||
* | Remove to-be-deprecated urllib.request.urlretrieve function reference (#6454) | Andrés Delfino | 2018-04-16 | 1 | -4/+12 | |
| | ||||||
* | bpo-31947: remove None default for names param in Enum._create_ (GH-4288) | anentropic | 2018-04-16 | 1 | -1/+1 | |
| | ||||||
* | bpo-33270: Intern names for all anonymous code objects (#6472) | Zackery Spytz | 2018-04-15 | 4 | -8/+9 | |
| | ||||||
* | Removed a confusing line from a docstring in http.cookies (GH-6482) | Alex Gaynor | 2018-04-15 | 1 | -2/+1 | |
| | | | There's no reason a cookie should _ever_ contain pickled data. That's just asking for a critical security vulnerability. Back in Python2 there were helpers for doing that, but they're no more in Python3. Now coded_value is used when the value needs to be encoded for any reason. | |||||
* | bpo-33185: Improve wording and markup (GH-6477) | Nick Coghlan | 2018-04-15 | 4 | -10/+12 | |
| | | | | | | Adds some working and markup fixes that I missed in the initial commit for this issue. (Follow-up to GH-6419) | |||||
* | bpo-33185: Fix regression in pydoc CLI sys.path handling (GH-6419) | Nick Coghlan | 2018-04-15 | 4 | -10/+115 | |
| | | | | | | | | | | The pydoc CLI assumed -m pydoc would add the empty string to sys.path, and hence got confused when it switched to adding the full initial working directory instead. This refactors the pydoc CLI path manipulation to be more testable, and ensures it won't accidentally remove the standard library directory containing pydoc itself from sys.path. | |||||
* | bpo-33176: Add a toreadonly() method to memoryviews. (GH-6466) | Antoine Pitrou | 2018-04-14 | 5 | -16/+73 | |
| | ||||||
* | bpo-33184: Update Windows installer to OpenSSL 1.1.0h (GH-6463) | Steve Dower | 2018-04-14 | 4 | -5/+6 | |
| | ||||||
* | bpo-33265: use an actual method instead of a method-like function in ↵ | jdemeyer | 2018-04-13 | 2 | -8/+5 | |
| | | | | | | ExitStack (GH-6456) `MethodType` has the exact semantics that `ExitStack` needs, so we can avoid creating a Python level closure. | |||||
* | itemgetter add dict example (GH-1280) | WeizhongTu | 2018-04-13 | 1 | -0/+2 | |
| | ||||||
* | Fix error messages in argparse examples (GH-6435) | suic86 | 2018-04-11 | 1 | -2/+2 | |
| | | | | The examples in argparse documentation use `error: too few arguments` error message which was removed in this commit f97c59a in 2011. | |||||
* | bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447) | Serhiy Storchaka | 2018-04-11 | 3 | -9/+7 | |
| | ||||||
* | bpo-33097: Fix submit accepting callable after executor shutdown by ↵ | Mark Nemec | 2018-04-10 | 4 | -0/+44 | |
| | | | | | | interpreter exit (GH-6144) Executors in concurrent.futures accepted tasks after executor was shutdown by interpreter exit. Tasks were left in PENDING state forever. This fix changes submit to instead raise a RuntimeError. | |||||
* | bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439) | Devon R | 2018-04-10 | 1 | -1/+1 | |
| |