Commit Graph

44963 Commits

Author SHA1 Message Date
Victor Stinner a3abd1d240 pydoc: close the DocServer when done 2011-01-03 16:12:39 +00:00
Victor Stinner 2b69506c79 Issue #10816: multiprocessing.SocketClient() closes the socket on error
Use a context manager to close immediatly the socket on error.
2011-01-03 15:47:59 +00:00
Michael Foord 90efac7f37 Issue 10502: addition of unittestgui to Tools/ 2011-01-03 15:39:49 +00:00
Victor Stinner 1d5eb3425b test_socket: use context managers to close directly the socket
Fix ResourceWarning(unclosed socket) warnings. Patch written by Nadeem Vawda.
2011-01-03 14:30:46 +00:00
Victor Stinner a935e8ffc6 test_xmlrpc: close the transport when done
Fix a ResourceWarning(unclosed socket). Patch written by Nadeem Vawda.
2011-01-03 14:30:44 +00:00
Victor Stinner 270fe40831 test_tkinter: use a context manager to close directly the pipe
Patch written by Nadeem Vawda
2011-01-03 14:30:43 +00:00
Victor Stinner 5c85e3f390 test_timeout: move testRecvfromTimeout() to a UDP-specific test case
Fix a ResourceWarning(unclosed socket).
2011-01-03 14:30:41 +00:00
Victor Stinner 109761ba07 test_sockserver: close servers when done 2011-01-03 14:30:39 +00:00
Michael Foord d218e956d2 Issue 10786: unittest documentation update. 2011-01-03 12:55:11 +00:00
Senthil Kumaran e33b7c61b1 Reverting the mistaken commit r87677. Checked in py3rsa.py by mistake. 2011-01-03 10:11:07 +00:00
Senthil Kumaran 6993d579ce py3k implmentation of RSA algorithm, 2011-01-03 09:47:09 +00:00
Brian Quinlan 1d1df8257f Removes the 'Call' class which is used to control execution order and is unreliable on Windows 2011-01-03 02:56:39 +00:00
Raymond Hettinger ff72816b5f Supply a reduce method for pickling. 2011-01-03 02:44:14 +00:00
Raymond Hettinger 426e052a4f Make C helper function more closely match the pure python version, and add tests. 2011-01-03 02:12:02 +00:00
Martin v. Löwis 23eaa70057 Skip hanging test. 2011-01-03 00:19:59 +00:00
Amaury Forgeot d'Arc a251a853c7 #8278: In the Windows implementation of stat() and utime(),
use time_t instead of int.  This gives support for dates after 2038,
at least when compiled with VS2003 or later, where time_t is 64bit.
2011-01-03 00:19:11 +00:00
Martin v. Löwis 9f6d48ba4e Issue #10798: Reject supporting concurrent.futures if the system has
too few POSIX semaphores.
2011-01-03 00:07:01 +00:00
Georg Brandl e10608cf5d #8013 follow-up:
* In asctime and ctime, properly remove the newline if the year has more than four digits
* Consistent error message for both functions
* Fix the test comments and add a check for the removed newline
2011-01-02 22:33:43 +00:00
Alexander Belopolsky 3e913c9ecf Issue #8013: Fixed test 2011-01-02 22:16:10 +00:00
Antoine Pitrou e1bc898216 Some nits. 2011-01-02 22:12:22 +00:00
Antoine Pitrou b205d58d0d Add a shutdown() call in the server example. 2011-01-02 22:09:27 +00:00
Antoine Pitrou 4a67a46543 Clarify behaviour of close() and shutdown() on sockets. 2011-01-02 22:06:53 +00:00
Gregory P. Smith abcfcba61c issue10802: fallback to pipe+fcntl when the pipe2 syscall fails with errno ENOSYS. 2011-01-02 20:52:48 +00:00
Alexander Belopolsky e2dc082294 Issue #8013: Fixed time.asctime segfault when OS's asctime fails 2011-01-02 20:48:22 +00:00
Antoine Pitrou ece919eb0f Fix bad quoting in r87639. Caught by Arfrever. 2011-01-02 20:45:21 +00:00
Victor Stinner b6f424043d Issue #10807: Remove base64, bz2, hex, quopri, rot13, uu and zlib codecs from
the codec aliases. They are still accessible via codecs.lookup().
2011-01-02 19:50:36 +00:00
Antoine Pitrou c224458ef6 Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
and DragonFly BSD.  Patch by Nicolas Joly.
2011-01-02 19:34:03 +00:00
Georg Brandl 8a7e5daab2 Fix code indentation. 2011-01-02 19:07:51 +00:00
Antoine Pitrou d8f37ad196 Relax test condition a lot 2011-01-02 16:16:09 +00:00
Georg Brandl 121ff8235b #1665333: add more docs for optparse.OptionGroup. 2011-01-02 14:23:43 +00:00
Raymond Hettinger 00d43fd056 Fix doctest to not rely on order of dictionary entries.
Use super() instead of direct references to the dict superclass.
2011-01-02 08:03:33 +00:00
Raymond Hettinger 345c49b16b Fix OrderedDic.pop() to work for subclasses that define __missing__(). 2011-01-01 23:51:55 +00:00
Raymond Hettinger 32062e9be7 Make it easier to extend OrderedDict without breaking it. 2011-01-01 22:38:00 +00:00
Gregory P. Smith 60db46758f post release bump 2011-01-01 21:18:46 +00:00
Benjamin Peterson 834cb394c3 update copyright to 2011 2011-01-01 14:28:31 +00:00
Georg Brandl 04480a8ae5 #10801: do not actually extract, just open() the files in the test zipfile. 2011-01-01 10:42:31 +00:00
Georg Brandl 5ba11de845 #10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky. 2011-01-01 10:09:32 +00:00
Georg Brandl d30a0dd681 Fix issue references. 2011-01-01 10:07:30 +00:00
Terry Reedy 554e6fa86d Issue 6285: add NEWS entry for 3.2. 2011-01-01 02:54:11 +00:00
Terry Reedy 6739cc0821 Issue 6285: catch missing IDLE help file. 2011-01-01 02:25:36 +00:00
Raymond Hettinger 8dff4bada7 Typo. 2010-12-31 23:23:06 +00:00
Raymond Hettinger a673b1fd0e Fix OrderedDict.setdefault() to work for subclasses that define __missing__(). 2010-12-31 23:16:17 +00:00
Georg Brandl ed13853e5d Happy New Year! (CET edition) 2010-12-31 23:00:03 +00:00
R. David Murray 1daaf9e68e #9361: add some tests for calendar.leapdays
Patch by John Chandler.
2010-12-31 19:21:14 +00:00
Vinay Sajip 7b0e86ef17 Issue #10788: Changed test_logging setUp logic to provide more information. 2010-12-30 23:26:50 +00:00
Georg Brandl 81f3d7bcd0 Update README, remove empty directory. 2010-12-30 22:32:49 +00:00
Georg Brandl 076cbae4b9 Add the missing __main__.py in the turtledemo package. It seems to have been lost during some mass rename action (r86095). 2010-12-30 22:31:10 +00:00
Georg Brandl 59b44721e3 Remove mentions of the Demo directory. 2010-12-30 22:12:40 +00:00
Georg Brandl 856898b395 Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo. 2010-12-30 22:11:50 +00:00
Georg Brandl a3fe8e0b9f Remove the actual Demo dir. 2010-12-30 21:33:49 +00:00