Commit Graph

94791 Commits

Author SHA1 Message Date
Serhiy Storchaka b3b65e618c Issue #27419: Standard __import__() no longer look up "__import__" in globals
or builtins for importing submodules or "from import".  Fixed handling an
error of non-string package name.
2016-07-17 12:47:17 +03:00
Serhiy Storchaka dec25afab1 Issue #17711: Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.
2016-07-17 11:24:17 +03:00
Steve Dower 6fd76bceda Fixes use of Py_IntDir and Py_OutDir to control build directories. 2016-07-16 16:13:19 -07:00
Terry Jan Reedy ff1d5ab16e Issue #25507: IDLE no longer runs buggy code because of its tkinter imports.
Users must include the same imports required to run directly in Python.
2016-07-16 18:26:32 -04:00
Brett Cannon 7ca63cb7cc Fix regressions introduced by fixes for issue #27083. 2016-07-16 10:44:13 -07:00
R David Murray 702b0460d2 #27522: break unintended cycle in feedparser.
Patch by Costas.
2016-07-15 21:29:13 -04:00
Brett Cannon 9305bba203 Issue #26696: Document collections.abc.ByteString.
Thanks to Xiang Zhang for the patch.
2016-07-15 12:16:18 -07:00
Steve Dower b7567c587d Fix building tcl/tk with only the VC build tools installed. 2016-07-15 11:55:52 -07:00
Brett Cannon a47a7a5bf8 Issue #27083: Respect the PYTHONCASEOK environment variable under
Windows.

Originally only b'PYTHONCASEOK' was being checked for in os.environ,
but that won't work under Windows where all environment variables are
strings (on OS X they are bytes).

Thanks to Eryk Sun for the bug report.
2016-07-15 11:54:38 -07:00
Brett Cannon f76457e122 Issue #26844: Fix imp.find_module() to have the exception related to
type issues be about 'path' instead of 'name'.

Thanks to Lev Maximov for the patch.
2016-07-15 10:58:54 -07:00
Berker Peksag 5d9c7ed55a Issue #27518: Fix typo in Grammar/Grammar
Patch by Stéphane Wirtel.
2016-07-15 16:12:39 +03:00
Benjamin Peterson e09ed5419b make too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)
Patch by Ammar Askar.
2016-07-14 22:00:03 -07:00
Berker Peksag 2b8792137b Issue #27180: Clarify Path.rename() behavior on Unix systems
Patch by Evelyn Mitchell.
2016-07-14 07:44:59 +03:00
Berker Peksag 3093bf163b Issue #27455: Improve examples in tkinter documentation
Patch by John Hagen.
2016-07-14 07:32:43 +03:00
Martin Panter c29df658a7 Issue #27369: Merge test_pyexpat from 3.4 into 3.5 2016-07-14 03:35:15 +00:00
Steve Dower 945863a691 Fixes build order and lingering intermediate files. 2016-07-13 19:58:21 -07:00
Martin Panter b7b5d35545 Issue #27369: Merge test_pyexpat from 3.3 into 3.4 2016-07-14 02:09:17 +00:00
Martin Panter d27a7c1f22 Issue #27369: Merge test_pyexpat from 3.2 into 3.3 2016-07-14 01:42:53 +00:00
Martin Panter 076ca6c3c8 Issue #27369: Don’t test error message detail that changed in Expat 2.2.0 2016-07-14 01:31:46 +00:00
Martin Panter 2cdcaf1353 Issue #22758: Move NEWS entry to Library section 2016-07-14 01:17:03 +00:00
Yury Selivanov 252e9ed974 Issue #27392: Add loop.connect_accepted_socket().
Patch by Jim Fulton.
2016-07-12 18:23:10 -04:00
Serhiy Storchaka 6f379f4886 Issue #27481: Docummented that ValueError is now raised instead of TypeError
in case of embedded null characters/bytes.  Patch by Xiang Zhang.
2016-07-12 09:14:15 +03:00
Martin Panter 204bf0b9ae English spelling and grammar fixes 2016-07-11 07:51:37 +00:00
Martin Panter 0ca0edee33 Restore NEWS entries lost in revision 8145f25f26aa 2016-07-11 12:43:38 +00:00
Martin Panter bed7f1a512 Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOF 2016-07-11 00:17:13 +00:00
Serhiy Storchaka c95300aceb Merge heads 2016-07-10 21:34:05 +03:00
R David Murray 2a8c7cac78 #22758 null merge 2016-07-10 14:11:36 -04:00
R David Murray 8cf14964c6 #22758 null merge 2016-07-10 14:10:56 -04:00
R David Murray e3638944a9 #22758 null merge 2016-07-10 14:10:08 -04:00
R David Murray 7a139c50db #26176: fix usage of Address constructor in email examples.
Patch by Nathan Harold.
2016-07-10 13:59:01 -04:00
Serhiy Storchaka 06cfb0cd70 Issue #27473: Fixed possible integer overflow in bytes and bytearray
concatenations.  Patch by Xiang Zhang.
2016-07-10 20:48:43 +03:00
R David Murray 5f21f43af7 #22758: fix regression in handling of secure cookies.
This backports the fix from #16611, per discussion with the release
manager.
2016-07-10 13:32:43 -04:00
R David Murray 537ad7ad9f #20647: Update dictobject.c comments to account for randomized string hashes.
Patch by Jaysinh Shukla.
2016-07-10 12:33:18 -04:00
Senthil Kumaran d5b47fb8ce Issue #27466: Change time format returned by http.cookie.time2netscape,
confirming the netscape cookie format.
2016-07-10 06:45:38 -07:00
Serhiy Storchaka 1a2b24f02d Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic.  Patch by Petr Viktorin.
2016-07-07 17:35:15 +03:00
Benjamin Peterson b8a2f51ceb assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557) 2016-07-06 23:55:15 -07:00
Benjamin Peterson 27007dccec fix refleaks in PyDict_SetItem error cases (closes #27248) 2016-07-06 23:26:32 -07:00
Donald Stufft a1fc45ae73 Fix a test with the new upload URL 2016-07-06 17:46:37 -04:00
Benjamin Peterson 1af8b63447 merge 3.4 2016-07-06 14:04:29 -07:00
Benjamin Peterson ede9a0ffa2 merge 3.3 2016-07-06 14:04:11 -07:00
Benjamin Peterson 9409b4aa8f merge 3.4 2016-07-06 14:00:38 -07:00
Donald Stufft ad04a85aff Switch to the new upload url for PyPI 2016-07-06 16:18:39 -04:00
Donald Stufft 188c118ba5 Switch to the new upload url for PyPI 2016-07-06 15:27:35 -04:00
Terry Jan Reedy 2279aeb282 Issue #27452: add line counter and crc to IDLE configHandler test dump. 2016-07-05 20:09:53 -04:00
Berker Peksag e75ffa965b Add versionadded to PyDict_SetDefault documentation
It was added for Python 3.4 in a0b750ea3397.
2016-07-05 17:08:29 +03:00
Serhiy Storchaka a793037d80 Issue #19527: Fixed tests with defined COUNT_ALLOCS. 2016-07-03 22:27:26 +03:00
Serhiy Storchaka af65872da2 Issue #27443: __length_hint__() of bytearray itearator no longer return
negative integer for resized bytearray.
2016-07-03 14:41:36 +03:00
Berker Peksag 8faca61fec Issue #27431: Update default protocol version in shelve.Shelf() documentation
shelve.open() documentation was updated in f351fb7ea179.
2016-07-01 12:33:00 +03:00
Berker Peksag e39682b076 Issue #27430: Fix typos, patch by scop. 2016-07-01 12:17:05 +03:00
Brett Cannon 660c8fc997 Issue #26665: Remove mis-use of ``$`` in activate.fish.
This is a revertion of cfc66e37eb8e.

Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang
Zhang, and Dan McCombs for diagnosing the issue.
2016-06-30 11:41:55 -07:00