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
Éric Araujo
4c0b7070ce
Squash last tempdir leak in packaging tests.
...
Sweet taste of victory! Alexis, you can fix the threads leaks :)
2011-09-19 20:57:52 +02:00
Jesus Cea
a372de8408
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 17:11:26 +02:00
Jesus Cea
bc566b00ad
Close #13007 : whichdb should recognize gdbm 1.9 magic numbers
2011-09-19 17:08:18 +02:00
Éric Araujo
1cbd2ab404
Avoid matching '' or 'yn' when asking for 'y' or 'n' in interactive code
2011-09-19 16:21:37 +02:00
Éric Araujo
becf1c5857
Branch merge
2011-09-19 16:10:26 +02:00
Nick Coghlan
2496f331a7
Close issue 12958 by flagging expected failures in test_socket on Mac OS X
2011-09-19 20:26:31 +10:00
Éric Araujo
28df8de6af
Make regrtest look at internal dicts in sysconfig.
...
This reveals problems in the packaging test suite, which I’ll look
into after the regrtest checks are made more usable (see #12314 ).
2011-09-19 05:10:45 +02:00
Éric Araujo
505f0ebf88
Final bag of small changes coming from distutils2.
...
- minor cleanup in Metadata
- trigger creation of the sysconfig._CONFIG_VARS dict
- home_page is used over home-page: it’s not a compound word, it’s an
escaped space
Distutils2 is now synchronized with Packaging.
2011-09-19 15:12:23 +02:00
Éric Araujo
c1b7e7f8bb
A few style changes originally done in the distutils2 repo
2011-09-18 23:12:30 +02:00
Éric Araujo
f30b5ae6fd
Replace cmp function with key function
2011-09-18 21:03:24 +02:00
Éric Araujo
cc06ad187d
Fix typo and wording
2011-09-18 20:36:19 +02:00