summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (GH-4058) (#4059)Miss Islington (bot)2017-10-205-3/+9
| | | | and in codecs.escape_decode() when decode an escaped non-ascii byte. (cherry picked from commit 56cb465cc93dcb35aaf7266ca3dbe2dcff1fac5f)
* bpo-31632: fix set_protocol() in _SSLProtocolTransport (GH-3817) (GH-3817) ↵Miss Islington (bot)2017-10-194-6/+15
| | | | | (#4052) (cherry picked from commit ea2ef5d0ca869d4550820ed53bdf56013dbb9546)
* bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapters ↵Miss Islington (bot)2017-10-193-7/+21
| | | | | | | | | | | | | | (GH-4044) (GH-4050) This used to be the case on Python 2. Commit 212b590e118e3650b596917021ed9612a918180b changed the implementation for Python 3, making the `log()` method of LogAdapter call `logger._log()` directly. This makes nested log adapters not execute their ``process()`` method. This patch fixes the issue. Also, now proxying `name`, too, to make `repr()` work with nested log adapters. New tests added. (cherry picked from commit ce9e62544571e7ade7186697d5dd065fb4c5243f)
* [3.6] bpo-31457: Make the `LoggerAdapter.manager` property settable ↵Miss Islington (bot)2017-10-193-2/+16
| | | | | | | (GH-4042) (#4043) Due to a bug in the initial fix, the setter was in fact creating a different property. This is now fixed. (cherry picked from commit 0b6a118a45ac2eded1348fea6ed300d5651f7471)
* Update TestCase.assertAlmostEqual and assertNotAlmostEqual docstrings. ↵Miss Islington (bot)2017-10-181-2/+3
| | | | | | | (GH-3998) (GH-4039) The word "difference" from missing the sentence. This clarifies that it compares the difference between the two objects. (cherry picked from commit 032a6480e360427d4f964e31643604fad804ea14)
* [3.6] bpo-31334: Fix timeout in select.poll.poll() (GH-3277) (#4033)Miss Islington (bot)2017-10-184-10/+21
| | | | | | | Always pass -1, or INFTIM where defined, to the poll() system call when a negative timeout is passed to the poll.poll([timeout]) method in the select module. Various OSes throw an error with arbitrary negative values. (cherry picked from commit 6cfa927ceb931ad968b5b03e4a2bffb64a8a0604)
* [3.6] bpo-31806: Use _PyTime_ROUND_TIMEOUT for the timeout argument parsing ↵Miss Islington (bot)2017-10-184-6/+10
| | | | | | | | | in more functions (GH-4026) (#4032) Fix timeout rounding in time.sleep(), threading.Lock.acquire() and socket.socket.settimeout() to round correctly negative timeouts between -1.0 and 0.0. The functions now block waiting for events as expected. Previously, the call was incorrectly non-blocking. (cherry picked from commit 59af94fa61bf90adbe624508e909b5d6ef6e8464)
* [3.6] bpo-31786: Make functions in the select module blocking when timeout ↵Pablo Galindo2017-10-187-18/+78
| | | | | is a small negative value. (GH-4003). (#4022) (cherry picked from commit 2c15b29aea5d6b9c61aa42d2c24a07ff1edb4b46)
* bpo-31676: Fix test_imp.test_load_source() side effect (GH-3871) (GH-3988)Miss Islington (bot)2017-10-181-2/+7
| | | | | test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects. (cherry picked from commit a505ecdc5013cd8f930aacc1ec4fb2afa62d3853)
* [3.6] bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (GH-4025) (#4028)Miss Islington (bot)2017-10-171-0/+39
| | | (cherry picked from commit 27288de0856c6fbe56354adb312ae706ce8bc7de)
* [3.6] bpo-13802: Use non-Latin characters in IDLE's Font settings sample. ↵Miss Islington (bot)2017-10-172-19/+76
| | | | | | | | | | | | (GH-3960) (#4027) Even if one selects a font that defines a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use other fonts that define a character. The expanded example give users of non-Latin characters a better idea of what they might see in the IDLE shell and editors. To make room for the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs help explains a bit about the additions. (cherry picked from commit e2e42274ee5db1acedf57b63943e1f536d7a25bc)
* [3.6] bpo-28603: Fix formatting tracebacks for unhashable exceptions ↵Miss Islington (bot)2017-10-179-9/+114
| | | | | (GH-4014) (#4024) (cherry picked from commit de86073a761cd3539aaca6f886a1f55effc0d9da)
* [3.6] bpo-31799: Make module.__spec__ more discoverable (GH-4010) (#4021)Miss Islington (bot)2017-10-172-3/+12
| | | | bpo-31799: Make module.__spec__ more discoverable (cherry picked from commit 191e3138200906e43cba9347177914325b54843f)
* [3.6] bpo-31792: Restore os.environ in test_buffer when import numpy. ↵Miss Islington (bot)2017-10-161-2/+3
| | | | | (GH-4007) (#4009) (cherry picked from commit 676db4bbf2e7c18dc7c35add17dd3bbdc2d3eeb3)
* [3.6] completly -> completely (GH-3999) (closes bpo-31788) (#4008)Miss Islington (bot)2017-10-151-1/+1
| | | (cherry picked from commit 1295e11d397c6138427296d5f9653a9e7dd69062)
* [3.6] bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides ↵Miss Islington (bot)2017-10-151-1/+1
| | | | | (GH-3993) (cherry picked from commit 1b9e76ed3a055a53ca67397e928e1b408461900b)
* [3.6] bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs ↵Miss Islington (bot)2017-10-151-2/+2
| | | | | | (GH-4002) (#4004) Patch by Pablo. (cherry picked from commit 28773ca7a7aa58a28e42a9eb0066acf71b5a8dc4)
* [3.6] bpo-25588: Document autotest in idle_test/README.txt. (GH-4000) (#4001)Terry Jan Reedy2017-10-151-1/+10
| | | | Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell. (cherry picked from commit 620f70e)
* [3.6] bpo-31714: Improved regular expression documentation. (GH-3907). (#3994)Serhiy Storchaka2017-10-142-183/+224
| | | (cherry picked from commit cd195e2a7ac5c9b2574d5462752b7939641de4a9)
* bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers ↵INADA Naoki2017-10-144-3/+25
| | | | | | | | | | | | (GH-3872) Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters. Straightforward solution for this is using `IGNORECASE | ASCII` flag. But users may subclass `Template` and override only `idpattern`. So we want to avoid changing `Template.flags`. So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`. (cherry picked from commit b22273ec5d1992b0cbe078b887427ae9977dfb78)
* [3.6] bpo-25588: Fix regrtest when run inside IDLE (GH-3962) (#3987)Miss Islington (bot)2017-10-131-12/+31
| | | | | | | | When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case. (cherry picked from commit ccef823939d4ef602f2d8d13d0bfec29eda597a5)
* [3.6] Improve test suite customization example (GH-3967)Miss Islington (bot)2017-10-131-2/+6
| | | | | | Reported by John Gamboa on docs@p.o at https://mail.python.org/pipermail/docs/2017-June/031942.html (cherry picked from commit 925510449984399cf58711843ddfe2e8007c3878)
* Exclude non-default VENVDIR in Doc builds (#3974) (#3975)Ned Deily2017-10-121-1/+2
|
* [3.6] bpo-30058: Fixed buffer overflow in select.kqueue.control(). (GH-1095) ↵Miss Islington (bot)2017-10-123-16/+38
| | | | | (#3973) (cherry picked from commit de072100775cc29e6cd93a75466cecbd1086f258)
* bpo-31766: restore 3.5 to docs version switchers (#3970)Ned Deily2017-10-122-1/+3
|
* [3.6] bpo-31567: add or fix decorator markup in docs (GH-3959) (GH-3966)Miss Islington (bot)2017-10-126-15/+24
| | | (cherry picked from commit 0e61e67a57deb4abc677808201d7cf3c38138e02)
* bpo-28647: Update -u documentation (GH-3954)Berker Peksag2017-10-111-2/+2
| | | | | | * stdout and stderr are always opened in text mode * and they are line-buffered Initial patch by Gareth Rees.
* [3.6] bpo-28157: Improvements for the time module documentation (GH-928)Miss Islington (bot)2017-10-112-109/+116
| | | | | | | * Separated functions and constants descriptions in sections. * Added a note about the limitations of timezone constants. * Removed redundant lists from the module docstring. (cherry picked from commit 703ff381ffa946c23e7e25b0ae93a636a2607a40)
* bpo-31537: Update readline documentation example. (GH-3925) (GH-3948)Miss Islington (bot)2017-10-102-2/+4
| | | | Change the code example from using `get_history_length` to `get_current_history_length`. (cherry picked from commit eeb5ffd54e56dd89a99c74eb512c36d62649cfec)
* [3.6] bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of ↵Miss Islington (bot)2017-10-103-34/+62
| | | | | Element.text and Element.tail (GH-3924) (#3945) (cherry picked from commit 39ecb9c71b6e55d8a61a710d0144231bd88f9ada)
* Allow configure to handle PATH elements with spaces (#3935) (#3937)Ned Deily2017-10-092-8/+8
| | | Fix some tests in ./configure for determining macOS compiler choices that could fail if a $PATH element contained spaces.
* [3.6] bpo-31642: Restore blocking "from" import by setting None in ↵Serhiy Storchaka2017-10-084-239/+259
| | | | | sys.modules. (GH-3834). (#3923) (cherry picked from commit f07e2b64df6304a36fb5e29397d3c77a7ba17704)
* [3.6] bpo-31724: Skip test_xmlrpc_net (GH-3922)Miss Islington (bot)2017-10-081-0/+2
| | | | | | | With the upgrade of buildbot.python.org from Buildbot 0.8.x to 0.9.x, the xmlrpc interface has been removed. This test is now skipped until it can be rewritten to query a suitable substitute. (cherry picked from commit 73ffd3f2036179ed54591ef0455e5ba5694ae5bd)
* [3.6] bpo-31655: Validate keyword names in SimpleNamespace constructor. ↵Miss Islington (bot)2017-10-072-1/+7
| | | | | (GH-3909) (#3920) (cherry picked from commit 79ba471488b936abda5ba5234b1ea90cbc94cae6)
* bpo-31720: msilib documentation, change MsiError into MSIError (GH-3914) ↵Miss Islington (bot)2017-10-071-1/+1
| | | | | (GH-3917) (cherry picked from commit 28f713601d3ec80820e842dcb25a234093f1ff18)
* bpo-31507 Add docstring to parseaddr function in email.utils.parseaddr ↵Rohit Balasubramanian2017-10-071-0/+6
| | | | | (GH-3647) (GH-3733) (cherry picked from commit 9e7b9b21fe45f7d93eaf9382fedfa18247d0d2b2)
* [3.6] bpo-31523: Reliability improvements to the Windows build files ↵Miss Islington (bot)2017-10-055-27/+56
| | | | | (GH-3900) (#3902) (cherry picked from commit 2084b30e540d88b9fc752c5bdcc2f24334af4f2b)
* [3.6] remove tabs from getcompiler.c (GH-3892) (#3893)Miss Islington (bot)2017-10-051-1/+1
| | | (cherry picked from commit a8ed11742b4c2115597977ce04fa8e043d9e0792)
* [3.6] bpo-31178: Mock os.waitpid() in test_subprocess (GH-3896) (#3897)3.6Miss Islington (bot)2017-10-051-4/+8
| | | | | | | Fix test_exception_errpipe_bad_data() and test_exception_errpipe_normal() of test_subprocess: mock os.waitpid() to avoid calling the real os.waitpid(0, 0) which is an unexpected side effect of the test. (cherry picked from commit 11045c9d8a21dd9bd182a3939189db02815f9783)
* [3.6] bpo-30872: Update the curses docs to Python 3. (GH-2620) (#3887)Serhiy Storchaka2017-10-053-109/+115
| | | (cherry picked from commit 300dd552b15825abfe0e367ac14cec4c3e050dbc)
* [3.6] bpo-31667: Fix gettext related links. (GH-3860) (#3886)Miss Islington (bot)2017-10-042-9/+15
| | | | | | | * Fix incorrect links. * Remove redundant links. * Add signatures and index entries for gettext related functions in the locale module. (cherry picked from commit c02a1f4ad8fcdbffad2911c5a31c71a17a89d713)
* Remove retired and security branches from active docs (#3880)Ned Deily2017-10-042-4/+0
|
* [3.6] bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and ↵Miss Islington (bot)2017-10-033-23/+45
| | | | | | | | split() (GH-3866) (#3874) when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests. (cherry picked from commit 27c623c845dd6e4b8e1782666ca3a956636da266)
* [3.6] bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo(). ↵Serhiy Storchaka2017-10-033-13/+14
| | | | | (GH-3864). (#3873) (cherry picked from commit 929b40a601db868530d6beaafb3256822103a7fb)
* [3.6] bpo-31619: Fixed a ValueError when convert a string with large number ↵Miss Islington (bot)2017-10-033-4/+14
| | | | | | of underscores (GH-3827) (#3863) to integer with binary base. (cherry picked from commit 85c0b8941f0c8ef3ed787c9d504712c6ad3eb5d3)
* Bump version to 3.6.3+Ned Deily2017-10-031-1/+1
|
* Merge v3.6.3 into 3.6 branchNed Deily2017-10-034-7/+35
|\
| * Bump to 3.6.3v3.6.3Ned Deily2017-10-033-7/+8
| |
| * Update NEWS blurbs for 3.6.3 finalNed Deily2017-10-034-5/+27
| |
| * Improve/fix some Misc/NEWS entriesNed Deily2017-10-033-3/+3
| |