Antoine Pitrou
cc23154d02
Issue #22335 : Fix crash when trying to enlarge a bytearray to 0x7fffffff bytes on a 32-bit platform.
2014-11-02 18:40:09 +01:00
Zachary Ware
740e1dcdc2
Issue #17896 : Move Windows external lib sources from .. to externals.
2014-11-01 22:48:24 -05:00
Zachary Ware
4b2b1de0bd
Issue #17896 : Move Windows external lib sources from .. to externals.
2014-11-01 22:39:21 -05:00
Ned Deily
048345d417
Issue #22770 : merge from 3.4
2014-11-01 19:33:25 -07:00
Ned Deily
91f01e175a
Issue #22770 : Prevent some Tk segfaults on OS X when running gui tests.
...
When running tests in subprocesses with the regrtest -j option, a bug
in Cocoa Tk can result in a Tcl segfault. Avoid the problem by forcing
Tk to fully initialize as an OS X gui process before destroying the
Tcl instance and creating another. (Original patch by Serhiy Storchaka)
2014-11-01 19:29:22 -07:00
Zachary Ware
e470d092cb
Issue #17717 : Pull NASM from svn.python.org for OpenSSL build.
2014-11-01 18:42:46 -05:00
Zachary Ware
aa3ea7ee78
Issue #17717 : Pull NASM from svn.python.org for OpenSSL build.
2014-11-01 17:11:08 -05:00
Vinay Sajip
1be0c61882
Closes #22776 : Merged fix from 3.4.
2014-11-01 20:00:56 +00:00
Vinay Sajip
c33a0cc61e
Brought excluded code into the scope of a try block in SysLogHandler.emit().
2014-11-01 19:58:47 +00:00
Berker Peksag
8912270629
Issue #22665 : Add missing get_terminal_size and SameFileError to shutil.__all__.
2014-11-01 11:05:36 +02:00
Berker Peksag
8083cd6c3b
Issue #22665 : Add missing get_terminal_size and SameFileError to shutil.__all__.
2014-11-01 11:04:06 +02:00
Berker Peksag
8f791d358b
Issue #6623 : Remove deprecated Netrc class in the ftplib module.
...
Patch by Matt Chaput.
2014-11-01 10:45:57 +02:00
Serhiy Storchaka
b1847e7541
Issue #17381 : Fixed handling of case-insensitive ranges in regular expressions.
2014-10-31 12:37:50 +02:00
Serhiy Storchaka
4b8f8949b4
Issue #17381 : Fixed handling of case-insensitive ranges in regular expressions.
...
Added new opcode RANGE_IGNORE.
2014-10-31 12:36:56 +02:00
Serhiy Storchaka
d9b8dc272a
Merge heads
2014-10-31 00:57:57 +02:00
Serhiy Storchaka
7cc0a1f7cb
Issue #22410 : Module level functions in the re module now cache compiled
...
locale-dependent regular expressions taking into account the locale.
2014-10-31 00:56:45 +02:00
Serhiy Storchaka
4659cc0756
Issue #22410 : Module level functions in the re module now cache compiled
...
locale-dependent regular expressions taking into account the locale.
2014-10-31 00:53:49 +02:00
Antoine Pitrou
c689101a5e
Issue #22759 : Query methods on pathlib.Path() (exists(), is_dir(), etc.) now return False when the underlying stat call raises NotADirectoryError.
2014-10-30 23:15:25 +01:00
Antoine Pitrou
2b2852b1b4
Issue #22759 : Query methods on pathlib.Path() (exists(), is_dir(), etc.) now return False when the underlying stat call raises NotADirectoryError.
2014-10-30 23:14:03 +01:00
Antoine Pitrou
aea7f4a8e2
Issue #8876 : distutils now falls back to copying files when hard linking doesn't work.
...
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:38:33 +01:00
Antoine Pitrou
ed14c86fac
Issue #8876 : distutils now falls back to copying files when hard linking doesn't work.
...
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:37:07 +01:00
Serhiy Storchaka
51a43703af
Issue #22217 : Implemented reprs of classes in the zipfile module.
2014-10-29 22:42:06 +02:00
Robert Collins
659dd625b4
Close #7559 : ImportError when loading a test now shown as ImportError.
...
Previously the ImportError was only shown if the top level containing
package failed to import, with other ImportErrors showing up as
AttributeError - hiding the real cause. As part of this,
`TestLoader.loadTestsFromNames` now captures errors to self.errors.
2014-10-30 08:27:27 +13:00
Zachary Ware
3b6bd64520
Merge two Tests sections of the current NEWS.
2014-10-29 12:29:36 -05:00
Zachary Ware
0f26a3a8c9
Closes #22173 : Merge with 3.4
2014-10-29 12:28:13 -05:00
Zachary Ware
2acbae8016
Issue #22173 : Update lib2to3 tests to use unittest test discovery.
2014-10-29 12:24:59 -05:00
Antoine Pitrou
be8d06f523
Issue #18216 : gettext now raises an error when a .mo file has an unsupported major version number. Patch by Aaron Hill.
2014-10-28 20:17:51 +01:00
Antoine Pitrou
b64bca9852
Issue #13918 : Provide a locale.delocalize() function which can remove
...
locale-specific number formatting from a string representing a number,
without then converting it to a specific type. Patch by Cédric Krier.
2014-10-23 22:52:31 +02:00
Antoine Pitrou
fce60eaf15
Issue #22676 : Make the pickling of global objects which don't have a __module__ attribute less slow.
2014-10-23 22:47:50 +02:00
Victor Stinner
f427a14156
Issue #22592 : Drop support of the Borland C compiler to build Python
...
The distutils module still supports it to build extensions.
2014-10-22 12:33:23 +02:00
Robert Collins
f920c2122b
Close #19746 : expose unittest discovery errors on TestLoader.errors
...
This makes it possible to examine the errors from unittest discovery
without executing the test suite - important when the test suite may
be very large, or when enumerating the test ids from a test suite.
2014-10-20 13:24:05 +13:00
Robert Collins
933430ab69
Issue #17401 : document closefd in io.FileIO docs and add to repr
...
closefd was documented in the open docs but not the matching FileIO
class documented. Further, closefd, part of the core state for the
object was not shown.
In review it was noted that the open docs are a little confusing about
the interaction between closefd and paths, so tweaked them at the same
time.
2014-10-18 13:32:43 +13:00
R David Murray
d20ec1b921
Merge: #18853 : Fix resource warning in shlex's __main__ section.
2014-10-17 20:30:16 -04:00
R David Murray
838f2c437d
#18853 : Fix resource warning in shlex's __main__ section.
...
Report and original fix by Vajrasky Kok.
2014-10-17 20:28:47 -04:00
R David Murray
afce02ed38
Merge: #9351 : set_defaults on subparser is no longer ignored if set on parent.
2014-10-17 19:58:03 -04:00
R David Murray
7570cbdc6b
#9351 : set_defaults on subparser is no longer ignored if set on parent.
...
Before, if a default was set on the parent parser, any default for that
variable set via set_defaults on a subparser would be ignored. Now
the subparser set_defaults is honored.
Patch by Jyrki Pullianinen.
2014-10-17 19:55:11 -04:00
R David Murray
d2ff243b38
Merge: #21991 : make headerregistry params property MappingProxyType.
2014-10-17 19:32:08 -04:00
R David Murray
685b3495e1
#21991 : make headerregistry params property MappingProxyType.
...
It is unlikely anyone is using the fact that the dictionary returned
by the 'params' attribute was previously writable, but even if someone
is the API is provisional so this kind of change is acceptable (and
needed, to get the API "right" before it becomes official).
Patch by Stéphane Wirtel.
2014-10-17 19:30:13 -04:00
Antoine Pitrou
bc92bbd4d2
Issue #22653 : Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode.
2014-10-18 00:35:44 +02:00
Antoine Pitrou
d696732025
Issue #22653 : Fix an assertion failure in debug mode when doing a reentrant dict insertion in debug mode.
2014-10-18 00:35:00 +02:00
Zachary Ware
4dc7278546
Issue #22644 : Update the Windows build to OpenSSL 1.0.1j
2014-10-17 16:31:57 -05:00
Zachary Ware
baa6d3a01f
Issue #22644 : Update the Windows build to OpenSSL 1.0.1j
2014-10-17 16:26:30 -05:00
Zachary Ware
459c36490f
Issue #16000 : Convert test_curses to use unittest
2014-10-17 14:10:51 -05:00
Zachary Ware
baf45c590c
Issue #16000 : Convert test_curses to use unittest
2014-10-17 13:59:18 -05:00
Antoine Pitrou
a21de3d45e
Issue #22638 : SSLv3 is now disabled throughout the standard library.
...
It can still be enabled by instantiating a SSLContext manually.
2014-10-17 19:28:30 +02:00
Antoine Pitrou
e4eda4d33f
Issue #22638 : SSLv3 is now disabled throughout the standard library.
...
It can still be enabled by instantiating a SSLContext manually.
2014-10-17 19:28:30 +02:00
Benjamin Peterson
6925264334
merge 3.4 ( #22643 )
2014-10-15 11:49:15 -04:00
Benjamin Peterson
1cbb3fe775
merge 3.3 ( #22643 )
2014-10-15 11:48:41 -04:00
Benjamin Peterson
e1bd38c03c
fix integer overflow in unicode case operations ( closes #22643 )
2014-10-15 11:47:36 -04:00
Antoine Pitrou
94522ebe38
Issue #22641 : In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.
2014-10-15 16:59:58 +02:00
Antoine Pitrou
fd39a89e0e
Issue #22641 : In asyncio, the default SSL context for client connections is now created using ssl.create_default_context(), for stronger security.
2014-10-15 16:58:21 +02:00
Berker Peksag
6554b86b1f
Issue #21338 : Add silent mode for compileall.
...
quiet parameters of compile_{dir, file, path} functions now have
a multilevel value.
Also, -q option of the CLI now have a multilevel value.
Patch by Thomas Kluyver.
2014-10-15 11:10:57 +03:00
Brett Cannon
b0fc490307
Issue #20152 : Convert the cmath module to Argument Clinic.
2014-10-14 17:37:02 -04:00
Charles-François Natali
98c745a773
Issue #18643 : Add socket.socketpair() on Windows.
2014-10-14 21:22:44 +01:00
Charles-François Natali
4fa7a9fd1a
Merge.
2014-10-13 19:32:38 +01:00
Charles-François Natali
acbf5235b8
Issue #22435 : Fix a file descriptor leak when SocketServer bind fails.
2014-10-13 19:28:50 +01:00
Antoine Pitrou
0373a106a1
Issue #17636 : Circular imports involving relative imports are now supported.
2014-10-13 20:19:45 +02:00
Charles-François Natali
0f4f048fa5
Issue #22435 : Fix a file descriptor leak when SocketServer bind fails.
2014-10-13 19:19:26 +01:00
Larry Hastings
dfbeb160de
Issue #22615 : Argument Clinic now supports the "type" argument for the
...
int converter. This permits using the int converter with enums and
typedefs.
2014-10-13 10:39:41 +01:00
R David Murray
9755174464
Merge: #13096 : Fix segfault in CTypes POINTER handling of large values.
2014-10-12 13:56:37 -04:00
R David Murray
817905b239
#13096 : Fix segfault in CTypes POINTER handling of large values.
...
Patch by Meador Inge.
2014-10-12 13:54:48 -04:00
Georg Brandl
b3ac84322f
#16040 : fix unlimited read from connection in nntplib.
2014-10-12 08:50:11 +02:00
Antoine Pitrou
759920c5cb
Issue #22604 : Fix assertion error in debug mode when dividing a complex number by (nan+0j).
2014-10-10 23:51:04 +02:00
Antoine Pitrou
9086f9260f
Issue #22604 : Fix assertion error in debug mode when dividing a complex number by (nan+0j).
2014-10-10 23:49:32 +02:00
Brett Cannon
1eb32c2045
Issue #20152 : Port the array module to Argument Clinic.
2014-10-10 16:26:45 -04:00
Petri Lehtinen
221439dd61
#11694 : merge with 3.4
2014-10-10 21:29:43 +03:00
Petri Lehtinen
3894b2a24f
Issue #11694 : Raise ConversionError in xdrlib as documented
2014-10-10 21:21:52 +03:00
Brett Cannon
5e8b04eefb
Issue #21052 : Don't raise ImportWarning for sys.meta_path or
...
sys.path_hooks when set to None during interpreter shutdown.
Thanks to Martin Panter for the initial bug report.
2014-10-10 10:54:28 -04:00
Berker Peksag
8ee1513ada
Issue #21456 : Skip two tests in test_urllib2net.py if _ssl module not present.
...
Patch by Remi Pointel.
2014-10-10 14:35:51 +03:00
Berker Peksag
b77983d2bd
Issue #21456 : Skip two tests in test_urllib2net.py if _ssl module not present.
...
Patch by Remi Pointel.
2014-10-10 14:34:16 +03:00
Serhiy Storchaka
e2ccf5608c
Issue #19380 : Optimized parsing of regular expressions.
2014-10-10 11:14:49 +03:00
Serhiy Storchaka
7438e4b56f
Issue 1519638: Now unmatched groups are replaced with empty strings in re.sub()
...
and re.subn().
2014-10-10 11:06:31 +03:00
R David Murray
4487dd0ed5
#18615 : Make sndhdr return namedtuples.
...
Patch by Claudiu Popa.
2014-10-09 16:59:30 -04:00
Antoine Pitrou
94262ebc9c
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
...
Initial patch by Mark Shannon.
2014-10-08 20:02:40 +02:00
Antoine Pitrou
0ddbf4795f
Issue #22462 : Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks.
...
Initial patch by Mark Shannon.
2014-10-08 20:00:09 +02:00
Larry Hastings
2ce95d7b7c
Merge from 3.4.2 release head back into 3.4 mainline.
2014-10-08 02:50:50 -07:00
Larry Hastings
adeb140cb3
Post-release changes after 3.4.2 final.
2014-10-08 02:40:43 -07:00
Antoine Pitrou
b1fdf47ff5
Issue #21965 : Add support for in-memory SSL to the ssl module.
...
Patch by Geert Jansen.
2014-10-05 20:41:53 +02:00
Antoine Pitrou
414e15a88d
Closes #21173 : Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive.
2014-10-05 20:04:06 +02:00
Antoine Pitrou
1bf974dc6e
Closes #21173 : Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive.
2014-10-05 20:02:28 +02:00
R David Murray
861470c836
#16518 : Bring error messages in harmony with docs ("bytes-like object")
...
Some time ago we changed the docs to consistently use the term 'bytes-like
object' in all the contexts where bytes, bytearray, memoryview, etc are used.
This patch (by Ezio Melotti) completes that work by changing the error
messages that previously reported that certain types did "not support the
buffer interface" to instead say that a bytes-like object is required. (The
glossary entry for bytes-like object references the discussion of the buffer
protocol in the docs.)
2014-10-05 11:47:01 -04:00
R David Murray
f5387c0d6d
Merge: #11866 : Eliminate race condition in the computation of names for new threads.
2014-10-04 17:45:15 -04:00
R David Murray
b186f1df41
#11866 : Eliminate race condition in the computation of names for new threads.
...
Original patch by Peter Saveliev.
2014-10-04 17:43:54 -04:00
Antoine Pitrou
5f6a7556bf
Issue #21905 : Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
...
Patch by Olivier Grisel.
2014-10-04 22:17:26 +02:00
Antoine Pitrou
190517551b
Add NEWS entry I forgot to commit.
2014-10-04 22:16:14 +02:00
Antoine Pitrou
e1618491ad
Issue #21905 : Avoid RuntimeError in pickle.whichmodule() when sys.modules is mutated while iterating.
...
Patch by Olivier Grisel.
2014-10-04 22:15:27 +02:00
Georg Brandl
e800a0e1c2
Bump to 3.2.6rc1
2014-10-04 14:15:42 +02:00
Serhiy Storchaka
d32abc12e8
Fixed issue number for issue #22470 in Misc/NEWS.
2014-10-04 15:05:22 +03:00
Serhiy Storchaka
fb8eaae6eb
Fixed issue number for issue #22470 in Misc/NEWS.
2014-10-04 15:05:00 +03:00
Serhiy Storchaka
3deeeb0c39
Issue #21883 : os.path.join() and os.path.relpath() now raise a TypeError with
...
more helpful error message for unsupported or mismatched types of arguments.
2014-10-04 14:58:43 +03:00
Serhiy Storchaka
8d1e18ef1f
Issue #22518 : Fixed integer overflow issues in "backslashreplace",
...
"xmlcharrefreplace", and "surrogatepass" error handlers.
2014-10-04 14:17:50 +03:00
Serhiy Storchaka
4b1681832b
Issue #22518 : Fixed integer overflow issues in "backslashreplace",
...
"xmlcharrefreplace", and "surrogatepass" error handlers.
2014-10-04 14:15:49 +03:00
Georg Brandl
76e73f85a3
Bump to 3.3.6rc1
2014-10-04 14:22:11 +02:00
Serhiy Storchaka
2e374098ff
Issue #22518 : Fixed integer overflow issues in "backslashreplace",
...
"xmlcharrefreplace", and "surrogatepass" error handlers.
2014-10-04 14:15:49 +03:00
Serhiy Storchaka
90c24c42b2
Issue #22219 : The zipfile module CLI now adds entries for directories
...
(including empty directories) in ZIP file.
2014-10-04 13:42:28 +03:00
Serhiy Storchaka
518e71b18a
Issue #22219 : The zipfile module CLI now adds entries for directories
...
(including empty directories) in ZIP file.
2014-10-04 13:39:34 +03:00
Benjamin Peterson
8b9cfa1066
merge 3.4 ( #22449 )
2014-10-03 17:33:45 -04:00
Benjamin Peterson
5915b0f924
also use openssl envvars to find certs on windows ( closes #22449 )
...
Patch by Christian Heimes and Alex Gaynor.
2014-10-03 17:27:05 -04:00
R David Murray
df75fee9a3
#22508 : Drop email __version__ string. It no longer means anything.
...
A debian code search (by Tshepang Lekhonkhobe) turned up only one package
checking email.__version__...and it was the 2.7-only mailman package. Since
Barry approves this change, it seems safe enough to make it...
2014-10-03 13:02:47 -04:00
Georg Brandl
72b8a80e59
Closes #22540 : speed up PyObject_IsInstance and PyObject_IsSubclass in the common case that the second argument has metaclass "type".
2014-10-03 09:26:37 +02:00
doko@ubuntu.com
9816619c5b
- Issue #17219 : Add library build dir for Python extension cross-builds.
2014-10-02 02:12:34 +02:00
doko@ubuntu.com
cef3bdc01d
- Issue #17219 : Add library build dir for Python extension cross-builds.
2014-10-02 02:10:47 +02:00
doko@ubuntu.com
6b6bcc3e21
- Issue #18096 : Fix library order returned by python-config.
2014-10-02 02:02:45 +02:00
doko@ubuntu.com
d486c43d8d
- Issue #18096 : Fix library order returned by python-config.
2014-10-02 02:00:14 +02:00
Serhiy Storchaka
c383ad8d9c
Issue #20076 : Added non derived UTF-8 aliases to locale aliases table.
...
The makelocalealias.py script no longer ignores UTF-8 mapping.
2014-10-02 00:11:21 +03:00
Serhiy Storchaka
1de0ba2cf5
Issue #20076 : Added non derived UTF-8 aliases to locale aliases table.
2014-10-02 00:09:37 +03:00
Serhiy Storchaka
99cb41d423
Issue #20079 : Added locales supported in glibc 2.18 to locale alias table.
2014-10-01 23:43:35 +03:00
Serhiy Storchaka
ea4f0573b4
Issue #20079 : Added locales supported in glibc 2.18 to locale alias table.
...
The makelocalealias.py script now can parse the SUPPORTED file
from glibc sources and supports command line options for source paths.
2014-10-01 23:42:30 +03:00
Georg Brandl
ff3e5e3779
Fix unicode_aswidechar() for 4b unicode and 2b wchar_t (AIX).
2014-10-01 19:15:11 +02:00
Georg Brandl
ea68398355
Closes #20218 : Added convenience methods read_text/write_text and read_bytes/
...
write_bytes to pathlib.Path objects.
Thanks to Christopher Welborn and Ram Rachum for original patches.
2014-10-01 19:12:33 +02:00
Antoine Pitrou
0676a406bf
Issue #18711 : Add a new `PyErr_FormatV` function, similar to `PyErr_Format` but accepting a `va_list` argument.
2014-09-30 21:16:27 +02:00
Georg Brandl
51c116223e
Issue #19855 : uuid.getnode() on Unix now looks on the PATH for the
...
executables used to find the mac address, with /sbin and /usr/sbin as
fallbacks.
Issue #11508 : Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface. Original patch by Kent Frazier.
Issue #18784 : The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
Issue #16102 : Make uuid._netbios_getnode() work again on Python 3.
2014-09-30 19:34:19 +02:00
Benjamin Peterson
cb1115a43d
remove merge goop from f86fde20e9ce
2014-09-30 11:00:46 -04:00
Victor Stinner
ec39e26881
(Merge 3.4) Issue #22396 : On 32-bit AIX platform, don't expose
...
os.posix_fadvise() nor os.posix_fallocate() because their prototypes in system
headers are wrong.
2014-09-30 12:35:58 +02:00
Victor Stinner
d6b176905d
Issue #22396 : On 32-bit AIX platform, don't expose os.posix_fadvise() nor
...
os.posix_fallocate() because their prototypes in system headers are wrong.
2014-09-30 12:20:05 +02:00
Benjamin Peterson
fd97a6fb2d
merge 3.4 ( #22520 )
2014-09-29 23:02:56 -04:00
Benjamin Peterson
43030ee780
merge 3.3 ( #22520 )
2014-09-29 23:02:35 -04:00
Benjamin Peterson
736b8012b4
prevent overflow in unicode_repr ( closes #22520 )
2014-09-29 23:02:15 -04:00
Benjamin Peterson
58ee2d31ab
merge 3.4 ( #22517 )
2014-09-29 22:49:05 -04:00
Benjamin Peterson
c44eb73473
merge 3.3 ( #22517 )
2014-09-29 22:48:51 -04:00
Benjamin Peterson
bbd0a323ae
clear BufferedRWPair weakrefs on deallocation ( closes #22517 )
2014-09-29 22:46:57 -04:00
Benjamin Peterson
36a24f3f43
merge 3.4 ( #22519 )
2014-09-29 19:11:05 -04:00
Benjamin Peterson
18f836fb65
merge 3.3 ( closes #22519 )
2014-09-29 19:09:49 -04:00
Benjamin Peterson
42ff105539
fix overflow checking in PyBytes_Repr ( closes #22519 )
2014-09-29 19:01:18 -04:00
Benjamin Peterson
10e4b2545e
merge 3.4 ( closes #22518 )
2014-09-29 18:53:58 -04:00
Benjamin Peterson
2b76ce6d27
merge 3.3 ( closes #22518 )
2014-09-29 18:50:06 -04:00
Benjamin Peterson
3bbb2e4844
NEWS issue for #22518
2014-09-29 18:42:35 -04:00
Serhiy Storchaka
9baa5b2de2
Issue #22437 : Number of capturing groups in regular expression is no longer
...
limited by 100.
2014-09-29 22:49:23 +03:00
R David Murray
c31e6227f9
#17442 : Add chained traceback support to InteractiveInterpreter.
...
Patch by Claudiu Popa.
2014-09-29 11:25:00 -04:00
R David Murray
3a54c3e3aa
Merge: #10510 : make distuitls upload/register use HTML standards compliant CRLF.
2014-09-27 16:57:51 -04:00
R David Murray
9ce69672f3
#10510 : make distuitls upload/register use HTML standards compliant CRLF.
...
Patch by Ian Cordasco, approved by Éric Araujo.
2014-09-27 16:56:15 -04:00
Berker Peksag
a72bc8c3cf
Issue #16537 : Check whether self.extensions is empty in setup.py.
...
Patch by Jonathan Hosmer.
2014-09-27 22:39:38 +03:00
Berker Peksag
21c8d5c7d9
Issue #16537 : Check whether self.extensions is empty in setup.py.
...
Patch by Jonathan Hosmer.
2014-09-27 22:37:15 +03:00
Serhiy Storchaka
402e1e388d
Issue #9850 : Fixed macpath.join() for empty first component. Patch by
...
Oleg Oshmyan.
2014-09-27 18:55:15 +03:00
Serhiy Storchaka
ca534ab495
Issue #9850 : Fixed macpath.join() for empty first component. Patch by
...
Oleg Oshmyan.
2014-09-27 18:53:23 +03:00
Berker Peksag
fe21e4d4d7
Issue #16324 : _charset parameter of MIMEText now also accepts email.charset.Charset instances.
...
Initial patch by Claude Paroz.
2014-09-27 00:57:29 +03:00
Yury Selivanov
081bbf6b28
inspect: Fix getsource() to support decorated functions.
...
Issue #1764286 . Patch by Claudiu Popa.
2014-09-26 17:34:54 -04:00
Antoine Pitrou
2c0a916061
Issue #5309 : distutils' build and build_ext commands now accept a ``-j``
...
option to enable parallel building of extension modules.
2014-09-26 23:31:59 +02:00
Yury Selivanov
97e2e06af8
os: Include posix functions in os.__all__. Closes issue #18554 .
...
Patch by Ronald Oussoren.
2014-09-26 12:33:06 -04:00
Yury Selivanov
1cfd36fdd7
asyncio: Improve canceled timer handles cleanup. Closes issue #22448 .
...
Patch by Joshua Moore-Oliva.
2014-09-25 12:09:09 -04:00
Yury Selivanov
592ada9b4b
asyncio: Improve canceled timer handles cleanup. Closes issue #22448 .
...
Patch by Joshua Moore-Oliva.
2014-09-25 12:07:56 -04:00
Serhiy Storchaka
e9a086bf01
Issue #22427 : TemporaryDirectory no longer attempts to clean up twice when
...
used in the with statement in generator.
2014-09-24 13:29:27 +03:00
Serhiy Storchaka
5e193ac0bd
Issue #22427 : TemporaryDirectory no longer attempts to clean up twice when
...
used in the with statement in generator.
2014-09-24 13:26:25 +03:00
Serhiy Storchaka
c563caf3a2
Issue #22362 : Forbidden ambiguous octal escapes out of range 0-0o377 in
...
regular expressions.
2014-09-23 23:22:41 +03:00
Serhiy Storchaka
385ffbffe6
Issue #20912 : Now directories added to ZIP file have correct Unix and MS-DOS
...
directory attributes.
2014-09-23 22:42:02 +03:00
Serhiy Storchaka
46a34924e4
Issue #20912 : Now directories added to ZIP file have correct Unix and MS-DOS
...
directory attributes.
2014-09-23 22:40:23 +03:00
Serhiy Storchaka
07314bcbe7
Issue #21866 : ZipFile.close() no longer writes ZIP64 central directory
...
records if allowZip64 is false.
2014-09-23 21:35:57 +03:00
Serhiy Storchaka
cfbb394488
Issue #21866 : ZipFile.close() no longer writes ZIP64 central directory
...
records if allowZip64 is false.
2014-09-23 21:34:24 +03:00
Ned Deily
487bd179dc
Fix formatting typo in Misc/NEWS.
2014-09-22 15:36:12 -07:00
Ned Deily
14aa057883
Fix formatting typo in Misc/NEWS.
2014-09-22 15:34:19 -07:00
Larry Hastings
2887f76d45
Merge.
2014-09-22 15:21:08 +01:00
Larry Hastings
f26c2e72d8
Post-release engineering work for 3.4.2rc1.
2014-09-22 15:19:30 +01:00
Senthil Kumaran
a66e3885fb
Issue #22278 : Fix urljoin problem with relative urls, a regression observed
...
after changes to issue22118 were submitted.
Patch contributed by Demian Brecht and reviewed by Antoine Pitrou.
2014-09-22 15:49:16 +08:00
Serhiy Storchaka
782781e96d
Fixed issue #22415 number in Misc/NEWS for changeset fe287268e97b.
2014-09-21 22:59:06 +03:00
Serhiy Storchaka
964fcbaf16
Fixed issue #22415 number in Misc/NEWS for changeset e99a1df8db36.
2014-09-21 22:58:31 +03:00
Serhiy Storchaka
560c578d1d
Issue #22423 : Fixed debugging output of the GROUPREF_EXISTS opcode in the re
...
module.
2014-09-21 22:48:24 +03:00
Serhiy Storchaka
44dae8bde3
Issue #22423 : Fixed debugging output of the GROUPREF_EXISTS opcode in the re
...
module.
2014-09-21 22:47:55 +03:00
Serhiy Storchaka
d7fc141c7d
Merge heads
2014-09-21 22:26:11 +03:00
Serhiy Storchaka
1a5426dbaf
Merge heads
2014-09-21 22:25:25 +03:00
Antoine Pitrou
6e311aa748
Issue #21332 : Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.
2014-09-21 21:15:42 +02:00
Antoine Pitrou
afe8d0646c
Issue #21332 : Ensure that ``bufsize=1`` in subprocess.Popen() selects line buffering, rather than block buffering.
2014-09-21 21:10:56 +02:00
Serhiy Storchaka
c904e87c13
Issue #22423 : Unhandled exception in thread no longer causes unhandled
...
AttributeError when sys.stderr is None.
2014-09-21 22:09:20 +03:00
Serhiy Storchaka
52005c2e13
Issue #22423 : Unhandled exception in thread no longer causes unhandled
...
AttributeError when sys.stderr is None.
2014-09-21 22:08:13 +03:00
Larry Hastings
03776e33a9
Bump version number for 3.4.2rc1 release.
2014-09-21 00:09:56 +01:00
Antoine Pitrou
895ce149c1
Issue #22359 : Remove incorrect uses of recursive make. Patch by Jonas Wagner.
2014-09-21 00:21:58 +02:00
R David Murray
7c4093ca95
Merge: #21091 : make is_attachment a method.
2014-09-20 18:16:39 -04:00
R David Murray
8a97896a76
#21091 : make is_attachment a method.
...
Since EmailMessage is a provisional API we can fix API bugs in a
maintenance release, but I used a trick suggested by Serhiy to
maintain backward compatibility with 3.4.0/1.
2014-09-20 18:05:28 -04:00
R David Murray
1de0ac05f3
Merge: #21079 : is_attachment now looks only at the value, ignoring parameters.
2014-09-20 17:49:48 -04:00
R David Murray
97dfad7856
#21079 : is_attachment now looks only at the value, ignoring parameters.
2014-09-20 17:44:53 -04:00
Berker Peksag
bdfeb0387d
Issue #22247 : Add NNTPError to nntplib.__all__.
2014-09-20 08:54:32 +03:00
Berker Peksag
96756b6a27
Issue #22247 : Add NNTPError to nntplib.__all__.
2014-09-20 08:53:05 +03:00
Ned Deily
fc4ead2451
Issue #15661 : Update OS X installer welcome and readme files for 3.4.2.
...
python.org OS X installers are now distributed as signed installer
packages compatible with the Gatekeeper security feature.
2014-09-19 21:03:45 -07:00
Senthil Kumaran
8b7e161ac3
backport context argument of urlopen ( #22366 ) for pep 476
2014-09-19 15:23:30 +08:00
Senthil Kumaran
a5c85b3f5f
Issue #22366 : urllib.request.urlopen will accept a context object (SSLContext)
...
as an argument which will then used be for HTTPS connection.
Patch by Alex Gaynor.
2014-09-19 15:23:30 +08:00
Berker Peksag
3715da5c97
Issue #21391 : Use os.path.abspath in the shutil module.
2014-09-18 05:11:15 +03:00
Antoine Pitrou
e7811fca5e
Closes #11471 : avoid generating a JUMP_FORWARD instruction at the end of an if-block if there is no else-clause.
...
Original patch by Eugene Toder.
2014-09-18 03:06:50 +02:00
Antoine Pitrou
87538e7bc4
Issue #4180 : The warnings registries are now reset when the filters are modified.
2014-09-18 02:42:05 +02:00
Antoine Pitrou
cb0a006fd1
Issue #4180 : The warnings registries are now reset when the filters are modified.
2014-09-18 02:40:46 +02:00
Senthil Kumaran
dc41440401
Merge from 3.4
...
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:32:46 +08:00
Senthil Kumaran
86c9e1877c
Merge from 3.3
...
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:31:47 +08:00
Senthil Kumaran
e025b52db0
Issue #22419 : Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:29:29 +08:00
Antoine Pitrou
0d54887326
Lax cookie parsing in http.cookies could be a security issue when combined
...
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
2014-09-17 00:27:26 +02:00
Antoine Pitrou
637e4544af
Lax cookie parsing in http.cookies could be a security issue when combined
...
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
2014-09-17 00:25:57 +02:00
Antoine Pitrou
7d0b8f95e7
Lax cookie parsing in http.cookies could be a security issue when combined
...
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
2014-09-17 00:23:55 +02:00
Kushal Das
a37b958d65
Closes #21270 : We now override tuple methods in mock.call objects.
2014-09-16 18:33:37 +05:30
Nick Coghlan
a0f33759fa
Merge fix for issue #22166 from 3.4
2014-09-15 23:55:16 +12:00
Nick Coghlan
8fad1676a2
Issue #22166 : clear codec caches in test_codecs
2014-09-15 23:50:44 +12:00
Vinay Sajip
02a8f9e9ac
Closes #20537 : logging methods now accept an exception instance as well as a Boolean value or exception tuple. Thanks to Yury Selivanov for the patch.
2014-09-14 21:29:11 +01:00
Serhiy Storchaka
4ff91eb5e3
Issue #22384 : An exception in Tkinter callback no longer crashes the program
...
when it is run with pythonw.exe.
Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.
2014-09-14 21:18:31 +03:00
Serhiy Storchaka
9502487781
Issue #22384 : An exception in Tkinter callback no longer crashes the program
...
when it is run with pythonw.exe.
Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.
2014-09-14 21:17:32 +03:00
Ned Deily
2ebdb2c911
Issue #22168 : Prevent turtle AttributeError with non-default Canvas on OS X.
2014-09-13 23:40:27 -07:00
Ned Deily
152dfd1dac
Issue #22168 : Prevent turtle AttributeError with non-default Canvas on OS X.
2014-09-13 23:39:16 -07:00
Yury Selivanov
08d4a4f488
inspect.Signature: Fix discrepancy between __eq__ and __hash__.
...
Issue #20334 . Thanks to Antony Lee for bug report & initial patch.
2014-09-12 15:48:02 -04:00
Serhiy Storchaka
2c16df269a
Issue #21147 : sqlite3 now raises an exception if the request contains a null
...
character instead of truncate it. Based on patch by Victor Stinner.
2014-09-11 13:30:48 +03:00
Serhiy Storchaka
42d67af87f
Issue #21147 : sqlite3 now raises an exception if the request contains a null
...
character instead of truncate it. Based on patch by Victor Stinner.
2014-09-11 13:29:05 +03:00
Serhiy Storchaka
c2edcdd194
Issue #13968 : The glob module now supports recursive search in
...
subdirectories using the "**" pattern.
2014-09-11 12:17:37 +03:00
Serhiy Storchaka
d5fd6188e2
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
...
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
2014-09-11 10:58:02 +03:00
Serhiy Storchaka
abf68ce164
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
...
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
2014-09-11 10:57:13 +03:00
Serhiy Storchaka
979f80b8da
Issue #21951 : Use attemptckalloc() instead of ckalloc() in Tkinter.
...
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
2014-09-11 10:40:44 +03:00
Serhiy Storchaka
0794088379
Issue #21951 : Use attemptckalloc() instead of ckalloc() in Tkinter.
...
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
2014-09-11 10:38:54 +03:00