Senthil Kumaran
b2e3a939bf
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-16 14:17:38 +05:30
Serhiy Storchaka
d7728cafc5
Issue #15381 : Optimized line reading in io.BytesIO.
2014-08-14 22:26:38 +03:00
Berker Peksag
3714ab4c27
Issue #21445 : Pass exception messages correctly to assertTrue in
...
the FileCompareTestCase.test_matching test.
Patch by Steven Barker.
2014-08-14 08:35:15 +03:00
Berker Peksag
143fe05da1
Issue #21445 : Pass exception messages correctly to assertTrue in
...
the FileCompareTestCase.test_matching test.
Patch by Steven Barker.
2014-08-14 08:34:32 +03:00
Serhiy Storchaka
1bed4a9f5f
Issue #20729 : Restored the use of lazy iterkeys()/itervalues()/iteritems()
...
in the mailbox module. This is partial rollback of changeset f340cb045bf9.
2014-08-13 09:36:06 +03:00
Serhiy Storchaka
cd3aacf525
Issue #20729 : Restored the use of lazy iterkeys()/itervalues()/iteritems()
...
in the mailbox module. This is partial rollback of changeset f340cb045bf9.
2014-08-13 09:35:21 +03:00
Raymond Hettinger
92c7b90148
merge
2014-08-12 12:45:28 -07:00
Raymond Hettinger
4d58897fdb
Issue 22184: Early detection and reporting of missing lru_cache parameters
2014-08-12 12:44:52 -07:00
Serhiy Storchaka
1e133cab39
Issue #21448 : Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long line.
...
Original patch by Raymond Hettinger.
2014-08-12 14:00:29 +03:00
Serhiy Storchaka
320a1c0ff7
Issue #21448 : Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long line.
...
Original patch by Raymond Hettinger.
2014-08-12 13:59:11 +03:00
Serhiy Storchaka
2a140fb58b
Issue #17923 : glob() patterns ending with a slash no longer match non-dirs on
...
AIX. Based on patch by Delhallt.
2014-08-12 12:56:25 +03:00
Serhiy Storchaka
6f20170762
Issue #17923 : glob() patterns ending with a slash no longer match non-dirs on
...
AIX. Based on patch by Delhallt.
2014-08-12 12:55:12 +03:00
Antoine Pitrou
bd7ff30ff9
Issue #20746 : Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
2014-08-11 21:41:46 -04:00
Antoine Pitrou
c04d468333
Issue #20746 : Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
2014-08-11 21:40:38 -04:00
Raymond Hettinger
ac191ce1d3
Issue #22174 : Clean-up grammar and ambiguities in property() docs.
2014-08-10 10:41:25 -07:00
Benjamin Peterson
acb8c52343
add -Werror=declaration-after-statement only to stdlib extension modules ( closes #21121 )
...
Patch from Stefan Krah.
2014-08-09 20:01:49 -07:00
R David Murray
2539e6744b
#21725 : Add RFC 6531 (SMTPUTF8) support to smtpd.
...
Patch by Milan Oberkirch, developed as part of his 2014 GSOC project.
Note that this also fixes a bug in mock_socket ('getpeername' was returning a
simple string instead of the tuple required for IPvX protocols), a bug in
DebugServer with respect to handling binary data (should have been fixed when
decode_data was introduced, but wasn't found until this patch was written),
and a long-standing bug in DebugServer (it was printing an extra blank line at
the end of the displayed message text).
2014-08-09 16:40:49 -04:00
Raymond Hettinger
ed16b2e5ab
merge
2014-08-10 10:41:52 -07:00
Benjamin Peterson
b30802b7a8
merge 3.4 ( #21121 )
2014-08-09 20:04:19 -07:00
doko@ubuntu.com
9e15d7a3cc
- Issue #22176 : Update the ctypes module's libffi to v3.1. This release
...
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
2014-08-09 22:43:02 +02:00
doko@ubuntu.com
736a913321
- Issue #22176 : Update the ctypes module's libffi to v3.1. This release
...
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
2014-08-09 22:36:35 +02:00
Nick Coghlan
a887d23a86
Merge #21777 from 3.4
2014-08-09 16:19:41 +10:00
Nick Coghlan
e4936b830c
Issue #21777 : separate docs for binary sequence methods
2014-08-09 16:14:04 +10:00
Zachary Ware
d630e0070f
Closes #22060 : Merge with 3.4
2014-08-08 13:35:11 -05:00
Zachary Ware
5a794c16d9
Issue #22060 : Clean up/simplify test_ctypes, use test discovery
2014-08-08 13:32:16 -05:00
Zachary Ware
b40cf1f804
Issue #22160 : Update OpenSSL to 1.0.1i for the Windows build.
2014-08-06 23:21:03 -05:00
Zachary Ware
22f2d2efb7
Issue #22160 : Update OpenSSL to 1.0.1i for the Windows build.
2014-08-06 23:19:29 -05:00
Antoine Pitrou
b349e4c929
Issue #22116 : C functions and methods (of the 'builtin_function_or_method' type) can now be weakref'ed. Patch by Wei Wu.
2014-08-06 19:31:40 -04:00
Serhiy Storchaka
1121377cdb
Issue #5411 : Added support for the "xztar" format in the shutil module.
2014-08-06 18:50:19 +03:00
Serhiy Storchaka
af78ef1824
Issue #21975 : Fixed crash when using uninitialized sqlite3.Row (in particular
...
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
2014-08-06 17:51:58 +03:00
Serhiy Storchaka
3d4b2d4df2
Issue #21975 : Fixed crash when using uninitialized sqlite3.Row (in particular
...
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
2014-08-06 17:50:39 +03:00
Serhiy Storchaka
e18f14e850
Move misplaced Misc/NEWS entries to correct locations.
...
Eliminate deprecated the "Extension Modules" section.
2014-08-06 17:45:35 +03:00
Barry Warsaw
7c549c4e64
- Issue #21539 : Add a *exists_ok* argument to `Pathlib.mkdir()` to mimic
...
`mkdir -p` and `os.makedirs()` functionality. When true, ignore
FileExistsErrors. Patch by Berker Peksag.
(With minor cleanups, additional tests, doc tweaks, etc. by Barry)
Also:
* Remove some unused imports in test_pathlib.py reported by pyflakes.
2014-08-05 11:28:12 -04:00
Martin v. Löwis
18874a9e13
Issue #22127 : Bypass IDNA for pure-ASCII host names (in particular for numeric IPs).
2014-08-05 16:11:06 +02:00
Martin v. Löwis
eb1c28a849
Issue #22127 : Bypass IDNA for pure-ASCII host names (in particular for numeric IPs).
2014-08-05 16:10:38 +02:00
Larry Hastings
a73cb8a6b8
Issue #22120 : For functions using an unsigned integer return converter,
...
Argument Clinic now generates a cast to that type for the comparison
to -1 in the generated code. (This supresses a compilation warning.)
2014-08-05 19:55:21 +10:00
Larry Hastings
2f93635d34
Issue #20170 : Convert posixmodule to use Argument Clinic.
2014-08-05 14:04:04 +10:00
Ezio Melotti
48b8e4afd1
#18034 : merge with 3.4.
2014-08-04 19:34:57 +03:00
Ezio Melotti
e4aad5ab32
#18034 : update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst.
2014-08-04 19:34:29 +03:00
Zachary Ware
17c336284d
Closes #22104 : Merge with 3.4
2014-08-04 11:18:23 -05:00
Zachary Ware
69fb6a41c5
Issue #22104 : Don't hold a reference to the loaded TestSuite in runtest_inner
2014-08-04 11:15:10 -05:00
Ezio Melotti
c734c387de
#20977 : merge with 3.4.
2014-08-04 17:17:21 +03:00
Ezio Melotti
d577480197
#20977 : fix undefined name in the email module. Patch by Rose Ames.
2014-08-04 17:16:49 +03:00
Ezio Melotti
6fc16d81af
#21047 : set the default value for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker Peksag.
2014-08-02 18:36:12 +03:00
Ezio Melotti
11bec7a1b8
Add an __all__ to html.entities.
2014-08-02 15:15:02 +03:00
Ezio Melotti
73a4359eb0
#15114 : the strict mode and argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception have been removed.
2014-08-02 14:10:30 +03:00
Terry Jan Reedy
ffff1440d1
Issue #22077 : Improve index error messages for bytearrays, bytes, lists, and
...
tuples by adding 'or slices'. Added ', not <typename' for bytearrays.
Original patch by Claudiu Popa.
2014-08-02 01:30:37 -04:00
Victor Stinner
f6a271ae98
Issue #18395 : Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename
...
``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these
functions.
2014-08-01 12:28:48 +02:00
Zachary Ware
cb09dcacab
Issue #21907 : Further improvments to build_pgo.bat. Patch by Ingolf Becker.
2014-07-31 23:48:45 -05:00
Antoine Pitrou
cac9e719cc
Issue #22111 : Assorted cleanups in test_imaplib. Patch by Milan Oberkirch.
2014-07-31 18:35:45 -04:00
Serhiy Storchaka
6716d60cec
Issue #22085 : Dropped support of Tk 8.3 in Tkinter.
2014-07-30 19:19:21 +03:00
Serhiy Storchaka
f44611cadf
Issue #21580 : Now Tkinter correctly handles bytes arguments passed to Tk.
...
In particular this allows to initialize images from binary data.
2014-07-30 18:34:01 +03:00
Serhiy Storchaka
74596a887a
Issue #21580 : Now Tkinter correctly handles bytes arguments passed to Tk.
...
In particular this allows to initialize images from binary data.
2014-07-30 18:33:13 +03:00
Antoine Pitrou
cc66a73d27
Issue #22003 : When initialized from a bytes object, io.BytesIO() now
...
defers making a copy until it is mutated, improving performance and
memory use on some use cases.
Patch by David Wilson.
2014-07-29 19:41:11 -04:00
Victor Stinner
115171086a
Issue #22018 : On Windows, signal.set_wakeup_fd() now also supports sockets.
...
A side effect is that Python depends to the WinSock library.
2014-07-29 23:31:34 +02:00
Ned Deily
acc6e7596f
Edit NEWS entry
2014-07-29 13:51:45 -07:00
Ned Deily
3d4953a14b
Edit NEWS entry
2014-07-29 13:49:11 -07:00
Victor Stinner
1db9e7bb19
Issue #22054 : Add os.get_blocking() and os.set_blocking() functions to get and
...
set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is
set, True otherwise). These functions are not available on Windows.
2014-07-29 22:32:47 +02:00
Ezio Melotti
6aa4269ed2
#21704 : merge with 3.4.
2014-07-29 17:36:20 +03:00
Ezio Melotti
8a0fb2c5ca
#21704 : remove duplicate name in Misc/ACKS.
2014-07-29 17:35:46 +03:00
Terry Jan Reedy
205c226089
Merge with 3.4
2014-07-28 22:40:12 -04:00
Terry Jan Reedy
7eca7343a0
Issue #17172 : add NEWS
2014-07-28 22:38:19 -04:00
Richard Oudkerk
c3fc341c35
Issue #21704 : Merge.
2014-07-28 23:13:58 +01:00
Richard Oudkerk
e0e65817e5
Issue #21704 : Fix build error for _multiprocessing when semaphores
...
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
2014-07-28 23:01:02 +01:00
Martin v. Löwis
7252a6e81e
Issue #20179 : Apply Argument Clinic to bytes and bytearray.
...
Patch by Tal Einat.
2014-07-27 16:25:09 +02:00
Martin v. Löwis
501b13c622
Issue #20173 : Convert sha1, sha256, sha512 and md5 to ArgumentClinic.
...
Patch by Vajrasky Kok.
2014-07-27 14:20:23 +02:00
Martin v. Löwis
996b671446
Issue #22082 : Clear interned strings in slotdefs.
2014-07-26 16:44:07 +02:00
Victor Stinner
011428e168
(Merge 3.4) Fix repr(_socket.socket) on Windows 64-bit: don't fail with
...
OverflowError on closed socket. repr(socket.socket) already works fine.
2014-07-26 14:37:57 +02:00
Victor Stinner
e254e53c83
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
...
on closed socket. repr(socket.socket) already works fine.
2014-07-26 14:36:55 +02:00
Raymond Hettinger
a22d8231a3
merge
2014-07-25 15:00:30 -07:00
Raymond Hettinger
5a2146a2fd
Issue #22044 : Fixed premature DECREF in call_tzinfo_method.
2014-07-25 14:59:48 -07:00
Serhiy Storchaka
465e60e654
Issue #22033 : Reprs of most Python implemened classes now contain actual
...
class name instead of hardcoded one.
2014-07-25 23:36:00 +03:00
Zachary Ware
54701f303f
Issue #21958 : Merge with 3.4
2014-07-25 14:47:29 -05:00
Zachary Ware
64ba60aa57
Issue #21958 : Define HAVE_ROUND when building with VS 2013 and above.
...
Patch by Zachary Turner.
2014-07-25 14:34:19 -05:00
Nick Coghlan
efd5df9e52
Issue #21947 : handle generator-iterator objects in dis
...
Patch by Clement Rouault.
2014-07-25 23:02:56 +10:00
Nick Coghlan
0861ccbff4
Add missing NEWS entry for issue #18093
2014-07-25 21:55:07 +10:00
Victor Stinner
316b16de13
(Merge 3.4) Issue #16133 : The asynchat.async_chat.handle_read() method now
...
ignores BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
Document also in asyncore documentation that recv() may raise BlockingIOError.
2014-07-24 19:00:28 +02:00
Victor Stinner
45cff66cf6
Issue #16133 : The asynchat.async_chat.handle_read() method now ignores
...
BlockingIOError exceptions. Initial patch written by Xavier de Gaye.
Document also in asyncore documentation that recv() may raise BlockingIOError.
2014-07-24 18:49:36 +02:00
Victor Stinner
24ad98b98c
(Merge 3.4) Issue #19884 : readline: Disable the meta modifier key if stdout is
...
not a terminal to not write the ANSI sequence "\033[1034h" into stdout. This
sequence is used on some terminal (ex: TERM=xterm-256color") to enable support
of 8 bit characters.
2014-07-24 12:24:45 +02:00
Victor Stinner
a3c80ce8b7
Issue #19884 : readline: Disable the meta modifier key if stdout is not a
...
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.
2014-07-24 12:23:56 +02:00
Serhiy Storchaka
e6d9805ec4
Issue #4350 : Removed a number of out-of-dated and non-working for a long time
...
Tkinter methods.
2014-07-23 22:33:50 +03:00
Serhiy Storchaka
4d9e903f7e
Merge heads
2014-07-23 22:13:09 +03:00
Terry Jan Reedy
22084fc8ba
Merge with 3.4
2014-07-23 15:01:29 -04:00
Terry Jan Reedy
b03f0422c5
Issue #21597 : Turtledemo text pane can now be widened to view or copy complete
...
lines or narrowed for small screens.
Issie #19132 : Turtledemo buttons no longer disappear when window is shrun.
Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).
2014-07-23 15:01:12 -04:00
Serhiy Storchaka
320f339131
Issue #6167 : Scrollbar.activate() now returns the name of active element if
...
the argument is not specified. Scrollbar.set() now always accepts only 2
arguments. Added tests for Scrollbar.activate() and Scrollbar.set().
2014-07-23 22:00:44 +03:00
Serhiy Storchaka
8518b79a8d
Issue #15275 : Clean up and speed up the ntpath module.
2014-07-23 20:43:13 +03:00
Zachary Ware
f886697659
Closes #22002 : Merge with 3.4
2014-07-23 12:06:47 -05:00
Zachary Ware
f012ba42fe
Issue #22002 : Make full use of test discovery in test sub-packages.
...
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
2014-07-23 12:00:29 -05:00
Serhiy Storchaka
37f50e0c6b
Issue #21888 : plistlib's load() and loads() now work if the fmt parameter is
...
specified.
2014-07-23 18:50:19 +03:00
Serhiy Storchaka
8966759b03
Issue #21888 : plistlib's load() and loads() now work if the fmt parameter is
...
specified.
2014-07-23 18:49:31 +03:00
Serhiy Storchaka
f1062762f2
Correct issue #21044 patch author.
2014-07-23 18:42:09 +03:00
Serhiy Storchaka
64a1207280
Correct issue #21044 patch author.
2014-07-23 18:41:21 +03:00
Serhiy Storchaka
521e5860a5
Issue #22032 : __qualname__ instead of __name__ is now always used to format
...
fully qualified class names of Python implemented classes.
2014-07-22 15:00:37 +03:00
Serhiy Storchaka
0c937b3ed6
Issue #22031 : Reprs now always use hexadecimal format with the "0x" prefix
...
when contain an id in form " at 0x...".
2014-07-22 12:14:52 +03:00
Serhiy Storchaka
23ea9c8c91
Issue #15759 : "make suspicious", "make linkcheck" and "make doctest" in Doc/
...
now display special message when and only when there are failures.
2014-07-22 10:28:21 +03:00
Serhiy Storchaka
17f5f817de
Issue #15759 : "make suspicious", "make linkcheck" and "make doctest" in Doc/
...
now display special message when and only when there are failures.
2014-07-22 10:24:25 +03:00
Antoine Pitrou
26408df88f
Issue #21976 : Fix test_ssl to accept LibreSSL version strings.
...
Thanks to William Orr.
2014-07-21 18:37:36 -04:00
Antoine Pitrou
dfab935c74
Issue #21976 : Fix test_ssl to accept LibreSSL version strings.
...
Thanks to William Orr.
2014-07-21 18:35:01 -04:00
Victor Stinner
0bffc94d57
Issue #22018 : signal.set_wakeup_fd() now raises an OSError instead of a
...
ValueError on fstat() failure.
2014-07-21 16:28:54 +02:00
Raymond Hettinger
854e76effa
Issue #21868 : Prevent turtle crash due to invalid undo buffer size.
2014-07-20 21:30:32 -07:00
Benjamin Peterson
7e9522fadf
merge 3.4
2014-07-20 13:06:19 -07:00
Benjamin Peterson
01963e6ae9
add #
2014-07-20 13:05:01 -07:00
Serhiy Storchaka
a98faefd68
Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
...
attribute. Based on patch by Martin Panter.
2014-07-17 00:00:26 +03:00
Serhiy Storchaka
2c6a3aedeb
Issue 21044: tarfile.open() now handles fileobj with an integer 'name'
...
attribute. Based on patch by Martin Panter.
2014-07-16 23:58:58 +03:00
Zachary Ware
3481e21e98
Issue #21918 : Convert test_tools.py to a sub-package of test.
...
Merge with 3.4.
2014-07-16 14:31:51 -05:00
Zachary Ware
2b0a610297
Issue #21918 : Convert test_tools.py to a sub-package of test.
2014-07-16 14:26:09 -05:00
Tal Einat
985e8d8fb3
Fixed recently added Misc/NEWS entry which was moved during merge
2014-07-16 16:52:20 +03:00
Tal Einat
2e4394ee0d
Issue #21765 : Add support for non-ascii identifiers to HyperParser
2014-07-16 16:41:14 +03:00
Tal Einat
9b7f9e6c5a
Issue #21765 : Add support for non-ascii identifiers to HyperParser
2014-07-16 16:33:36 +03:00
Serhiy Storchaka
992334127e
Issue #18974 : Tools/scripts/diff.py now uses argparse instead of optparse.
2014-07-15 13:23:58 +03:00
Ned Deily
55966193f2
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:20:15 -07:00
Ned Deily
5d0d2e6ed6
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:16:56 -07:00
Ned Deily
217f4cd7ee
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:12:39 -07:00
Ned Deily
915a30fb0d
Issue #21323 : Fix http.server to again handle scripts in CGI subdirectories,
...
broken by the fix for security issue #19435 . Patch by Zach Byrne.
2014-07-12 22:06:26 -07:00
Alexander Belopolsky
007a90317d
Issue #21966 : Respect -q command-line option when code module is ran.
...
Contributed by Anton Barkovsky.
2014-07-12 16:36:33 -04:00
Berker Peksag
de1fb6660b
Issue #19076 : Merge with 3.4.
2014-07-12 18:26:03 +03:00
Berker Peksag
ad5ffd4767
Issue #19076 : Don't pass the redundant 'file' argument to self.error().
2014-07-12 18:24:32 +03:00
Berker Peksag
6960c1a94b
Issue #21906 : Merge from 3.4.
2014-07-11 20:44:39 +03:00
Berker Peksag
7aee3ecd57
Issue #21906 : Make Tools/scripts/md5sum.py work in Python 3.
...
Patch by Zachary Ware.
2014-07-11 20:42:18 +03:00
Berker Peksag
d8089e0d04
Issue #16382 : Improve exception message of warnings.warn() for bad category.
...
Initial patch by Phil Elson.
2014-07-11 19:50:25 +03:00
Victor Stinner
b28ed92dd0
Issue #21932 : os.read() now uses a :c:func:`Py_ssize_t` type instead of
...
:c:type:`int` for the size to support reading more than 2 GB at once. On
Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS
may read less bytes than the number of requested bytes.
2014-07-11 17:04:41 +02:00
Terry Jan Reedy
814bd9b922
News entries
2014-07-11 00:26:21 -04:00
Terry Jan Reedy
be254265ff
Idle News entries.
2014-07-11 00:24:27 -04:00
Zachary Ware
fff80d984c
Issue #21942 : Fixed source file viewing in pydoc's server mode on Windows.
2014-07-10 11:21:01 -05:00
Zachary Ware
eb43214427
Issue #21942 : Fixed source file viewing in pydoc's server mode on Windows.
2014-07-10 11:18:00 -05:00
Victor Stinner
db5f8fcde6
(Merge 3.4) Issue #11259 : asynchat.async_chat().set_terminator() now raises a
...
ValueError if the number of received bytes is negative.
2014-07-08 00:34:48 +02:00
Victor Stinner
630a4f63c5
Issue #11259 : asynchat.async_chat().set_terminator() now raises a ValueError if
...
the number of received bytes is negative.
2014-07-08 00:26:36 +02:00
Victor Stinner
e8209dab6b
(Merge 3.4) Issue #12523 : asynchat.async_chat.push() now raises a TypeError if
...
it doesn't get a bytes string
2014-07-08 00:01:28 +02:00
Victor Stinner
d9e810a870
Issue #12523 : asynchat.async_chat.push() now raises a TypeError if it doesn't
...
get a bytes string
2014-07-08 00:00:30 +02:00
Zachary Ware
e12fa65744
Issue #21907 : Improved the batch scripts provided for building Python.
...
The user-facing scripts in PCbuild have been updated to be easier to use
and the buildbot scripts in Tools\buildbot have been updated to use the
user-facing scripts in PCbuild wherever possible.
2014-07-07 13:39:59 -05:00
Berker Peksag
7a5a8c8f7c
Issue #21707 : Merge with 3.4.
2014-07-07 14:59:47 +03:00
Berker Peksag
0a0d1da987
Issue #21707 : Add missing kwonlyargcount argument to ModuleFinder.replace_paths_in_code().
2014-07-07 14:58:12 +03:00
Antoine Pitrou
006c725426
Merge pathlib fixes
2014-07-06 21:38:35 -04:00
Antoine Pitrou
e50dafcd63
Issue #20639 : calling Path.with_suffix('') allows removing the suffix again.
...
Patch by July Tikhonov.
2014-07-06 21:37:15 -04:00
Antoine Pitrou
7084e736db
Issue #21714 : Disallow the construction of invalid paths using Path.with_name(). Original patch by Antony Lee.
2014-07-06 21:31:12 -04:00
Ned Deily
7447edbc9e
Issue #21923 : merge from 3.4
2014-07-06 16:17:45 -07:00
Ned Deily
7bc5fb6916
Issue #21923 : Prevent AttributeError in distutils.sysconfig.customize_compiler
...
due to possible uninitialized _config_vars. Original patch by Alex Gaynor.
2014-07-06 16:14:33 -07:00
Benjamin Peterson
3032ed7cb1
upgrade to unicode 7.0.0
2014-07-06 13:04:20 -07:00
Berker Peksag
1c5f56a955
Issue #9554 : Use modern unittest features in test_argparse.
...
Initial patch by Denver Coneybeare and Radu Voicilas.
2014-07-06 09:33:20 +03:00
Antoine Pitrou
a93342b8b2
Issue #21897 : Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.
2014-07-04 20:26:22 -04:00
Antoine Pitrou
acc8cf2cfa
Issue #21897 : Fix a crash with the f_locals attribute with closure variables when frame.clear() has been called.
2014-07-04 20:24:13 -04:00
R David Murray
76e13c1c29
#15014 : Add 'auth' command to implement auth mechanisms and use it in login.
...
Patch by Milan Oberkirch.
2014-07-03 14:47:46 -04:00
Zachary Ware
d8b129f279
Closes #21151 : Merge with 3.4
2014-07-03 11:03:46 -05:00
Zachary Ware
ad4690fcca
Issue #21151 : Fixed a segfault in the winreg module.
...
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
2014-07-03 10:58:06 -05:00
Victor Stinner
6680e9f5fd
(Merge 3.4) Issue #21090 : io.FileIO.readall() does not ignore I/O errors
...
anymore. Before, it ignored I/O errors if at least the first C call read()
succeed.
2014-07-02 23:00:38 +02:00
Victor Stinner
e10920f0d1
Issue #21090 : io.FileIO.readall() does not ignore I/O errors anymore. Before,
...
it ignored I/O errors if at least the first C call read() succeed.
2014-07-02 22:59:31 +02:00
Berker Peksag
3e887222aa
Issue #5800 : headers parameter of wsgiref.headers.Headers is now optional.
...
Patch by Pablo Torres Navarrete and SilentGhost.
2014-07-02 08:37:22 +03:00
Victor Stinner
7f084064e8
(Merge 3.4) Issue #21781 : Make the ssl module "ssize_t clean" for parsing
...
parameters. ssl.RAND_add() now supports strings longer than 2 GB.
2014-07-01 16:39:23 +02:00
Victor Stinner
2e57b4e488
Issue #21781 : Make the ssl module "ssize_t clean" for parsing parameters.
...
ssl.RAND_add() now supports strings longer than 2 GB.
2014-07-01 16:37:17 +02:00
Ned Deily
0ca4703b28
Issue #21811 : Add Misc/NEWS entry.
2014-06-29 23:54:38 -07:00
Ned Deily
093e66e7f0
Issue #21811 : Add Misc/NEWS entry.
2014-06-29 23:51:55 -07:00
Antoine Pitrou
de68722ca0
Issue #21679 : Prevent extraneous fstat() calls during open(). Patch by Bohuslav Kabrda.
2014-06-29 20:07:28 -04:00
Antoine Pitrou
8477f7af13
Issue #21863 : cProfile now displays the module name of C extension functions, in addition to their own name.
2014-06-27 23:49:29 -04:00
Victor Stinner
a81088ae12
(Merge 3.4) Issue #11453 : asyncore: emit a ResourceWarning when an unclosed
...
file_wrapper object is destroyed. The destructor now closes the file if needed.
The close() method can now be called twice: the second call does nothing.
2014-06-27 23:57:19 +02:00
Victor Stinner
4d4c69dc35
Issue #11453 : asyncore: emit a ResourceWarning when an unclosed file_wrapper
...
object is destroyed. The destructor now closes the file if needed. The close()
method can now be called twice: the second call does nothing.
2014-06-27 23:52:03 +02:00
Victor Stinner
7722769b76
(Merge 3.4) Issue #21858 : Better handling of Python exceptions in the sqlite3
...
module.
2014-06-26 23:33:34 +02:00
Victor Stinner
297d104248
Issue #21858 : Better handling of Python exceptions in the sqlite3 module.
2014-06-26 23:32:00 +02:00
R David Murray
0c43ed8716
Merge #21476 : Unwrap fp in BytesParser so the file isn't unexpectedly closed.
2014-06-26 13:33:05 -04:00
R David Murray
c6772c4d59
#21476 : Unwrap fp in BytesParser so the file isn't unexpectedly closed.
...
This makes the behavior match that of Parser. Patch by Vajrasky Kok.
2014-06-26 13:31:43 -04:00
R David Murray
2f60820f4c
#20295 : Teach imghdr to recognize OpenEXR format images.
...
Patch by Martin Vignali, test by Claudiu Popa.
2014-06-26 12:27:57 -04:00
Raymond Hettinger
a157867a3d
merge
2014-06-26 09:25:41 -07:00
Raymond Hettinger
19454563d8
Issue #19145 : Remove duplicate ACKS entry
2014-06-26 09:25:18 -07:00
Serhiy Storchaka
e5243cc713
Issue #21729 : Used the "with" statement in the dbm.dumb module to ensure
...
files closing. Patch by Claudiu Popa.
2014-06-25 20:37:30 +03:00
Serhiy Storchaka
65c623de74
Issue #21729 : Used the "with" statement in the dbm.dumb module to ensure
...
files closing. Patch by Claudiu Popa.
2014-06-25 20:35:31 +03:00
Raymond Hettinger
ee205dc7d8
merge
2014-06-24 21:39:27 -07:00
Raymond Hettinger
97d3555029
Issue #19145 : Fix handling of negative values for a "times" keyword argument to itertools.repeat()>
...
(Patch contributed by Vajrasky Kok.)
2014-06-24 21:36:58 -07:00
Raymond Hettinger
d04d511078
merge
2014-06-24 18:13:31 -07:00
Raymond Hettinger
6f6922c090
Add news entry for #21832
2014-06-24 18:11:48 -07:00
R David Murray
24a3c72638
merge: #20155 : use fake HTTP method names so windows doesn't hang the tests.
2014-06-24 16:49:04 -04:00
R David Murray
14199f9392
#20155 : use fake HTTP method names so windows doesn't hang the tests.
...
Windows was seeing the 'GET' generated by these tests as invalid and forcibly
closing the socket, causing the test to fail.
Patch by Jeff Allen.
2014-06-24 16:39:49 -04:00
Raymond Hettinger
c03dc0f164
merge
2014-06-24 13:03:54 -07:00
Raymond Hettinger
4c945fe9e9
merge
2014-06-24 13:03:24 -07:00
Benjamin Peterson
f5c5175b47
merge 3.4
2014-06-23 20:16:06 -07:00
Benjamin Peterson
17f9b64c63
add Chris Foster
2014-06-23 20:14:46 -07:00
Raymond Hettinger
04ba0bb80c
Issue #11974 : Add tutorial section on class and instance variables
...
(Based on a patch from Renee Chu.)
2014-06-23 18:08:01 -07:00
Yury Selivanov
42407abe24
inspect: Validate that __signature__ is None or an instance of Signature.
...
Closes #21801 .
2014-06-23 10:23:50 -07:00
Yury Selivanov
c0f964fd55
inspect: Validate that __signature__ is None or an instance of Signature.
...
Closes #21801 .
2014-06-23 10:21:04 -07:00
Martin v. Löwis
77143dbaee
Issue #10747 : Merge with 3.4
2014-06-22 22:28:04 +02:00
Martin v. Löwis
cd95e18bf7
Issue #10747 : Use versioned labels in the Windows start menu.
...
Patch by Olive Kilburn.
2014-06-22 22:22:33 +02:00
Raymond Hettinger
47d1e2858e
merge
2014-06-22 01:23:55 -07:00
Raymond Hettinger
6dec4eae53
Issue #21812 : Trigger immediate transformation in turtle.shapetransform().
2014-06-22 01:21:51 -07:00
Raymond Hettinger
fabefc3c5b
Issue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
2014-06-21 11:57:36 -07:00
Charles-François Natali
af4db37f2a
Issue #21491 : socketserver: Fix a race condition in child processes reaping.
2014-06-20 22:49:26 +01:00
Charles-François Natali
504f5c36ef
Issue #21491 : socketserver: Fix a race condition in child processes reaping.
2014-06-20 22:37:35 +01:00
Zachary Ware
63f277b694
Issue #21741 : Add st_file_attributes to os.stat_result on Windows.
...
Patch by Ben Hoyt.
2014-06-19 09:46:37 -05:00
Antoine Pitrou
41dcf35c26
Issue #21722 : The distutils "upload" command now exits with a non-zero return code when uploading fails.
...
Patch by Martin Dengler.
2014-06-18 23:09:11 -04:00
Antoine Pitrou
2e4d3b133a
Issue #21722 : The distutils "upload" command now exits with a non-zero return code when uploading fails.
...
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
Victor Stinner
adc7bcb93a
(Merge 3.4) Issue #21723 : asyncio.Queue: support any type of number (ex: float)
...
for the maximum size. Patch written by Vajrasky Kok.
2014-06-17 23:37:35 +02:00
Victor Stinner
66dc6b0f53
Issue #21723 : asyncio.Queue: support any type of number (ex: float) for the
...
maximum size. Patch written by Vajrasky Kok.
2014-06-17 23:36:21 +02:00
Benjamin Peterson
d5d4ef3f18
merge 3.4
2014-06-17 09:45:20 -07:00
Benjamin Peterson
67fbed5d29
add Ammar Brohi for running ssllab's test on python.org and reporting a problem
2014-06-17 09:44:55 -07:00
Terry Jan Reedy
61f1acca55
Add Idle news entries.
2014-06-16 19:26:56 -04:00
Terry Jan Reedy
6637565298
Add Idle news entries.
2014-06-16 19:24:29 -04:00
Victor Stinner
40ee30181f
Issue #21205 : Add a new ``__qualname__`` attribute to generator, the qualified
...
name, and use it in the representation of a generator (``repr(gen)``). The
default name of the generator (``__name__`` attribute) is now get from the
function instead of the code. Use ``gen.gi_code.co_name`` to get the name of
the code.
2014-06-16 15:59:28 +02:00
Nick Coghlan
26171993fe
Merge issue #21669 from 3.4
2014-06-16 19:49:12 +10:00
Nick Coghlan
5b1fdc1e37
Issue #21669 : Special case print & exec syntax errors
2014-06-16 19:48:02 +10:00
Raymond Hettinger
92a4055343
Issue #21774 : Fix incorrect variable in xml.dom.minidom
2014-06-15 14:48:19 -07:00
Benjamin Peterson
ff180af057
merge 3.4 ( #21766 )
2014-06-14 18:41:31 -07:00
Benjamin Peterson
a8c75fe31a
merge 3.3 ( #21766 )
2014-06-14 18:41:13 -07:00
Benjamin Peterson
6cd1954c5c
merge 3.2 ( #21766 )
2014-06-14 18:40:10 -07:00
Benjamin Peterson
73b8b1cdb8
url unquote the path before checking if it refers to a CGI script ( closes #21766 )
2014-06-14 18:36:29 -07:00
Giampaolo Rodola'
892051af95
fix issue #6916 : undocument deprecated asynchat.fifo class.q
2014-06-14 17:03:42 +02:00
Zachary Ware
b2df015b3d
Issue #19493 : Merge with 3.4
2014-06-13 13:48:03 -05:00
Zachary Ware
9422df0924
Issue #19493 : Refactor ctypes test package.
...
Skipped tests are now marked as skipped, formerly commented-out or
renamed-so-it-doesn't-look-like-a-test tests are uncommented, properly named,
and unconditionally skipped, some tests that simply didn't run before
are now able to run, and a few are split into multiple methods instead of
skipping via 'return' in the middle of a method. Also, a couple of unused
files are removed completely.
2014-06-13 13:44:39 -05:00
Antoine Pitrou
9e82b17e9d
Issue #21711 : support for "site-python" directories has now been removed from the site module (it was deprecated in 3.4).
2014-06-12 19:41:30 -04:00
Larry Hastings
d9d7567eac
Issue #21629 : Merge from 3.4.
2014-06-11 04:36:09 -07:00
Larry Hastings
f150378ef0
Issue #21629 : Fix Argument Clinic's "--converters" feature.
2014-06-11 04:31:29 -07:00
Giampaolo Rodola'
915d14190e
fix issue #17552 : add socket.sendfile() method allowing to send a file over a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo Rodola'·
2014-06-11 03:54:30 +02:00
Serhiy Storchaka
b398d33c65
Issue #18039 : dbm.dump.open() now always creates a new database when the
...
flag has the value 'n'. Patch by Claudiu Popa.
2014-06-10 21:16:00 +03:00
Victor Stinner
f10642e8a9
Merge 3.4
2014-06-10 10:26:38 +02:00
Victor Stinner
bb2fc5b2a5
Issue #21326 : Add a new is_closed() method to asyncio.BaseEventLoop
...
Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.
run_forever() and run_until_complete() methods now raise a RuntimeError('Event loop is
closed') exception if the event loop was closed.
BaseProactorEventLoop.close() now also cancels "accept futures".
2014-06-10 10:23:10 +02:00
Serhiy Storchaka
3a56117a60
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:35:43 +03:00
Serhiy Storchaka
f10063e3c3
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:32:34 +03:00
Kushal Das
047f14c3c6
Closes #21256 : Printout of keyword args in deterministic order in mock calls.
...
Printout of keyword args should be in deterministic order in
a mock function call. This will help to write better doctests.
2014-06-09 13:45:56 +05:30
Serhiy Storchaka
85e4235c0e
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:15:42 +03:00
Serhiy Storchaka
8a8f7f9830
Issue #21677 : Fixed chaining nonnormalized exceptions in io close() methods.
2014-06-09 09:13:04 +03:00
Benjamin Peterson
4fb01ffe66
backout 0fb7789b5eeb for test breakage ( #20578 )
2014-06-07 23:18:12 -07:00
Benjamin Peterson
eac219436c
merge 3.4 ( #11709 )
2014-06-07 20:17:29 -07:00
Benjamin Peterson
159824ea2a
make sure the builtin help function doesn't fail when sys.stdin is not a valid file ( closes #11709 )
...
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
2014-06-07 20:14:26 -07:00
Benjamin Peterson
10e847bbc7
add BufferedIOBase.readinto1 ( closes #20578 )
...
Patch by Nikolaus Rath.
2014-06-07 20:06:48 -07:00
Benjamin Peterson
66f80e92c3
merge 3.4 ( #12063 )
2014-06-07 17:55:53 -07:00
Benjamin Peterson
96e0430dfb
document TokenError and unclosed expression behavior ( closes #12063 )
...
Patch by Amandine Lee.
2014-06-07 17:47:41 -07:00
Benjamin Peterson
9d19da701d
merge 3.4 ( #13223 )
2014-06-07 16:47:15 -07:00
Benjamin Peterson
ed1160b39c
don't remove self from example code in the HTML output ( closes #13223 )
...
Patch by Víctor Terrón.
2014-06-07 16:44:00 -07:00
Benjamin Peterson
edb07d28fb
merge 3.4 ( #21463 )
2014-06-07 15:09:36 -07:00
Benjamin Peterson
3c2dca67ac
in ftp cache pruning, avoid changing the size of a dict while iterating over it ( closes #21463 )
...
Patch by Skyler Leigh Amador.
2014-06-07 15:08:04 -07:00
Benjamin Peterson
33919e8423
merge 3.4 ( #21404 )
2014-06-07 12:48:09 -07:00
Benjamin Peterson
9b2731bfdd
document the compress_level argument to tarfile.open ( closes #21404 )
...
Patch by Katherine Busch.
2014-06-07 12:45:37 -07:00
Benjamin Peterson
3e439797ba
merge 3.4 ( #21642 )
2014-06-07 12:39:51 -07:00
Benjamin Peterson
c416162302
allow the keyword else immediately after (no space) an integer ( closes #21642 )
2014-06-07 12:36:39 -07:00
Zachary Ware
3266a8fa59
Issue #21671 : Merge with 3.4
2014-06-06 01:27:34 -05:00
Zachary Ware
7d55da42a4
Issue #21671 , CVE-2014-0224: Update the Windows build to openssl-1.0.1h
2014-06-06 01:23:53 -05:00
Victor Stinner
d967fc9da2
Issue #21515 : tempfile.TemporaryFile now uses os.O_TMPFILE flag is available
2014-06-05 14:27:45 +02:00
Terry Jan Reedy
7497ec0fd0
Merge heads from 3.4.
2014-06-05 03:45:08 -04:00
Terry Jan Reedy
537e2c8632
Issue #18910 : Add unittest for textView. Patch by Phil Webster.
2014-06-05 03:38:34 -04:00
Terry Jan Reedy
13f4aba10b
merge from 3.4
2014-06-04 20:54:43 -04:00
Terry Jan Reedy
7936e6f755
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:59 -04:00
Terry Jan Reedy
24330ffb4d
Merge with 3.4
2014-06-03 20:57:15 -04:00
Terry Jan Reedy
e3fcfc240d
Issue #18409 : Idle: add unittest for AutoComplete. Patch by Phil Webster.
2014-06-03 20:54:21 -04:00
Terry Jan Reedy
15ec11e4e3
Merge with 3.4
2014-06-02 20:43:13 -04:00
Terry Jan Reedy
b52f876767
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
2014-06-02 20:42:56 -04:00
Zachary Ware
e7e1375e57
Issue #18492 : Merge with 3.4
2014-06-02 16:04:25 -05:00
Zachary Ware
66f2928479
Issue #18492 : Allow all resources when tests are not run by regrtest.py.
...
This changeset also includes cleanup allowed by this behavior change.
2014-06-02 16:01:29 -05:00
Victor Stinner
2bc4d95bb6
Issue #21233 : Revert bytearray(int) optimization using calloc()
2014-06-02 22:22:42 +02:00
Victor Stinner
f849f46487
(Merge 3.4) Issue #21634 : Fix pystone micro-benchmark: use floor division
...
instead of true division to benchmark integers instead of floating point
numbers. Set pystone version to 1.2. Patch written by Lennart Regebro.
2014-06-02 14:18:15 +02:00
Victor Stinner
d4d39c761c
Issue #21634 : Fix pystone micro-benchmark: use floor division instead of true
...
division to benchmark integers instead of floating point numbers. Set pystone
version to 1.2. Patch written by Lennart Regebro.
2014-06-02 14:16:44 +02:00
Ned Deily
8f794eef9b
Issue #17095 : Fix Modules/Setup *shared* support.
...
Original patch by Thomas Wouters.
2014-06-02 01:15:32 -07:00
Ned Deily
b166191886
Issue #17095 : Fix Modules/Setup *shared* support.
...
Original patch by Thomas Wouters.
2014-06-02 01:05:29 -07:00
Gregory P. Smith
3fe9e8d5a5
Don't restrict ourselves to a "max" fd when closing fds before exec()
...
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618 : The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:22:12 -07:00
Gregory P. Smith
d4dcb70287
Don't restrict ourselves to a "max" fd when closing fds before exec()
...
when we have a way to get an actual list of all open fds from the OS.
Fixes issue #21618 : The subprocess module would ignore fds that were
inherited by the calling process and already higher than POSIX resource
limits would otherwise allow. On systems with a functioning /proc/self/fd
or /dev/fd interface the max is now ignored and all fds are closed.
2014-06-01 13:18:28 -07:00
Serhiy Storchaka
3ffa7ab2ef
Issue #21605 : Added tests for Tkinter images.
2014-06-01 12:36:39 +03:00
Serhiy Storchaka
694c3153b0
Issue #21605 : Added tests for Tkinter images.
2014-06-01 12:34:56 +03:00
Brett Cannon
2a17bde930
Issue #20383 : Introduce importlib.util.module_from_spec().
...
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
2014-05-30 14:55:29 -04:00
Serhiy Storchaka
1753d2255e
Issue #21552 : Fixed possible integer overflow of too long string lengths in
...
the tkinter module on 64-bit platforms.
2014-05-30 14:25:22 +03:00
Serhiy Storchaka
79851d755b
Issue #21552 : Fixed possible integer overflow of too long string lengths in
...
the tkinter module on 64-bit platforms.
2014-05-30 14:24:03 +03:00
Raymond Hettinger
35db43955c
Issue #13742 : Add key and reverse parameters to heapq.merge()
2014-05-30 02:28:36 -07:00
Gregory P. Smith
e7bfe13635
Fix issue #14315 : The zipfile module now ignores extra fields in the central
...
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:42:47 -07:00
Gregory P. Smith
0af8a86be8
Fix issue #14315 : The zipfile module now ignores extra fields in the central
...
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
2014-05-29 23:42:14 -07:00
Serhiy Storchaka
24604d5b4e
Issue #21402 : tkinter.ttk now works when default root window is not set.
2014-05-28 18:42:05 +03:00
Serhiy Storchaka
b49eff25b7
Issue #21402 : tkinter.ttk now works when default root window is not set.
2014-05-28 18:38:27 +03:00
Serhiy Storchaka
af984de923
Issue #21493 : Added test for ntpath.expanduser(). Original patch by
...
Claudiu Popa.
2014-05-28 18:14:03 +03:00
Serhiy Storchaka
ffc1e6d42b
Issue #21493 : Added test for ntpath.expanduser(). Original patch by
...
Claudiu Popa.
2014-05-28 18:11:29 +03:00
Serhiy Storchaka
9e7cbda1ef
Issue #3015 : _tkinter.create() now creates tkapp object with wantobject=1 by
...
default.
2014-05-28 16:57:55 +03:00
Serhiy Storchaka
3fc6d80fb1
Issue #10203 : sqlite3.Row now truly supports sequence protocol. In particulr
...
it supports reverse() and negative indices. Original patch by Claudiu Popa.
2014-05-28 13:00:59 +03:00
Serhiy Storchaka
47a981337a
Issue #10203 : sqlite3.Row now truly supports sequence protocol. In particulr
...
it supports reverse() and negative indices. Original patch by Claudiu Popa.
2014-05-28 12:58:34 +03:00
Vinay Sajip
f9e77b311f
Issue #18807 : Merged fix from 3.4.
2014-05-28 08:08:32 +01:00
Vinay Sajip
432810f9f3
Issue #18807 : If copying (no symlinks) specified for a venv, then the python interpreter aliases (python, python3) are now created by copying rather than symlinking.
2014-05-28 08:06:24 +01:00
Raymond Hettinger
07e048519b
Issue 21575: Show list.sort() arguments in the tutorial.
2014-05-26 18:44:04 -07:00
Raymond Hettinger
dea46ec965
Issue #21481 : Teach argparse equality tests to return NotImplemented when comparing to unknown types.
2014-05-26 00:43:27 -07:00
Raymond Hettinger
dd5e53a086
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
2014-05-26 00:09:04 -07:00
Raymond Hettinger
2d452ee166
Issue 15246: Improve test coverage for collections.abc.Set. (Contributed by James King).
2014-05-25 18:28:39 -07:00
Raymond Hettinger
62f4dad816
Issue 21137: Better repr for threading.Lock()
2014-05-25 18:22:35 -07:00
Raymond Hettinger
978c6abced
Issue 13355: Make random.triangular degrade gracefully when low == high.
2014-05-25 17:25:27 -07:00
Serhiy Storchaka
89b49a9e30
Issue #19925 : Added tests for the spwd module. Original patch by Vajrasky Kok.
2014-05-25 16:22:20 +03:00
Serhiy Storchaka
7df417d50a
Issue #19925 : Added tests for the spwd module. Original patch by Vajrasky Kok.
2014-05-25 16:21:45 +03:00
Serhiy Storchaka
2f8dca735e
Issue #20197 : Added support for the WebP image type in the imghdr module.
...
Patch by Fabrice Aneche and Claudiu Popa.
2014-05-25 11:45:37 +03:00
Antoine Pitrou
40f6b121c5
Issue #21555 : simplify code in gcmodule.c by using the pytime.h functions instead of trying to call time.time() via the C API.
...
Patch by Geoffrey Spear.
2014-05-24 19:21:53 +02:00
Antoine Pitrou
f573ce9135
Issue #21513 : Speedup some properties of IP addresses (IPv4Address, IPv6Address) such as .is_private or .is_multicast.
2014-05-23 23:12:24 +02:00
Brett Cannon
8447c703d1
Issue #14710 : Fix both pkgutil.find_loader() and get_loader() to not
...
raise an exception when a module doesn't exist.
Thanks to Pavel Aslanov for the bug report.
2014-05-23 12:30:37 -04:00
Serhiy Storchaka
c083537b87
Issue #21538 : The plistlib module now supports loading of binary plist files
...
when reference or offset size is not a power of two.
2014-05-23 16:15:06 +03:00
Serhiy Storchaka
065266450e
Issue #21538 : The plistlib module now supports loading of binary plist files
...
when reference or offset size is not a power of two.
2014-05-23 16:13:33 +03:00
Serhiy Storchaka
a7834d31c7
Move NEWS entry to correct place.
2014-05-23 16:09:04 +03:00
Serhiy Storchaka
475620187b
Issue #21522 : Added Tkinter tests for Listbox.itemconfigure(),
...
PanedWindow.paneconfigure(), and Menu.entryconfigure().
2014-05-23 14:09:34 +03:00
Serhiy Storchaka
f01fffedd1
Issue #21522 : Added Tkinter tests for Listbox.itemconfigure(),
...
PanedWindow.paneconfigure(), and Menu.entryconfigure().
2014-05-23 14:08:43 +03:00
Antoine Pitrou
5c8008e59d
Issue #21523 : Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
...
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:47:32 +02:00
Antoine Pitrou
9961405ed1
Issue #21523 : Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
...
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:46:03 +02:00
Terry Jan Reedy
a52ecc0a02
Merge with 3.4
2014-05-23 00:34:38 -04:00
Terry Jan Reedy
e17de09101
Issue #21545 : Add .pop example and tweak comment about pure mutation methods.
...
Patch prepared by David Harrigan.
2014-05-23 00:34:12 -04:00
Charles-François Natali
644b8f52a8
Issue #21455 : Add a default backlog to socket.listen().
2014-05-22 19:45:39 +01:00
Serhiy Storchaka
2b00c4999d
Issue #21525 : Most Tkinter methods which accepted tuples now accept lists too.
2014-05-21 17:12:21 +03:00
Larry Hastings
5c26a8afbb
Version bump for 3.4.1.
2014-05-17 21:46:35 -07:00
Larry Hastings
3a260d228b
Merge.
2014-05-17 21:05:10 -07:00
Larry Hastings
2110603344
Post-release version bump for 3.4.1rc1. Sorry it's late!
2014-05-17 20:54:44 -07:00
Benjamin Peterson
da89123bd6
merge 3.4 ( #10744 )
2014-05-17 15:07:34 -07:00
Benjamin Peterson
5eb6b39210
support pep 3118 format strings for ctypes objects with nontrivial shapes ( closes #10744 )
...
Patch by Matti Picus.
2014-05-17 14:59:12 -07:00
Eric Snow
3497c0bf95
Issue #21503 : Use test_both() consistently in test_importlib.
2014-05-16 11:40:40 -06:00
Antoine Pitrou
1e71c53463
Issue #20826 : Optimize ipaddress.collapse_addresses().
2014-05-15 20:40:53 +02:00
Antoine Pitrou
824db30b3e
Issue #21487 : Optimize ipaddress.summarize_address_range() and ipaddress.{IPv4Network,IPv6Network}.subnets().
2014-05-15 20:21:48 +02:00
Antoine Pitrou
45aba189c6
Issue #21486 : Optimize parsing of netmasks in ipaddress.IPv4Network and ipaddress.IPv6Network.
2014-05-15 20:18:41 +02:00
Serhiy Storchaka
88d8fb6af6
Issue #13916 : Disallowed the surrogatepass error handler for non UTF-*
...
encodings.
2014-05-15 14:37:42 +03:00