Charles-François Natali
8619cd7376
Issue #13001 : Fix test_socket.testRecvmsgTrunc failure on FreeBSD < 8, which
...
doesn't always set the MSG_TRUNC flag when a truncated datagram is received.
2011-10-03 19:43:15 +02:00
Charles-François Natali
87b3c92b5b
Introduce support.requires_freebsd_version decorator.
2011-10-03 19:40:37 +02:00
Antoine Pitrou
22cd021656
Fix ResourceWarnings in the TIPC socket tests.
2011-10-02 23:37:41 +02:00
Antoine Pitrou
86aed0bbc6
Fix ResourceWarnings in the TIPC socket tests.
2011-10-02 23:33:19 +02:00
Charles-François Natali
027f9a3600
Issue #13084 : Fix a test_signal failure: the delivery order is only defined for
...
real-time signals.
2011-10-02 18:36:05 +02:00
R David Murray
1d30db459d
merge #4147 : minidom's toprettyxml no longer adds whitespace to text nodes.
2011-10-01 16:22:35 -04:00
R David Murray
791744b070
#4147 : minidom's toprettyxml no longer adds whitespace to text nodes.
...
Patch by Dan Kenigsberg.
2011-10-01 16:19:51 -04:00
Antoine Pitrou
a02a12c517
Issue #13034 : When decoding some SSL certificates, the subjectAltName extension could be unreported.
2011-10-01 19:22:30 +02:00
Antoine Pitrou
d8c347a8de
Issue #13034 : When decoding some SSL certificates, the subjectAltName extension could be unreported.
2011-10-01 19:20:25 +02:00
Victor Stinner
07ac3ebd7b
Optimize unicode_subtype_new(): don't encode to wchar_t and decode from wchar_t
...
Rewrite unicode_subtype_new(): allocate directly the right type.
2011-10-01 16:16:43 +02:00
Benjamin Peterson
811c2f1369
remove "fast-path" for (i)adding strings
...
These were just an artifact of the old unicode concatenation hack and likely
just penalized other kinds of adding. Also, this fixes __(i)add__ on string
subclasses.
2011-09-30 21:31:21 -04:00
Victor Stinner
8dba4e004f
array module uses the new Unicode API
...
* Use Py_UCS4* buffer instead of Py_UNICODE*
* Use "I" or "L" format, instead of "u" format
2011-09-30 00:51:10 +02:00
Victor Stinner
ef17f12a39
Fix test_codeccallbacks for Windows: check size of wchar_t, not sys.maxunicode
2011-09-29 20:01:55 +02:00
Victor Stinner
182d90d9ee
Fix test_codecs for Windows: check size of wchar_t, not sys.maxunicode
2011-09-29 19:53:55 +02:00
Martin v. Löwis
ff1ef074ed
Re-enable test.
2011-09-29 13:49:10 +02:00
Ezio Melotti
9d3579b7d6
Remove now useless redefinition of chr/ord for narrow builds in test_multibytecodec_support.py.
2011-09-29 04:36:38 +03:00
Ezio Melotti
f503673c4d
Move UCS4-specific tests with the "normal" tests.
2011-09-29 03:14:56 +03:00
Ezio Melotti
48a2f8fd97
#13054 : sys.maxunicode is now always 0x10FFFF.
2011-09-29 00:18:19 +03:00
Benjamin Peterson
e56717c3d2
merge heads
2011-09-28 10:48:40 -04:00
Benjamin Peterson
19f6260710
this isn't fixed on windows yet...
2011-09-28 10:48:32 -04:00
Ezio Melotti
d8b509b192
#13012 : use splitlines(keepends=True/False) instead of splitlines(0/1).
2011-09-28 17:37:55 +03:00
Benjamin Peterson
a6e50f589f
this test works as expected now
2011-09-28 08:20:00 -04:00
Benjamin Peterson
e28544ad5f
revert unintended change
2011-09-28 08:19:25 -04:00
Benjamin Peterson
9c6e6a0c7f
don't check that the first character is XID_Continue
...
Current, XID_Continue is a superset of XID_Start, but that may sometime change.
2011-09-28 08:09:05 -04:00
Victor Stinner
d83f226d93
test_ctypes: Windows is no more a special case
2011-09-28 13:36:20 +02:00
Martin v. Löwis
287eca658d
Fix struct sizes. Drop -1, since the resulting string was actually the largest one
...
that could be allocated.
2011-09-28 10:03:28 +02:00
Martin v. Löwis
f02aa65acb
Use compile() instead of eval().
2011-09-28 09:22:13 +02:00
Martin v. Löwis
0c9fe4d109
Use eval instead of codecs.lookup to trigger UTF-8 generation.
2011-09-28 09:15:11 +02:00
Martin v. Löwis
d63a3b8beb
Implement PEP 393.
2011-09-28 07:41:54 +02:00
Charles-François Natali
dc863ddf79
Issue #12981 : rewrite multiprocessing_{sendfd,recvfd} in Python.
2011-09-24 20:04:29 +02:00
Mark Dickinson
0d5f6adbb3
Issue #13012 : Allow 'keepends' to be passed as a keyword argument in str.splitlines, bytes.splitlines and bytearray.splitlines.
2011-09-24 09:14:39 +01:00
Victor Stinner
a1fe1f8dcf
Merge 3.2: Issue #7732 : Don't open a directory as a file anymore while
...
importing a module. Ignore the direcotry if its name matchs the module name
(e.g. "__init__.py") and raise a ImportError instead.
2011-09-23 18:59:08 +02:00
Victor Stinner
53ffdc53bf
Issue #7732 : Don't open a directory as a file anymore while importing a
...
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.
2011-09-23 18:54:40 +02:00
Victor Stinner
92c144ee72
Merge 3.2: Issue #12931 : Add a test with Unicode URI to test_xmlrpc
2011-09-23 01:31:04 +02:00
Victor Stinner
da6eb5305f
Issue #12931 : Add a test with Unicode URI to test_xmlrpc
2011-09-23 01:29:44 +02:00
Charles-François Natali
9089b7956b
Fix a race condition in test_socket.ThreadableTest: the client is reported
...
ready before having been set up.
2011-09-21 22:05:01 +02:00
Charles-François Natali
a49ed7650a
Fix a race condition in test_socket.ThreadableTest: the client is reported as
...
ready before having been set up.
2011-09-21 22:03:58 +02:00
Charles-François Natali
fba2b6b454
Issue #12981 : test_multiprocessing: catch ImportError when importing
...
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
2011-09-21 18:49:18 +02:00
Charles-François Natali
e51c8dad1a
Issue #12981 : test_multiprocessing: catch ImportError when importing
...
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
2011-09-21 18:48:21 +02:00
Éric Araujo
9c0cccf363
Branch merge
2011-09-21 16:36:08 +02:00
Éric Araujo
dd2d55c8a1
Remove two unneeded attributes in packaging
2011-09-21 16:28:03 +02:00
Jesus Cea
41c98a3207
Close #13022 : _multiprocessing.recvfd() doesn't check that file descriptor was actually received
2011-09-21 03:56:05 +02:00
Jesus Cea
4507e6456e
Close #13022 : _multiprocessing.recvfd() doesn't check that file descriptor was actually received
2011-09-21 03:53:25 +02:00
Meador Inge
1c9f0c93ad
Issue #1172711 : Add 'long long' support to the array module.
...
Initial patch by Oren Tirosh and Hirokazu Yamamoto.
2011-09-20 19:55:51 -05:00
Victor Stinner
4ad6ed7d4d
Merge 3.2: test_multiprocessing removes temporary files
2011-09-21 01:12:59 +02:00
Victor Stinner
d0b10a6435
test_multiprocessing removes temporary files
2011-09-21 01:10:29 +02:00
Victor Stinner
c61fae04f6
Merge 3.2: test_httplib removes temporary files
2011-09-21 01:09:29 +02:00
Victor Stinner
18d15cb665
test_httplib removes temporary files
2011-09-21 01:09:04 +02:00
Charles-François Natali
bc8f08216e
Issue #12981 : test_multiprocessing: catch ImportError when importing
...
multiprocessing.reduction, which may not be available (e.g. if the OS doesn't
support FD passing over Unix domain sockets).
2011-09-20 20:36:51 +02:00
Charles-François Natali
225aa4f8ec
Issue #12996 : multiprocessing.connection: transmit the header in network byte
...
order (endpoints machines can have different endianness).
2011-09-20 19:27:39 +02:00