Martin Panter
3e5b1d3cf5
Issue #23943 : Restore extra fixes lost in merge 4fb2075952a4
2016-07-28 03:48:29 +00:00
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
...
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Martin Panter
eac67be948
Issue #27490 : Do not build pgen when cross-compiling
...
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
2016-07-28 01:28:27 +00:00
Victor Stinner
e33797b686
ctypes: fix CThunkObject_new()
...
* Initialize restype and flags fields to fix a crash when Python runs on a
read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
initialized
Issue #11048 . Initial patch written by Marcin Bachry.
2016-07-27 16:58:47 +02:00
Berker Peksag
25539b089f
Issue #27633 : Fix usage of versionchanged directive in email.parser.rst
...
Patch by Florian Preinstorfer.
2016-07-27 13:32:54 +03:00
Xavier de Gaye
fd0d5939bd
Issue #26662 : Set PYTHON_FOR_GEN in configure
...
as the Python program to be used for file generation during the build.
2016-07-26 12:48:08 +02:00
Martin Panter
254da19d0e
Issue #26638 : Don’t link 2to3 -l option to the tarfile -l option
2016-07-26 06:46:06 +00:00
Martin Panter
e8db861f47
Issue #27581 : Don’t rely on overflow wrapping in PySequence_Tuple()
...
Patch by Xiang Zhang.
2016-07-25 02:30:05 +00:00
Berker Peksag
aa46bd461c
Issue #27601 : Improve example in the "Hashing of numeric types" section
...
* Fix return value of hash_compute() implementation
* Rename variable names to hash_value to improve readability
Patch by Emanuel Barry.
2016-07-25 04:55:51 +03:00
Steve Dower
6ed63f31e9
Fixes default intermediate directory when building on Windows.
2016-07-24 18:03:22 -07:00
Steve Dower
df450d1a18
Issue #27469 : Adds a shell extension to the launcher so that drag and drop works correctly.
2016-07-16 16:17:33 -07:00
Berker Peksag
5f804e387e
Issue #13849 : Fix test_null_bytes under Windows
2016-07-23 08:42:41 +03:00
Berker Peksag
9adc1a38bd
Issue #13849 : Add tests for null byte checking in test_genericpath
2016-07-23 07:31:47 +03:00
Berker Peksag
1fd497ed91
Issue #27591 : Set sigint_event to NULL if _PyOS_IsMainThread() returns false
...
Patch by Chris Angelico.
2016-07-23 07:13:14 +03:00
Martin Panter
84544c1020
Issue #27130 : Fix handling of buffers exceeding UINT_MAX in “zlib” module
...
Patch by Xiang Zhang.
2016-07-23 03:02:07 +00:00
Victor Stinner
524714eeda
socket: use INVALID_SOCKET
...
* Replace "fd = -1" with "fd = INVALID_SOCKET"
* Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
2016-07-22 17:43:59 +02:00
Victor Stinner
0cec877230
socket: Fix internal_select()
...
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
2016-07-22 17:26:53 +02:00
Zachary Ware
48e3f98206
Issue #25393 : Fix probable copy/paste error in resource docs
...
Patch by Alakshendra Yadav.
2016-07-19 16:41:20 -05:00
Martin Panter
221945056d
Issue #27528 : Document and test warning messages must match at beginning
2016-07-19 02:26:38 +00:00
Martin Panter
95f53c13ce
Issue #16191 : Fix up references to renamed variables
2016-07-18 08:23:26 +00:00
Martin Panter
371731ebfd
Issue #27507 : Check for integer overflow in bytearray.extend()
...
Patch by Xiang Zhang.
2016-07-18 07:53:13 +00:00
Steve Dower
5852fa3f72
Removes unused files from PC folder.
2016-07-17 21:58:01 -07:00
Steve Dower
25f9cf479f
Issue #27309 : Enables proper Windows styles in python[w].exe manifest.
2016-07-17 21:39:13 -07:00
Steve Dower
b22a67737e
Issue #27533 : Release GIL in nt._isdir
2016-07-17 20:49:38 -07:00
Steve Dower
bc3e9cac7c
Closes #27545 : Remove pyshellext.vcxproj from pcbuild.proj
2016-07-17 20:45:29 -07:00
Berker Peksag
ebf9fd31a8
Issue #27531 : Update signature of Mock.assert_not_called method
...
Since 01ae1ac2daf4, it doesn't accept any arguments.
Patch by Michael Killough.
2016-07-17 15:26:46 +03:00
Stefan Krah
8c126f17f0
Issue #26974 : Fix segfault in the presence of absurd subclassing. Proactively
...
eliminate all internal uses of overridden methods.
2016-07-17 14:01:42 +02:00
Serhiy Storchaka
80ab069f1b
Issue #27419 : Added temporary workaround for subinterpreters.
2016-07-17 14:15:28 +03:00
Serhiy Storchaka
6c2f1fd710
Issues #23147 , #23148 : Presumably fixed bugs in folding UnstructuredTokenList.
2016-07-17 13:25:15 +03:00
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