Berker Peksag
0242f79051
Issue #19447 : Use importlib.util.cache_from_source() instead of ``bad_coding + 'c'``.
...
Thanks to Arfrever Frehtes Taifersar Arahesis.
2014-08-22 20:52:15 +03:00
Berker Peksag
31f8a677a4
Issue #19447 : Add a test case to py_compile.compile() to make sure
...
it don't raise an exception if doraise is False.
Patch by Bohuslav "Slavek" Kabrda.
2014-08-22 20:17:32 +03:00
Brett Cannon
14ad5319d9
Issue #22191 : Fix warnings.__all__.
...
Thanks to Jon Poler for the patch.
2014-08-22 10:44:47 -04:00
Senthil Kumaran
a969ae2e11
Fix issue22245 - Fix urllib2_localnet test.
...
Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
2014-08-22 16:26:21 +05:30
Senthil Kumaran
783737625d
Fix Issue #8797 : Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
2014-08-20 07:53:58 +05:30
Terry Jan Reedy
c1a723a0b3
Idle ColorDelegator: remove special case code for 'as' in import statements.
...
'As' became a full keyword when with statements were added in 2.5/2.6.
2014-08-19 17:17:57 -04:00
Serhiy Storchaka
996c3deafe
Fixed typo.
2014-08-19 18:20:23 +03:00
Serhiy Storchaka
76b47655ff
Issue #15696 : Add a __sizeof__ implementation for mmap objects on Windows.
2014-08-19 17:11:20 +03:00
Serhiy Storchaka
d6ec309c36
Clean up test_user_command.
2014-08-18 17:47:29 +03:00
Benjamin Peterson
0c56bb97ea
remove 2.2 and 2.6 compat code ( closes #22200 )
...
Patch from Thomas Kluyver.
2014-08-17 23:00:42 -05:00
Serhiy Storchaka
d9e9528818
Issue #22165 : Fixed test_undecodable_filename on Mac OS.
2014-08-17 16:57:39 +03:00
Serhiy Storchaka
87bbf257ef
Issue #22068 : Avoided reference loops with Variables and Fonts in Tkinter.
2014-08-17 15:31:59 +03:00
Serhiy Storchaka
97f17ff840
Issue #22201 : Command-line interface of the zipfile module now correctly
...
extracts ZIP files with directory entries. Patch by Ryan Wilson.
2014-08-17 15:14:48 +03:00
Serhiy Storchaka
a64ce5d744
Issue #22165 : Fixed test_undecodable_filename on non-UTF-8 locales.
2014-08-17 12:20:02 +03:00
Serhiy Storchaka
cb5bc408ad
Issue #22165 : SimpleHTTPRequestHandler now supports undecodable file names.
2014-08-17 08:22:11 +03:00
Senthil Kumaran
402df0975c
backout changeset 3435c5865cfc due to buildbot failures. Ref #8797
2014-08-16 22:52:37 +05:30
Victor Stinner
7869a4e03a
Closes #22188 : test_gdb now runs gdb with -nx: "Do not execute commands from
...
any .gdbinit initialization files".
2014-08-16 14:38:02 +02:00
Victor Stinner
8e7966b00e
Closes #22205 : sys._debugmallocstats is a cpython specific feature, so
...
test_debugmallocstats should be marked as such. Patch written by Martin
Matusiak.
2014-08-16 14:11:01 +02:00
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
Terry Jan Reedy
f819ef74da
Issue #22065 : Update turtledemo menu creation; don't use obsolete Menubutton.
2014-08-15 01:23:02 -04:00
Terry Jan Reedy
011b55b8d7
#22053 : actually remove .txt files from 3.4.
2014-08-15 00:55:42 -04:00
Terry Jan Reedy
94ee51ed9e
Issue #10291 : Backport 004fe3449193 with a few changes due to 22095.
...
Will forward port 22095 changes separately.
2014-08-14 23:59:32 -04:00
Terry Jan Reedy
0726ddf449
Issue #17390 : Adjust Editor window title. Remove 'Python', move version to end.
2014-08-14 21:54:43 -04: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
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
4d58897fdb
Issue 22184: Early detection and reporting of missing lru_cache parameters
2014-08-12 12:44:52 -07:00
Serhiy Storchaka
4d83192ea0
Decreased memory requirements of new tests added in issue21448.
2014-08-12 20:22:48 +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
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
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
Victor Stinner
6d201685e4
Close #22175 : Improve test_faulthandler readability with dedent.
...
Patch written by Xavier de Gaye.
2014-08-10 19:50:08 +02:00
Serhiy Storchaka
4f06d604c4
Issue #22161 : Conformed arguments type checks in ctype to actually supported
...
types. Corrected error messages about bytes arguments.
2014-08-09 09:33:05 +03:00
Terry Jan Reedy
da26cca1ce
Issue #14105 : Stop removing breakpoints from Idle editors.
...
Move BREAK tag configuration to PyShellEditorWindow.
2014-08-08 23:33:16 -04:00
Zachary Ware
5a794c16d9
Issue #22060 : Clean up/simplify test_ctypes, use test discovery
2014-08-08 13:32:16 -05:00
Serhiy Storchaka
41ad77c697
Issue #20056 : Fixed deprecation warning about bytes path in test_shutil on
...
Windows. Path by Vajrasky Kok.
2014-08-07 19:38:37 +03:00
Ezio Melotti
1241c47aa2
#22092 : use absolute imports in unittest tests. Patch by Vajrasky Kok.
2014-08-07 03:20:22 +03:00
Ezio Melotti
12b7f48216
#11955 : show the list of args in case of error in test_argparse.
2014-08-05 02:24:03 +03: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
d577480197
#20977 : fix undefined name in the email module. Patch by Rose Ames.
2014-08-04 17:16:49 +03:00
Terry Jan Reedy
4036d87f4d
PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
...
a, b in arg lists, and hanging indents for long arg lists.
2014-08-03 23:02:58 -04:00
Terry Jan Reedy
2240533b9f
Issue #22068 : Don't create self reference cycles in idlelib.ConfigDialog.
2014-07-30 19:24:32 -04: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
Serhiy Storchaka
95a9e0bf8c
Issue #21951 : Temporary skip crashing test_user_command on AIX.
2014-07-30 10:59:46 +03:00
Victor Stinner
9c9f1f10d3
Close #22063 : socket operations (socket,recv, sock_sendall, sock_connect,
...
sock_accept) now raise an exception in debug mode if sockets are in blocking
mode.
2014-07-29 23:08:17 +02:00
Victor Stinner
f2ed889027
asyncio: Use the new os.set_blocking() function of Python 3.5 if available
2014-07-29 23:08:00 +02:00
Victor Stinner
313a980904
asyncio: sync with Tulip
...
* _WaitHandleFuture.cancel() now notify IocpProactor through the overlapped
object that the wait was cancelled.
* Optimize IocpProactor.wait_for_handle() gets the result if the wait is
signaled immediatly.
* Enhance representation of Future and Future subclasses
- Add "created at filename:lineno" in the representation
- Add Future._repr_info() method which can be more easily overriden than
Future.__repr__(). It should now be more easy to enhance Future
representation without having to modify each subclass. For example,
_OverlappedFuture and _WaitHandleFuture get the new "created at" information.
- Use reprlib to format Future result, and function arguments when formatting a
callback, to limit the length of the representation.
* Fix repr(_WaitHandleFuture)
* _WaitHandleFuture and _OverlappedFuture: hide frames of internal calls in the
source traceback.
* Cleanup ProactorIocp._poll(): set the timeout to 0 after the first call to
GetQueuedCompletionStatus()
* test_locks: close the temporary event loop and check the condition lock
* Remove workaround in test_futures, no more needed
2014-07-29 12:58:23 +02:00
Terry Jan Reedy
7e55db2bc5
Issue #17172 : Add the ability to run turtledemo from Idle.
...
Make turtledemo start as active on Mac even when run with subprocess.
Patch by Ramchandra Apt, Lita Cho, and Ned Daily.
2014-07-28 22:23:59 -04:00
Victor Stinner
c61c170b41
Issue #18174 : Fix leak of file descriptor in test_tempfile
2014-07-29 01:13:39 +02:00
Victor Stinner
623138c163
Issue #11453 , #18174 : Fix leak of file descriptor in test_asyncore
2014-07-29 01:01:09 +02:00
Victor Stinner
0970657f01
Fix sporadic failure of test_pep277 on Windows: use support.rmtree() instead of
...
deltree().
2014-07-29 00:40:50 +02:00