Victor Stinner
04ba966eab
test_httplib: fix a DeprecationWarning, assertEquals=>assertEqual
2011-01-04 00:04:46 +00:00
Victor Stinner
7a6a0093f3
test_array: fix the DeprecationWarning('object.__init__() takes no parameters')
2011-01-04 00:04:44 +00:00
Antoine Pitrou
23683ef26d
Issue #10333 : Remove ancient GC API, which has been deprecated since
...
Python 2.2.
2011-01-04 00:00:31 +00:00
Victor Stinner
cae969e70a
fix test_unittest: ignore DeprecationWarning on assertDictContainsSubset()
2011-01-03 23:56:12 +00:00
Antoine Pitrou
47f14bade8
Un-complicate some code
2011-01-03 23:42:01 +00:00
Antoine Pitrou
dcdc3b4c5d
Add some more output
2011-01-03 22:24:52 +00:00
Antoine Pitrou
c43ec08baf
Temporary debug output for intermittent failures in test_subprocess
2011-01-03 22:12:43 +00:00
Antoine Pitrou
95aaeee59a
Add a subprocess test of remapping standard file descriptors (issue #1187 ).
2011-01-03 21:15:48 +00:00
Gregory P. Smith
4d41968904
news for 6643
2011-01-03 21:09:23 +00:00
Gregory P. Smith
96c886ce96
issue6643 - Two locks held within the threading module on each thread instance
...
needed to be reinitialized after fork(). Adds tests to confirm that they are
and that a potential deadlock and crasher bug are fixed (platform dependant).
2011-01-03 21:06:12 +00:00
Antoine Pitrou
68530ac3c0
Mention --randseed in option list
2011-01-03 20:40:07 +00:00
Antoine Pitrou
3c4402f879
Issue #6293 : Have regrtest.py echo back sys.flags. This is done by default
...
in whole runs and enabled selectively using `--header` when running an
explicit list of tests. Original patch by Collin Winter.
2011-01-03 20:38:52 +00:00
Michael Foord
751ba4cfac
Update description of Tools/unicode
2011-01-03 19:13:02 +00:00
Antoine Pitrou
f3fcd9f163
Issue #7716 : Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
...
the configure script but use $GREP instead. Patch by Fabian Groffen.
2011-01-03 18:53:50 +00:00
Antoine Pitrou
c9c83ba896
Issue #10806 , issue #9905 : Fix subprocess pipes when some of the standard
...
file descriptors (0, 1, 2) are closed in the parent process. Initial
patch by Ross Lagerwall.
2011-01-03 18:23:55 +00:00
Éric Araujo
63ebe1c309
Fix test_site for systems without unsetenv. Reported by Zsolt Cserna.
2011-01-03 17:51:11 +00:00
Michael Foord
32e1d8340c
Enable unittest.TestCase to be instantiated without providing a method name.
...
Changed unittestgui to show number of discovered tests in the status bar.
2011-01-03 17:00:11 +00:00
Victor Stinner
faa8c13ef4
test_subprocess: close pipes at the end of test_pipe_cloexec_real_tools()
2011-01-03 16:36:00 +00:00
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