summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for 3.6.4 finalNed Deily2017-12-191-0/+8
|
* Update NEWS and pydoc topics.Ned Deily2017-12-05111-265/+1142
|
* Tidy NEWS entry.Ned Deily2017-12-051-10/+2
|
* [3.6] bpo-31380: Skip test_httpservers test_undecodable_file on macOS. ↵Miss Islington (bot)2017-12-051-0/+1
| | | | | | (GH-4720) (#4721) The undecodable file name cannot be created on macOS APFS file systems. (cherry picked from commit b3edde8dd44c878e9f039a2165d00ff075157d4b)
* bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246). (GH-4717)Mariatta2017-12-051-0/+1
| | | (cherry picked from commit 31af650ee25f65794b75d4dfefed6fe4758781c1)
* [3.6] bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (GH-4715) (#4716)Miss Islington (bot)2017-12-051-0/+1
| | | (cherry picked from commit 24e046987b8e34bb4f1f3fd9bd31f1d605e347dc)
* [bpo-28556] Minor fixes for typing module (GH-4710) (#4713)Miss Islington (bot)2017-12-051-0/+3
| | | (cherry picked from commit 29bc19321018ec6e58f9f4da9c18c42e9a9c580e)
* [3.6] bpo-28791: Update macOS installer to use SQLite 3.21.0. (#4245) (#4711)Ned Deily2017-12-051-0/+1
|
* bpo-32207: Improve tk event exception tracebacks in IDLE. (GH-4703) (#4705)Miss Islington (bot)2017-12-041-0/+6
| | | | | | | | When tk event handling is driven by IDLE's run loop, a confusing and distracting queue.EMPTY traceback context is no longer added to tk event exception tracebacks. The traceback is now the same as when event handling is driven by user code. Patch based on a suggestion by Serhiy Storchaka. (cherry picked from commit 1e2fcac4972530aa2c963d7e4011021df5ba866e)
* bpo-27240 Rewrite the email header folding algorithm. (GH-3488) (#4693)Miss Islington (bot)2017-12-041-0/+3
| | | | | | | | | | | | | | | | | | | | | The original algorithm tried to delegate the folding to the tokens so that those tokens whose folding rules differed could specify the differences. However, this resulted in a lot of duplicated code because most of the rules were the same. The new algorithm moves all folding logic into a set of functions external to the token classes, but puts the information about which tokens can be folded in which ways on the tokens...with the exception of mime-parameters, which are a special case (which was not even implemented in the old folder). This algorithm can still probably be improved and hopefully simplified somewhat. Note that some of the test expectations are changed. I believe the changes are toward more desirable and consistent behavior: in general when (re) folding a line the canonical version of the tokens is generated, rather than preserving errors or extra whitespace. (cherry picked from commit 85d5c18c9d83a1d54eecc4c2ad4dce63194107c6)
* [3.6] bpo-32176: Set CO_NOFREE in the code object constructor (GH-4684)Nick Coghlan2017-12-031-0/+5
| | | | | | | | | Previously, CO_NOFREE was set in the compiler, which meant it could end up being set incorrectly when code objects were created directly. Setting it in the constructor based on freevars and cellvars ensures it is always accurate, regardless of how the code object is defined. (cherry picked from commit 078f1814f1a4413a2a0fdb8cf4490ee0fc98ef34)
* bpo-32186: Release the GIL during lseek and fstat (GH-4652) (#4661)Miss Islington (bot)2017-12-011-0/+3
| | | | | | | In _io_FileIO_readall_impl(), lseek() and _Py_fstat_noraise() were called without releasing the GIL. This can cause all threads to hang for unlimited time when calling FileIO.read() and the NFS server is not accessible. (cherry picked from commit 6a89481680b921e7b317c29877bdda9a6031e5ad)
* bpo-20891: Fix PyGILState_Ensure() (#4650) (#4655)Victor Stinner2017-11-301-0/+3
| | | | | | | | | | | | | | | When PyGILState_Ensure() is called in a non-Python thread before PyEval_InitThreads(), only call PyEval_InitThreads() after calling PyThreadState_New() to fix a crash. Add an unit test in test_embed. Enhance also embedded tests, backport from master: * Add test_pre_initialization_api() * Set PYTHONIOENCODING environment variable in test_forced_io_encoding() (cherry picked from commit b4d1e1f7c1af6ae33f0e371576c8bcafedb099db)
* bpo-32072: Fix issues with binary plists. (GH-4455) (#4654)Miss Islington (bot)2017-11-301-0/+6
| | | | | | | * Fixed saving bytearrays. * Identical objects will be saved only once. * Equal references will be load as identical objects. * Added support for saving and loading recursive data structures. (cherry picked from commit a897aeeef647259a938a36cb5eb6680c86021c6a)
* bpo-28416: Break reference cycles in Pickler and Unpickler subclasses ↵Miss Islington (bot)2017-11-301-0/+3
| | | | | | (GH-4080) (#4653) with the persistent_id() and persistent_load() methods. (cherry picked from commit 986375ebde0dd5ff2b7349e445a06bd28a3a8ee2)
* Skip test_socket.test_sha256() on linux < 4.5 (GH-4643) (#4645)Miss Islington (bot)2017-11-301-0/+3
| | | | bpo-31705. (cherry picked from commit 86afc1f2a7fb3afe00779c6426bc141bc795d9a3)
* bpo-32164: Delete unused file idlelib/tabbedpages.py (GH-4628) (#4631)Miss Islington (bot)2017-11-291-0/+2
| | | (cherry picked from commit 041efd292ebff46060fc1680b0608b1d4c876a48)
* bpo-32110: codecs.StreamReader.read(n) now returns not more than n (GH-4499) ↵Miss Islington (bot)2017-11-291-0/+3
| | | | | | | (#4622) characters/bytes for non-negative n. This makes it compatible with read() methods of other file-like objects. (cherry picked from commit 219c2de5ad0fdac825298bed1bb251f16956c04a)
* bpo-29879: Update typing documentation. (GH-4573) (GH-4574)Miss Islington (bot)2017-11-261-1/+1
| | | | | - Add "version added: 3.5.2" note where it was missing. - Remove the mention that Reversible is new in 3.5.2 (cherry picked from commit 0cd2e81bea639828d7c9a7afc61fb1da9699492c)
* bpo-32059: setup.py now also searches the sysroot paths (GH-4452) (#4562)Miss Islington (bot)2017-11-251-0/+2
| | | | | detect_modules() in setup.py now also searches the sysroot paths when cross-compiling. (cherry picked from commit 77f5139954a878b856b0ac4c76486b27b6f4ec26)
* [3.6] bpo-12239: Make GetProperty() return None for VT_EMPTY (GH-4539)Berker Peksag2017-11-241-0/+2
| | | | | | | | | The previous behavior was to raise an exception NotImplementedError: result of type 0 when the value of the property is VT_EMPTY. (cherry picked from commit 19fb134185ce155bc53f517116fca73093ba55e9)
* bpo-12382: Make OpenDatabase() raise better exception messages (GH-4528)Miss Islington (bot)2017-11-241-0/+2
| | | | | | | | | | | Previously, 'msilib.OpenDatabase()' function raised a cryptical exception message when it couldn't open or create an MSI file. For example: Traceback (most recent call last): File "<stdin>", line 1, in <module> _msi.MSIError: unknown error 6e (cherry picked from commit 4864a619dc1cc9092780ccf5a6327e8abf66133d)
* bpo-31325: Fix usage of namedtuple in RobotFileParser.parse() (GH-4529) (#4533)Miss Islington (bot)2017-11-231-0/+5
| | | (cherry picked from commit 3df02dbc8e197053105f9dffeae40b04ec66766e)
* bpo-1102: View.Fetch() now returns None when it's exhausted (GH-4459)Berker Peksag2017-11-231-0/+4
| | | | (cherry picked from commit bdb8315c21825487b54852ff0511fb4881ea2181)
* [3.6] bpo-32100: IDLE: Fix pathbrowser errors; improve tests. (GH-4484) (#4512)Terry Jan Reedy2017-11-231-0/+2
| | | | Patch mostly by Cheryl Sabella. (cherry picked from commit 20d48a44a54ed5e4a6df00e89ae27e3983128265)
* bpo-32105: add asyncio.BaseEventLoop.connect_accepted_socket versionadded to ↵Miss Islington (bot)2017-11-211-0/+1
| | | | | documentation. (GH-4491) (#4493) (cherry picked from commit 431665bf1971e66c51f59abf0693f700ff7919e8)
* bpo-31701: faulthandler: ignore MSC and COM Windows exception (#3929) (#4416)Victor Stinner2017-11-161-0/+1
| | | (cherry picked from commit 6e3d6b5dc22cd06d8c4d44a38a8a3415e4bebb16)
* bpo-32034: Make IncompleteReadError & LimitOverrunError pickleable GH-4409 ↵Miss Islington (bot)2017-11-161-0/+1
| | | | | (#4411) (cherry picked from commit 43605e6bfa8d49612df4a38460d063d6ba781906)
* bpo-32011: Revert "Issue GH-15480: Remove the deprecated and unused ↵Miss Islington (bot)2017-11-151-0/+2
| | | | | | | | TYPE_INT64 code from marshal." (GH-4381) (#4405) Simplify the reverted code. This reverts commit e9bbe8b87ba2874efba0474af5cc7d5941dbf742. (cherry picked from commit 00987f6230fcdbecc8d9ab4b2b9fae8f99a1a4a9)
* [3.6] bpo-31949: Fixed several issues in printing tracebacks ↵Serhiy Storchaka2017-11-151-0/+9
| | | | | | | | | | | | (PyTraceBack_Print()). (GH-4289) (#4406) * Setting sys.tracebacklimit to 0 or less now suppresses printing tracebacks. * Setting sys.tracebacklimit to None now causes using the default limit. * Setting sys.tracebacklimit to an integer larger than LONG_MAX now means using the limit LONG_MAX rather than the default limit. * Fixed integer overflows in the case of more than 2**31 traceback items on Windows. * Fixed output errors handling.. (cherry picked from commit edad8eebeee3c99e324a7f1ac5073167c2b0b54d)
* [3.6] bpo-32015: Asyncio looping during simultaneously socket read/write ↵Andrew Svetlov2017-11-141-0/+2
| | | | | | | | | | | | | | an… (GH-4386) (#4393) * bpo-32015: Asyncio cycling during simultaneously socket read/write and reconnection * Tests fix * Tests fix * News add * Add new unit tests. (cherry picked from commit e1d62e0b7cc842d6b75b4d480391f4a94e503255)
* [3.6] bpo-30696: Fix the REPL looping endlessly when no memory (GH-4160). ↵xdegaye2017-11-121-0/+1
| | | | | (#4379) (cherry picked from commit e0582a37c8d1776a2fd4968e9216f3a05f780276)
* [3.6] bpo-31927: Fix bugs in socketmodule.c on NetBSD and other issues. ↵Serhiy Storchaka2017-11-091-0/+3
| | | | | | | | | (GH-4235) (#4352) * Fix compilation of the socket module on NetBSD 8. * Fix the assertion failure or reading arbitrary data when parse a AF_BLUETOOTH address on NetBSD and DragonFly BSD. * Fix other potential errors and make the code more reliable. (cherry picked from commit d3187158c09cf899e9849f335bdff10594209167)
* [3.6] bpo-31934: Abort when building out of a not clean source tree ↵xdegaye2017-11-081-0/+1
| | | | | (GH-4255). (#4340) (cherry picked from commit 0de92859caf25e65fc968d4bb68626e9ba21b851)
* bpo-31620: have asyncio/queues not leak memory when you've exceptions during ↵Miss Islington (bot)2017-11-071-0/+2
| | | | | waiting (GH-3813) (#4326) (cherry picked from commit c62f0cb3b1f6f9ca4ce463b1c99b0543bdfa38d6)
* [3.6] bpo-31970: Reduce performance overhead of asyncio debug mode. ↵Antoine Pitrou2017-11-071-0/+1
| | | | | | (GH-4314) (#4322) * bpo-31970: Reduce performance overhead of asyncio debug mode.. (cherry picked from commit 921e9432a1461bbf312c9c6dcc2b916be6c05fa0)
* bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Cursor ↵Miss Islington (bot)2017-11-071-0/+2
| | | | | object is uninitialized (GH-3958) (#4303) (cherry picked from commit edb13ae48c17210fa4b2d40a6833ca09db5c121b)
* bpo-31770: Prevent a crash and refleaks when calling ↵Miss Islington (bot)2017-11-071-0/+2
| | | | | sqlite3.Cursor.__init__() more than once (GH-3968) (#4301) (cherry picked from commit e56ab746a965277ffcc4396d8a0902b6e072d049)
* [3.6] bpo-31957: Fixes version detection. (GH-4298) (#4300)Miss Islington (bot)2017-11-061-0/+1
|
* bpo-31609: Fixes quotes in PCbuild/clean.bat (GH-4280) (#4285)Miss Islington (bot)2017-11-051-0/+1
| | | (cherry picked from commit aed08562220974b5c67371b908f23caa1be07e38)
* bpo-31944: Fixes build and Modify button (GH-4278) (#4284)Miss Islington (bot)2017-11-051-0/+1
| | | (cherry picked from commit 0d2a9088d16826343344b04461c8be44b4008710)
* bpo-9678: Fix determining the MAC address in the uuid module. (GH-4264) (#4269)Miss Islington (bot)2017-11-041-0/+6
| | | | | | | * Using ifconfig on NetBSD and OpenBSD. * Using arp on Linux, FreeBSD, NetBSD and OpenBSD. Based on patch by Takayuki Shimizukawa. (cherry picked from commit ee1a9a2b78d5b6bb1a8148fc5fcf365e6d4e9e67)
* bpo-31933: fix blake2 multi-byte params on big endian platforms (GH-4250) ↵Miss Islington (bot)2017-11-031-0/+2
| | | | | | | | | | | | | | | (#4262) All Blake2 params have to be encoded in little-endian byte order. For the two multi-byte integer params, leaf_length and node_offset, that means that assigning a native-endian integer to them appears to work on little-endian platforms, but gives the wrong result on big-endian. The current libb2 API doesn't make that very clear, and @sneves is working on new API functions in the GH issue above. In the meantime, we can work around the problem by explicitly assigning little-endian values to the parameter block. See https://github.com/BLAKE2/libb2/issues/12. (cherry picked from commit dcfb0e3c04f1b29a0d09bb0a81dcd5ee5a5fef1a)
* bpo-30057: Fix potential missed signal in signal.signal(). (GH-4258) (#4261)Miss Islington (bot)2017-11-032-0/+2
| | | | Bug report and patch by Jeroen Demeyer. (cherry picked from commit f6f90ff079a22b79a58d47b6117cc8a8c7d366f3)
* [3.6] bpo-31310: multiprocessing's semaphore tracker should be launched ↵Antoine Pitrou2017-11-031-0/+1
| | | | | | | | | | | again if crashed (GH-3247) (#4254) * bpo-31310: multiprocessing's semaphore tracker should be launched again if crashed * Avoid mucking with process state in test. Add a warning if the semaphore process died, as semaphores may then be leaked. * Add NEWS entry (cherry picked from commit cbe1756)
* [3.6] bpo-31926: fix missing *_METHODDEF statements by argument clinic ↵Tal Einat2017-11-031-0/+2
| | | | | | | | | | | (GH-4230) (#4253) When a single .c file contains several functions and/or methods with the same name, a safety _METHODDEF GH-define statement is generated only for one of them. This fixes the bug by using the full name of the function to avoid duplicates rather than just the name.. (cherry picked from commit 4f57409a2f7bdf8fb559cddc7c6533ca2c471c67)
* [3.6] bpo-31308: If multiprocessing's forkserver dies, launch it again when ↵Antoine Pitrou2017-11-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | necessary (GH-3246) (#4252) * bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary. * Fix test on Windows * Add NEWS entry * Adopt a different approach: ignore SIGINT and SIGTERM, as in semaphore tracker. * Fix comment * Make sure the test doesn't muck with process state * Also test previously-started processes * Update 2017-08-30-17-59-36.bpo-31308.KbexyC.rst * Avoid masking SIGTERM in forkserver. It's not necessary and causes a race condition in test_many_processes.. (cherry picked from commit fc6b348b12ad401cab0261b7b71a65c60a08c0a8)
* bpo-30806: Fix netrc.__repr__() format (GH-2491)Miss Islington (bot)2017-11-031-0/+1
| | | | | | netrc file format doesn't support quotes and escapes. See https://linux.die.net/man/5/netrc (cherry picked from commit b24cd055ecb3eea9a15405a6ca72dafc739e6531)
* bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). ↵Miss Islington (bot)2017-11-011-0/+3
| | | | | (GH-4220) (#4221) (cherry picked from commit 4f469c096628af730b17798d0ebfd8925bfde836)
* bpo-15037: Add a workaround for getkey() in curses for ncurses 5.7 and ↵Miss Islington (bot)2017-11-011-0/+1
| | | | | | | earlier. (GH-3826) (#4218) Skip a test for unget_wch()/get_wch() on OpenBSD since they are broken in ncurses 5.7. (cherry picked from commit 7e68790f3db75a893d5dd336e6201a63bc70212b)