Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31592: Fix an assertion failure in Python parser in case of a bad ↵ | Oren Milman | 2017-09-30 | 3 | -12/+28 |
| | | | | unicodedata.normalize(). (#3767) | ||||
* | bpo-31627: Make test_mailbox be lenient to empty hostname. (#3821) | Serhiy Storchaka | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | bpo-31648: Improve ElementPath (#3835) | scoder | 2017-09-30 | 5 | -7/+68 |
| | | | | | * Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']". | ||||
* | bpo-31581: Reduce the number of imports for functools (GH-3757) | INADA Naoki | 2017-09-30 | 2 | -88/+92 |
| | |||||
* | bpo-30806 netrc.__repr__() is broken for writing to file (GH-2491) | James Sexton | 2017-09-30 | 3 | -9/+13 |
| | | | | | netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc | ||||
* | bpo-31574: importlib dtrace (#3749) | Christian Heimes | 2017-09-29 | 5 | -0/+28 |
| | | | | | Importlib was instrumented with two dtrace probes to profile import timing. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-31641: Allow arbitrary iterables in `concurrent.futures.as_completed()` ↵ | Łukasz Langa | 2017-09-29 | 2 | -3/+6 |
| | | | | | | | (#3830) This was possible before. GH-1560 introduced a regression after 3.6.2 got released where only sequences were accepted now. This commit addresses this problem. | ||||
* | bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a ↵ | Oren Milman | 2017-09-29 | 3 | -0/+27 |
| | | | | | | | bad zlib.decompress() (GH-3784) While a rare potential failure (it requires swapping out zlib.decompress() itself and forcing it to return a non-bytes object), this change prevents a potential C-level assertion failure and instead substitutes it with an exception. Thanks to Oren Milman for the patch. | ||||
* | Tweak formatting of PR message template (#3828) | Brett Cannon | 2017-09-29 | 1 | -4/+4 |
| | |||||
* | bpo-31285: Remove splitlines identifier from Python/_warnings.c (#3803) | Oren Milman | 2017-09-29 | 1 | -3/+0 |
| | | | (forgot to remove it in #3219) | ||||
* | bpo-31638: Add compression support to zipapp (GH-3819) | Zhiming Wang | 2017-09-29 | 5 | -7/+44 |
| | | | | Add optional argument `compressed` to `zipapp.create_archive`, and add option `--compress` to the command line interface of `zipapp`. | ||||
* | explicitly list objects for the ar command (#3824) | Benjamin Peterson | 2017-09-29 | 1 | -1/+1 |
| | | | | | $^ is not portable. closes bpo-31625 | ||||
* | stop using ranlib (closes bpo-31625) (#3815) | Benjamin Peterson | 2017-09-29 | 4 | -106/+4 |
| | | | Instead, simply pass 's' to ar. | ||||
* | bpo-25351: avoid activate failure on strict shells (GH-3804) | Sorin Sbarnea | 2017-09-29 | 2 | -13/+14 |
| | |||||
* | remove support for BSD/OS (closes bpo-31624) (#3812) | Benjamin Peterson | 2017-09-29 | 10 | -69/+11 |
| | |||||
* | bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid (#3796) | Antoine Pitrou | 2017-09-28 | 5 | -206/+335 |
| | | | | bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid. | ||||
* | Fix typo in Simple Statements documentation (GH-3809) | kms70847 | 2017-09-28 | 1 | -1/+1 |
| | | | Replace "restriction" with "restrictions". | ||||
* | bpo-31478: Fix an assertion failure in random.seed() in case a seed has a ↵ | Oren Milman | 2017-09-28 | 3 | -2/+18 |
| | | | | bad __abs__() method. (#3596) | ||||
* | Trivial readability improvement (#3791) | Barry Warsaw | 2017-09-27 | 1 | -1/+1 |
| | |||||
* | bpo-31588: Validate return value of __prepare__() methods (GH-3764) | Oren Milman | 2017-09-27 | 3 | -0/+31 |
| | | | | | | | | | | Class execution requires that __prepare__() methods return a proper execution namespace. Check for that immediately after calling __prepare__(), rather than passing it through to the code execution machinery and potentially triggering SystemError (in debug builds) or a cryptic TypeError (in release builds). Patch by Oren Milman. | ||||
* | point to the module-level get_ident function rather than the one in _thread ↵ | Benjamin Peterson | 2017-09-27 | 1 | -4/+4 |
| | | | | (#3782) | ||||
* | closes bpo-22140: Prevent double substitution of prefix in python-config.sh ↵ | Michał Górny | 2017-09-27 | 2 | -12/+14 |
| | | | | | | | | | | | | | | | | | | | (#3769) Fix the logic in python-config.sh to avoid attempting to substitute prefix in a variable that might have already been subject to substitution. This e.g. happened if @exec_prefix@ was defined as "${prefix}" (which is the default of the configure script) -- in which case the exec_prefix_build variable was initialized with already-subtituted prefix, and then another round of substitution was performed which might have resulted in duplicate prefix. To avoid that, rename the variables so that the variables matching likely configure names (prefix, exec_prefix) retain their original values and a '_real' suffix is used for the real values of prefix. Furthermore, replace the unnecessary prefix and exec_prefix substitutions with direct prefix_real references since the sed always replaced the whole string anyway by design. | ||||
* | bpo-31586: Use _count_element fast path for real dicts. | Oren Milman | 2017-09-27 | 1 | -1/+3 |
| | |||||
* | bpo-30347: Stop crashes when concurrently iterate over itertools.groupby() ↵ | Serhiy Storchaka | 2017-09-26 | 3 | -36/+56 |
| | | | | iterators. (#1557) | ||||
* | bpo-28293: Don't completely dump the regex cache when full. (#3768) | Serhiy Storchaka | 2017-09-26 | 2 | -2/+13 |
| | |||||
* | bpo-31579: Fixed a possible leak in enumerate() with large indices. (#3753) | Serhiy Storchaka | 2017-09-26 | 1 | -2/+6 |
| | |||||
* | bpo-31571: Remove duplicated info in Lexical Analysis documentation (GH-3691) | Guilherme Caminha | 2017-09-25 | 1 | -7/+0 |
| | | | | - Remove the second mention about the `u` prefix - Remove the second mention about numeric literals do not include a sign | ||||
* | bpo-30152: Reduce the number of imports for argparse. (#1269) | Serhiy Storchaka | 2017-09-25 | 8 | -49/+59 |
| | |||||
* | bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711) | Stefan Grönke | 2017-09-25 | 22 | -43/+44 |
| | |||||
* | bpo-26491 Defer DECREFs until enumobject is in a consistent state (#3747) | Raymond Hettinger | 2017-09-25 | 1 | -18/+30 |
| | |||||
* | bpo-31170: Write unit test for Expat 2.2.4 UTF-8 bug (#3570) | Victor Stinner | 2017-09-25 | 2 | -0/+34 |
| | | | Non-regression tests for the Expat 2.2.3 UTF-8 decoder bug. | ||||
* | bpo-27385: Clarify docstring for groupby() (#3738) | Raymond Hettinger | 2017-09-25 | 2 | -3/+4 |
| | |||||
* | bpo-31311: Fix a SystemError and a crash in ctypes._CData.__setstate__(), in ↵ | Oren Milman | 2017-09-25 | 3 | -0/+33 |
| | | | | case of a bad __dict__. (#3254) | ||||
* | bpo-23702: Update Descriptor-HOWTO to reflect the removal of unbound methods ↵ | Raymond Hettinger | 2017-09-25 | 1 | -23/+33 |
| | | | | (#3739) | ||||
* | bpo-18558: Clarify glossary entry for "Iterable" (#3732) | Raymond Hettinger | 2017-09-25 | 2 | -2/+10 |
| | |||||
* | remove configure check for memmove (#3716) | Benjamin Peterson | 2017-09-24 | 4 | -19/+2 |
| | | | Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE. | ||||
* | bpo-30085: Improve documentation for operator (#1171) | Sanket Dasgupta | 2017-09-24 | 2 | -3/+6 |
| | | | | | The dunderless functions are preferred; dunder are retained for back compatilibity. Patch by Sanket Dasgupta. | ||||
* | bpo-31566: Fix an assertion failure in _warnings.warn() in case of a bad ↵ | Oren Milman | 2017-09-24 | 3 | -3/+16 |
| | | | | __name__ global. (#3717) | ||||
* | bpo-31285: Fix an assertion failure and a SystemError in ↵ | Oren Milman | 2017-09-24 | 3 | -3/+40 |
| | | | | warnings.warn_explicit. (#3219) | ||||
* | Update Email library documentation example (GH-3720) | Henk-Jaap Wagenaar | 2017-09-24 | 1 | -1/+1 |
| | | | A `"` was missing from an `<a href>` tag. | ||||
* | bpo-27319, bpo-31508: Document deprecation in Treeview.selection(). (#3667) | Serhiy Storchaka | 2017-09-24 | 3 | -7/+23 |
| | | | | | Defer removing old behavior to 3.8. Document new feature of selection_set() and friends. | ||||
* | bpo-30346: An iterator produced by the itertools.groupby() iterator (#1569) | Serhiy Storchaka | 2017-09-24 | 4 | -3/+34 |
| | | | now becames exhausted after advancing the groupby iterator. | ||||
* | bpo-31311: Impove error reporting in case the first argument to ↵ | Oren Milman | 2017-09-24 | 1 | -1/+4 |
| | | | | PyCData_setstate() isn't a dictionary. (#3255) | ||||
* | bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() ↵ | Oren Milman | 2017-09-24 | 3 | -3/+36 |
| | | | | received a bad encoder() argument. (#3643) | ||||
* | bpo-31564: Update typing documentation (GH-3696) | topper-123 | 2017-09-24 | 1 | -3/+9 |
| | | | Mention that ``NewType`` can derive from another ``NewType``. | ||||
* | bpo-25359: Add missed "goto error" after setting an exception. (#3712) | Serhiy Storchaka | 2017-09-23 | 1 | -0/+1 |
| | |||||
* | bpo-31459: Rename IDLE's module browser from Class Browser to Module ↵ | Cheryl Sabella | 2017-09-23 | 7 | -37/+44 |
| | | | | | | | | | | | Browser. (#3704) The original module-level class and method browser became a module browser, with the addition of module-level functions, years ago. Nested classes and functions were added yesterday. For back- compatibility, the virtual event <<open-class-browser>>, which appears on the Keys tab of the Settings dialog, is not changed. Patch by Cheryl Sabella. | ||||
* | bpo-31559: Remove test order dependence in idle_test.test_browser. (#3708) | Terry Jan Reedy | 2017-09-23 | 2 | -17/+35 |
| | | | | | Order dependence caused leak-test buildbots to fail when running test_idle repeatedly. | ||||
* | Docs: correct hashlib.blake2 keyed hashing example (bpo-31560) | Dmitry Chestnykh | 2017-09-23 | 2 | -8/+9 |
| | |||||
* | sqlite: delete some bsddb cargo-culted code to work around Python 2.3/2.4 bugs | Benjamin Peterson | 2017-09-23 | 1 | -15/+0 |
| |