Antoine Pitrou
ee763e2acc
Issue #11564 : Avoid crashes when trying to pickle huge objects or containers
...
(more than 2**31 items). Instead, in most cases, an OverflowError is raised.
2011-08-29 23:14:53 +02:00
Antoine Pitrou
82be19f889
Issue #11564 : Avoid crashes when trying to pickle huge objects or containers
...
(more than 2**31 items). Instead, in most cases, an OverflowError is raised.
2011-08-29 23:09:33 +02:00
Antoine Pitrou
76f570a9c6
Make tests faster by reaping threads only at the end
2011-08-28 01:24:22 +02:00
Antoine Pitrou
d54fa555cb
Make tests faster by reaping threads only at the end
2011-08-28 01:23:52 +02:00
Nick Coghlan
513886aabb
Fix #12835 : prevent use of the unencrypted sendmsg/recvmsg APIs on SSL wrapped sockets (Patch by David Watson)
2011-08-28 00:00:27 +10:00
Nadeem Vawda
a89c32ccd9
Merge: Make regrtest complain when -M and -j are used together.
...
-j doesn't pass the memlimit on to child processes, so this doesn't work at
present, and even if it did, running multiple bigmem tests at once would
usually not be desirable (since you generally want to devote as much of the
available RAM as possible to each test).
2011-08-27 15:24:23 +02:00
Nadeem Vawda
c1fba3ea0c
Make regrtest complain when -M and -j are used together.
...
-j doesn't pass the memlimit on to child processes, so this doesn't work at
present, and even if it did, running multiple bigmem tests at once would
usually not be desirable (since you generally want to devote as much of the
available RAM as possible to each test).
2011-08-27 15:22:05 +02:00
Antoine Pitrou
0a95b43723
Followup to cdc6c1b072a5: I forgot to "hg add" the test files
2011-08-25 15:01:15 +02:00
Antoine Pitrou
4fd1e6a3ba
Issue #12803 : SSLContext.load_cert_chain() now accepts a password argument
...
to be used if the private key is encrypted. Patch by Adam Simpkins.
2011-08-25 14:39:44 +02:00
Charles-François Natali
a045c05878
Issue #12656 : Really fix test_asyncore failures on Windows buildbots...
2011-08-25 01:22:50 +02:00
Charles-François Natali
e3540b47d1
Issue #12656 : Fix test_asyncore failures on Windows buildbots.
2011-08-25 00:50:41 +02:00
Charles-François Natali
e78cbecaf1
Issue #12656 : Add tests for IPv6 and Unix sockets to test_asyncore.
2011-08-24 23:24:05 +02:00
Antoine Pitrou
7a084105a0
Merge
2011-08-23 19:49:13 +02:00
Antoine Pitrou
162fee109b
Issue #11657 : Fix sending file descriptors over 255 over a multiprocessing Pipe.
...
Also added some tests.
2011-08-23 19:48:34 +02:00
Charles-François Natali
6cea35a8e3
Issue #12821 : Fix test_fcntl failures on OpenBSD 5.
2011-08-23 19:46:46 +02:00
Antoine Pitrou
bcb39d4846
Issue #11657 : Fix sending file descriptors over 255 over a multiprocessing Pipe.
...
Also added some tests.
2011-08-23 19:46:22 +02:00
Antoine Pitrou
5bd8b8d80f
A warning doesn't equate a failed test
...
(this broken -F with e.g. test_multiprocessing)
2011-08-23 19:32:26 +02:00
Nick Coghlan
5fab03fd15
Remove the SSLSocket versions of sendmsg/recvmsg due to lack of proper tests and documentation in conjunction with lack of any known use cases (see issue #6560 for details)
2011-08-23 22:26:44 +10:00
Ezio Melotti
83feff5686
#6484 : refactor a bit the tests.
2011-08-23 01:39:22 +03:00
Sandro Tosi
91f948a734
#12191 : fix build failures, explicitly passing group argument when I want to test it
2011-08-22 23:55:39 +02:00
Ezio Melotti
a3fbde3504
Merge indentation fix and skip decorator with 3.2.
2011-08-23 00:40:09 +03:00
Ezio Melotti
a5c92b4714
Fix indentation and add a skip decorator.
2011-08-23 00:37:08 +03:00
Sandro Tosi
d902a14dd0
#12191 : add shutil.chown() to change user and/or group owner of a given path also specifying their names.
2011-08-22 23:28:27 +02:00
Ezio Melotti
6f2a683a0c
#9200 : merge with 3.2.
2011-08-22 20:31:11 +03:00
Ezio Melotti
93e7afc5d9
#9200 : The str.is* methods now work with strings that contain non-BMP characters even in narrow Unicode builds.
2011-08-22 14:08:38 +03:00
Nadeem Vawda
3d1706fa83
Fix deprecation warnings in test_socket.
2011-08-22 09:46:56 +02:00
Nick Coghlan
029ba2b8cd
Add unit tests for the mailcap module. Patch by Gregory Nofi ( closes #6484 )
2011-08-22 16:05:44 +10:00
Nick Coghlan
96fe56abec
Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. ( Closes #6560 )
2011-08-22 11:55:57 +10:00
Charles-François Natali
7b911cb621
Issue #12783 : Fix test_posix failures on FreeBSD buildbots, due to
...
sched_setparam() returning EINVAL for processes with SCHED_OTHER scheduling
policy.
2011-08-21 12:41:43 +02:00
Victor Stinner
e67474725b
Issue #12326 : refactor usage of sys.platform
...
* Use str.startswith(tuple): I didn't know this Python feature, Python rocks!
* Replace sometimes sys.platform.startswith('linux') with
sys.platform == 'linux'
* sys.platform doesn't contain the major version on Cygwin on Mac OS X
(it's just 'cygwin' and 'darwin')
2011-08-21 00:39:18 +02:00
Antoine Pitrou
e8bb1a0229
Issue #12213 : Fix a buffering bug with interleaved reads and writes that
...
could appear on BufferedRandom streams.
2011-08-20 14:52:04 +02:00
Antoine Pitrou
e05565ec5a
Issue #12213 : Fix a buffering bug with interleaved reads and writes that
...
could appear on BufferedRandom streams.
2011-08-20 14:39:23 +02:00
Antoine Pitrou
8fd544ffa9
Issue #12791 : Break reference cycles early when a generator exits with an exception.
2011-08-20 14:18:25 +02:00
Antoine Pitrou
a370fcf3b2
Issue #12791 : Break reference cycles early when a generator exits with an exception.
2011-08-20 14:15:03 +02:00
Antoine Pitrou
107d65d144
Fix typo in test names
2011-08-19 20:33:11 +02:00
Antoine Pitrou
20db51108c
Fix typo in test names
2011-08-19 20:32:34 +02:00
Antoine Pitrou
df7fc9dda7
Issue #12778 : Reduce memory consumption when JSON-encoding a large container of many small objects.
2011-08-19 18:03:14 +02:00
Nadeem Vawda
74adbaa7bd
Merge: Fix ResourceWarnings in test_subprocess.
2011-08-19 05:14:40 +02:00
Nadeem Vawda
0d7cda3e63
Fix ResourceWarnings in test_subprocess.
2011-08-19 05:12:01 +02:00
Charles-François Natali
2736c5d47c
Issue #12650 : fix failures on some buildbots, when a subprocess takes a long
...
time to spawn.
2011-08-19 00:25:07 +02:00
Charles-François Natali
72d161af51
Issue #12650 : fix failures on some buildbots, when a subprocess takes a long
...
time to spawn.
2011-08-19 00:24:00 +02:00
Benjamin Peterson
c07f3be4e0
merge 3.2
2011-08-18 13:55:31 -05:00
Charles-François Natali
134a8baed9
Issue #12650 : Fix a race condition where a subprocess.Popen could leak
...
resources (FD/zombie) when killed at the wrong time.
2011-08-18 18:49:39 +02:00
Victor Stinner
9c3de4a883
Issue #12326 : don't test the major version of sys.platform
...
Use startswith, instead of ==, when testing sys.platform to support
new platforms like Linux 3 or OpenBSD 5.
2011-08-17 20:49:41 +02:00
Benjamin Peterson
01fc6cd056
make __doc__ mutable on heaptypes ( closes #12773 )
2011-08-17 12:03:47 -05:00
Benjamin Peterson
af3dcd2f98
improve test name
2011-08-17 11:48:23 -05:00
Benjamin Peterson
c4085c8470
complain when a class variable shadows a name in __slots__ ( closes #12766 )
2011-08-16 18:53:26 -05:00
Benjamin Peterson
ae6ae025d1
some *nixes decided not to call init process 1 ( closes #12763 )
2011-08-16 17:46:04 -05:00
Ezio Melotti
269e3ee3db
#12266 : merge with 3.2.
2011-08-15 09:26:28 +03:00
Ezio Melotti
ee8d998ecf
#12266 : Fix str.capitalize() to correctly uppercase/lowercase titlecased and cased non-letter characters.
2011-08-15 09:09:57 +03:00