Ned Deily
093e66e7f0
Issue #21811 : Add Misc/NEWS entry.
2014-06-29 23:51:55 -07: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
297d104248
Issue #21858 : Better handling of Python exceptions in the sqlite3 module.
2014-06-26 23:32:00 +02: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
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
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
6f6922c090
Add news entry for #21832
2014-06-24 18:11:48 -07: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
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
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
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
504f5c36ef
Issue #21491 : socketserver: Fix a race condition in child processes reaping.
2014-06-20 22:37:35 +01: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
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
Terry Jan Reedy
6637565298
Add Idle news entries.
2014-06-16 19:24:29 -04: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
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
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
Larry Hastings
f150378ef0
Issue #21629 : Fix Argument Clinic's "--converters" feature.
2014-06-11 04:31:29 -07: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
f10063e3c3
Issue #21310 : Fixed possible resource leak in failed open().
2014-06-09 13:32:34 +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
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
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
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
c416162302
allow the keyword else immediately after (no space) an integer ( closes #21642 )
2014-06-07 12:36:39 -07: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
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
7936e6f755
Issue #18292 : Idle - test AutoExpand. Patch by Saihadhav Heblikar.
2014-06-04 20:50:59 -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
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
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
b166191886
Issue #17095 : Fix Modules/Setup *shared* support.
...
Original patch by Thomas Wouters.
2014-06-02 01:05:29 -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
694c3153b0
Issue #21605 : Added tests for Tkinter images.
2014-06-01 12:34:56 +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
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
b49eff25b7
Issue #21402 : tkinter.ttk now works when default root window is not set.
2014-05-28 18:38:27 +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
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
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
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
978c6abced
Issue 13355: Make random.triangular degrade gracefully when low == high.
2014-05-25 17:25:27 -07: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
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