summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30397: Add re.Pattern and re.Match. (#1646)Serhiy Storchaka2017-10-041-0/+3
|
* bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and split() (#3866)Serhiy Storchaka2017-10-031-0/+2
| | | | | when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests.
* bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). (#3864)Serhiy Storchaka2017-10-031-0/+1
|
* bpo-31619: Fixed a ValueError when convert a string with large number of ↵Serhiy Storchaka2017-10-031-0/+2
| | | | | underscores (#3827) to integer with binary base.
* bpo-31415: Add `-X importtime` option (GH-3490)INADA Naoki2017-10-031-0/+2
| | | | | | It shows show import time of each module. It's useful for optimizing startup time. Typical usage: python -X importtime -c 'import requests'
* bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682)Thomas Moreau2017-10-031-0/+4
|
* bpo-31516: current_thread() should not return a dummy thread at shutdown (#3673)Antoine Pitrou2017-10-021-0/+1
| | | | bpo-31516: current_thread() should not return a dummy thread at shutdown
* bpo-31336: Speed up type creation. (#3279)scoder2017-10-011-0/+2
| | | | | Speed up class creation by 10-20% by reducing the overhead in the necessary special method lookups.
* bpo-31460: Simplify the API of IDLE's Module Browser. (#3842)Terry Jan Reedy2017-09-301-0/+6
| | | | | | Passing a widget instead of an flist with a root widget opens the option of creating a browser frame that is only part of a window. Passing a full file name instead of pieces assumed to come from a .py file opens the possibility of browsing python files that do not end in .py.
* bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (#3839)Terry Jan Reedy2017-09-301-0/+1
|
* bpo-31592: Fix an assertion failure in Python parser in case of a bad ↵Oren Milman2017-09-301-0/+2
| | | | unicodedata.normalize(). (#3767)
* bpo-31648: Improve ElementPath (#3835)scoder2017-09-301-0/+6
| | | | | * Allow whitespace inside of ElementPath predicates. * Add ElementPath predicate support for text comparison of the current node, like "[.='text']".
* bpo-30806 netrc.__repr__() is broken for writing to file (GH-2491)James Sexton2017-09-301-0/+1
| | | | | netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc
* bpo-31574: importlib dtrace (#3749)Christian Heimes2017-09-291-0/+1
| | | | | Importlib was instrumented with two dtrace probes to profile import timing. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a ↵Oren Milman2017-09-291-0/+2
| | | | | | | 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.
* bpo-31638: Add compression support to zipapp (GH-3819)Zhiming Wang2017-09-291-0/+2
| | | | Add optional argument `compressed` to `zipapp.create_archive`, and add option `--compress` to the command line interface of `zipapp`.
* stop using ranlib (closes bpo-31625) (#3815)Benjamin Peterson2017-09-291-0/+1
| | | Instead, simply pass 's' to ar.
* bpo-25351: avoid activate failure on strict shells (GH-3804)Sorin Sbarnea2017-09-291-0/+1
|
* remove support for BSD/OS (closes bpo-31624) (#3812)Benjamin Peterson2017-09-291-0/+1
|
* bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid (#3796)Antoine Pitrou2017-09-281-0/+1
| | | | bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid.
* bpo-31478: Fix an assertion failure in random.seed() in case a seed has a ↵Oren Milman2017-09-281-0/+2
| | | | bad __abs__() method. (#3596)
* bpo-31588: Validate return value of __prepare__() methods (GH-3764)Oren Milman2017-09-271-0/+2
| | | | | | | | | | 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.
* closes bpo-22140: Prevent double substitution of prefix in python-config.sh ↵Michał Górny2017-09-272-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-30347: Stop crashes when concurrently iterate over itertools.groupby() ↵Serhiy Storchaka2017-09-261-0/+1
| | | | iterators. (#1557)
* bpo-28293: Don't completely dump the regex cache when full. (#3768)Serhiy Storchaka2017-09-261-0/+1
|
* bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711)Stefan Grönke2017-09-251-0/+1
|
* bpo-31311: Fix a SystemError and a crash in ctypes._CData.__setstate__(), in ↵Oren Milman2017-09-251-0/+2
| | | | case of a bad __dict__. (#3254)
* bpo-30085: Improve documentation for operator (#1171)Sanket Dasgupta2017-09-241-0/+2
| | | | | 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 Milman2017-09-241-0/+2
| | | | __name__ global. (#3717)
* bpo-31285: Fix an assertion failure and a SystemError in ↵Oren Milman2017-09-241-0/+3
| | | | warnings.warn_explicit. (#3219)
* bpo-30346: An iterator produced by the itertools.groupby() iterator (#1569)Serhiy Storchaka2017-09-241-0/+2
| | | now becames exhausted after advancing the groupby iterator.
* bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() ↵Oren Milman2017-09-241-0/+2
| | | | received a bad encoder() argument. (#3643)
* bpo-31459: Rename IDLE's module browser from Class Browser to Module ↵Cheryl Sabella2017-09-231-0/+7
| | | | | | | | | | | 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 Reedy2017-09-231-0/+1
| | | | | Order dependence caused leak-test buildbots to fail when running test_idle repeatedly.
* bpo-1612262: IDLE: Class Browser shows nested functions, classes (#2573)Cheryl Sabella2017-09-221-0/+3
| | | | Original patches for code and tests by Guilherme Polo and Cheryl Sabella, respectively.
* bpo-17852: Maintain a list of BufferedWriter objects. Flush them on exit. ↵Neil Schemenauer2017-09-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#3372) * Maintain a list of BufferedWriter objects. Flush them on exit. In Python 3, the buffer and the underlying file object are separate and so the order in which objects are finalized matters. This is unlike Python 2 where the file and buffer were a single object and finalization was done for both at the same time. In Python 3, if the file is finalized and closed before the buffer then the data in the buffer is lost. This change adds a doubly linked list of open file buffers. An atexit hook ensures they are flushed before proceeding with interpreter shutdown. This is addition does not remove the need to properly close files as there are other reasons why buffered data could get lost during finalization. Initial patch by Armin Rigo. * Use weakref.WeakSet instead of WeakKeyDictionary. * Simplify buffered double-linked list types. * In _flush_all_writers(), suppress errors from flush(). * Remove NEWS entry, use blurb. * Take more care when flushing file buffers from atexit. The previous implementation was not careful enough to avoid causing issues in multi-threaded cases. Check for buf->ok and buf->finalizing before actually doing the flush. Also, increase the refcnt to ensure the object does not disappear.
* bpo-31389 Add an optional `header` argument to pdb.set_trace() (#3438)Barry Warsaw2017-09-221-0/+2
| | | | | | | | | | * Give pdb.set_trace() an optional `header` argument * What's new. * Give pdb.set_trace() an optional `header` argument * What's new.
* bpo-31410: Optimized calling wrapper and classmethod descriptors. (#3481)Serhiy Storchaka2017-09-211-0/+1
|
* bpo-27541: Reprs of subclasses of some classes now contain actual type name. ↵Serhiy Storchaka2017-09-211-0/+4
| | | | | (#3631) Affected classes are bytearray, array, deque, defaultdict, count and repeat.
* bpo-31351: Set return code in ensurepip when pip fails (GH-3626)Igor Filatov2017-09-211-0/+2
| | | | Previously ensurepip would always report success, even if the pip installation failed.
* bpo-31500: IDLE: Scale default fonts on HiDPI displays. (#3639)Serhiy Storchaka2017-09-211-0/+1
|
* bpo-31532: Fix memory corruption due to allocator mix (#3679)nurelin2017-09-211-0/+2
| | | | | | | | | | | | Fix a memory corruption in getpath.c due to mixed memory allocators between Py_GetPath() and Py_SetPath(). The fix use the Raw allocator to mimic the windows version. This patch should be used from python3.6 to the current version for more details, see the bug report and https://github.com/pyinstaller/pyinstaller/issues/2812
* bpo-31536: Avoid wholesale rebuild after `make regen-all` (#3678)Antoine Pitrou2017-09-201-0/+1
| | | | | | * bpo-31536: Avoid wholesale rebuild after `make regen-all` * Add NEWS
* bpo-26510: make argparse subparsers required by default (#3027)Anthony Sottile2017-09-201-0/+3
| | | | | | This fixes a regression from Python 2. To get optional subparsers, use the new parameter ``add_subparsers(required=False)``. Patch by Anthony Sottile.
* closes bpo-31525: require sqlite3_prepare_v2 (#3666)Benjamin Peterson2017-09-201-0/+1
| | | | | This is based on https://github.com/ghaering/pysqlite/commit/40b349cadbd87c42f70fc92e5e1aee6d02564c6d#diff-0489411409cd2934730e88bf7767790, though we can be a bit more aggressive about deleting code.
* bpo-31506: Improve the error message logic for object.__new__ and ↵Serhiy Storchaka2017-09-201-0/+1
| | | | object.__init__. (GH-3650)
* bpo-31293: Fix crashes in truediv and mul of a timedelta by a float with a ↵Oren Milman2017-09-191-0/+2
| | | | bad as_integer_ratio() method. (#3227)
* bpo-31315: Fix an assertion failure in imp.create_dynamic(), when spec.name ↵Oren Milman2017-09-191-0/+2
| | | | is not a string. (#3257)
* bpo-31492: Fix assertion failures in case of a module with a bad __name__ ↵Oren Milman2017-09-191-0/+3
| | | | attribute. (#3620)
* Update PyDoc topics and NEWS blurbs for 3.7.0a1Ned Deily2017-09-19642-1327/+6456
|