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
Victor Stinner
fcbeab57d0
Issue #21488 : Oops, the patch for codecs.encode/decode doc was written by
...
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.
2014-05-14 23:29:38 +02:00
Serhiy Storchaka
2e03a0a8a7
Issue #20998 : Fixed re.fullmatch() of repeated single character pattern
...
with ignore case. Original patch by Matthew Barnett.
2014-05-14 21:51:37 +03:00
Serhiy Storchaka
429b59ec69
Issue #20998 : Fixed re.fullmatch() of repeated single character pattern
...
with ignore case. Original patch by Matthew Barnett.
2014-05-14 21:48:17 +03:00
Serhiy Storchaka
b9183bb4fd
Issue #21075 : fileinput.FileInput now reads bytes from standard stream if
...
binary mode is specified. Patch by Sam Kimbrel.
2014-05-14 21:11:08 +03:00
Serhiy Storchaka
946cfc3e23
Issue #21075 : fileinput.FileInput now reads bytes from standard stream if
...
binary mode is specified. Patch by Sam Kimbrel.
2014-05-14 21:08:33 +03:00
Victor Stinner
ef5b4e3dc3
Issue #21488 : Fix doc of codecs.decode() and codecs.encode(), no keyword support.
...
Patch written by Brad Aylsworth.
2014-05-14 17:08:45 +02:00
Raymond Hettinger
23042cda40
Issue #21470 : Do a better job seeding the random number generator
...
to fully cover its state space.
2014-05-13 22:13:40 -07:00
Eric Snow
e1c9e5270a
Merge from 3.4 (for #21499 ).
2014-05-13 12:18:07 -06:00
Eric Snow
2f46a0e8be
Issue #21499 : Ignore __builtins__ in several test_importlib.test_api tests.
2014-05-13 12:15:42 -06:00
doko@ubuntu.com
987831c945
Merge from 3.4:
...
- Issue #17756 : Fix test_code test when run from the installed location.
2014-05-13 11:30:17 +02:00
doko@ubuntu.com
15bec9cb3f
- Issue #17756 : Fix test_code test when run from the installed location.
2014-05-13 11:28:12 +02:00
Antoine Pitrou
43e3d9409d
Issue #19775 : Add a samefile() method to pathlib Path objects.
...
Initial patch by Vajrasky Kok.
2014-05-13 10:50:15 +02:00
Raymond Hettinger
51669d8c18
merge
2014-05-12 22:05:09 -07:00
Raymond Hettinger
8cc67a1b42
Issue 21469: Add missing news item
2014-05-12 22:01:46 -07:00
Eric Snow
b7f1be309e
Merge from 3.4 (for #21226 ).
2014-05-12 18:25:00 -06:00
Victor Stinner
38d3d22b29
(Merge 3.4) Issue #21398 : Fix an unicode error in the pydoc pager when the
...
documentation contains characters not encodable to the stdout encoding.
2014-05-13 02:06:33 +02:00
Victor Stinner
0cc45baa3d
Issue #21398 : Fix an unicode error in the pydoc pager when the documentation
...
contains characters not encodable to the stdout encoding.
2014-05-13 02:05:35 +02:00
Eric Snow
08197a4616
Issue #21226 : Set all attrs in PyImport_ExecCodeModuleObject.
2014-05-12 17:54:55 -06:00
Victor Stinner
470cf8dfbe
(Merge 3.4) Issue #21418 : Fix a crash in the builtin function super() when
...
called without argument and without current frame (ex: embedded Python).
2014-05-13 01:32:54 +02:00
Victor Stinner
1c6970fac9
Issue #21418 : Fix a crash in the builtin function super() when called without
...
argument and without current frame (ex: embedded Python).
2014-05-13 01:32:36 +02:00
Antoine Pitrou
5fb195f854
Issue #16531 : ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses.
2014-05-12 20:36:46 +02:00
Terry Jan Reedy
70371fcb56
Issue #18104 : News for 3.4, in proper place.
2014-05-11 23:47:31 -04:00
Terry Jan Reedy
96089fb40d
Issue #18104 : News for 3.4 (which will not merge forward).
2014-05-11 23:42:43 -04:00
Raymond Hettinger
234fb2d503
Issue 21424: Apply the nlargest() optimizations to nsmallest() as well.
2014-05-11 14:21:23 -07:00
Antoine Pitrou
1c33280c95
Issue #21425 : Fix flushing of standard streams in the interactive interpreter.
2014-05-11 13:43:31 +02:00
Antoine Pitrou
9845c7ebc5
Issue #21425 : Fix flushing of standard streams in the interactive interpreter.
2014-05-11 13:42:17 +02:00