Victor Stinner
08b523a194
MultibyteCodec_Decode() catchs PyUnicode_AS_UNICODE() failures
2011-12-01 03:18:30 +01:00
Victor Stinner
3ba82aa765
c-api: Replace PyUnicodeObject* by PyObject* in "U" format doc
2011-12-01 02:52:55 +01:00
Victor Stinner
ee450093a9
PyCodec_IgnoreErrors() avoids the deprecated "u#" format
2011-12-01 02:52:11 +01:00
Victor Stinner
db88ae5d66
PyObject_Repr() ensures that the result is a ready Unicode string
...
And PyObject_Str() and PyObject_Repr() don't make strings ready in debug
mode to ensure that the caller makes the string ready before using it.
2011-12-01 02:15:00 +01:00
Nadeem Vawda
59bb0e077f
Credit Per Øyvind Karlsen for the initial implementation of the lzma module (issue #6715 ).
2011-12-01 01:18:27 +02:00
Antoine Pitrou
97ba26bf72
Issue #1040439 : better document how to compile and link an embedded Python interpreter.
...
Still lacks docs for Windows (anyone?).
2011-11-30 21:20:01 +01:00
Antoine Pitrou
71bca3495d
Issue #1040439 : better document how to compile and link an embedded Python interpreter.
...
Still lacks docs for Windows (anyone?).
2011-11-30 21:19:21 +01:00
Nadeem Vawda
44ae4a2a22
Make error handling in BZ2File.{readable,seekable,writable,fileno} consistent with TextIOWrapper.
...
Also, add tests for these methods.
2011-11-30 17:39:30 +02:00
Nadeem Vawda
3ff069ebc6
Issue #6715 : Add module for compression using the LZMA algorithm.
2011-11-30 00:25:06 +02:00
Victor Stinner
551ac95733
Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macros
...
And use surrogates macros everywhere in unicodeobject.c
2011-11-29 22:58:13 +01:00
Antoine Pitrou
7b578b3d89
Mention hashable memoryviews, and reformat.
2011-11-29 22:47:11 +01:00
Antoine Pitrou
0599b5b2a1
Add subheaders to make PEP 393 description clearer
2011-11-29 22:45:07 +01:00
Éric Araujo
c8e032006a
Merge 3.2
2011-11-29 17:14:27 +01:00
Éric Araujo
a74f8ef419
Fix inspect.getmodule to use a copy of sys.modules for iteration ( #13487 ).
...
This fixes a regression compared to 2.x, where sys.modules.items()
returns a copy, as indicated by a comment in the source. Diagnosis and
patch by Erik Tollerud.
2011-11-29 16:58:53 +01:00
Éric Araujo
c4d7d8c49d
Mark up constants in sockets docs as such
2011-11-29 16:46:38 +01:00
Éric Araujo
e1886bfaf4
Fix instructions on how to rebuild some modules
2011-11-29 16:45:34 +01:00
Éric Araujo
ff91306127
Add a regrtest cleanup check for shutil registries
2011-11-29 16:45:07 +01:00
Éric Araujo
a2b89e364f
Fix last remaining references to ex-devguide
2011-11-29 16:36:17 +01:00
Éric Araujo
2bddc53cb9
Fix typo ( #13467 )
2011-11-29 16:34:58 +01:00
Victor Stinner
aa35b00322
cleanup setup.py for curses options
2011-11-29 00:08:12 +01:00
Victor Stinner
5d7c9aba29
(Merge 3.2) Fix curses module for strict SysV implementation (without has_key function)
2011-11-29 00:06:10 +01:00
Victor Stinner
b9bb1f4db3
Fix curses module for strict SysV implementation (without has_key function)
2011-11-29 00:03:50 +01:00
Antoine Pitrou
1439c77417
Merge test_xmlrpc_net fixes (issue #13434 )
2011-11-28 21:15:22 +01:00
Antoine Pitrou
f1c141b7fb
Fix resource warning in test_xmlrpc_net
2011-11-28 21:14:46 +01:00
Antoine Pitrou
5a88c38fab
Issue #13434 : skip the time.xmlrpc.com test, and reenable the buildbot test.
2011-11-28 21:12:24 +01:00
Antoine Pitrou
39a73a4cfa
Issue #7111 : Python can now be run without a stdin, stdout or stderr stream.
...
It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).
2011-11-28 19:09:45 +01:00
Antoine Pitrou
11942a58a1
Issue #7111 : Python can now be run without a stdin, stdout or stderr stream.
...
It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).
2011-11-28 19:08:36 +01:00
Meador Inge
31b798d3c8
Issue #12618 : py_compile cannot create files in current directory
...
Initial patch by Sjoerd de Vries.
2011-11-28 09:34:47 -06:00
Meador Inge
22b9b37915
Issue #12618 : py_compile cannot create files in current directory
...
Initial patch by Sjoerd de Vries.
2011-11-28 09:27:32 -06:00
Victor Stinner
d1b097f884
Issue #13415 : test_curses skips unencodable characters
2011-11-28 07:26:19 +01:00
Charles-François Natali
eee0e44164
Null merge.
2011-11-27 12:50:15 +01:00
Charles-François Natali
7be8f68d37
Issue #13415 : Skip test_os.test_unset_error on FreeBSD and OS X.
2011-11-27 12:49:27 +01:00
Charles-François Natali
9cbe9c5b17
Null merge.
2011-11-27 12:42:30 +01:00
Charles-François Natali
6613c18ea2
Issue #13415 : Test in configure if unsetenv() has a return value or not.
2011-11-27 12:41:06 +01:00
Jesus Cea
66f412e4dc
MERGE: Closes issue #13488 : Some old preprocessors have problem with #define not in the first column
2011-11-27 05:17:14 +01:00
Jesus Cea
6d47db31f0
Closes issue #13488 : Some old preprocessors have problem with #define not in the first column
2011-11-27 05:16:22 +01:00
Victor Stinner
756c6ecdc4
Issue #13415 : Help to locate curses.h when _curses module is linked to ncursesw
2011-11-27 00:19:53 +01:00
Antoine Pitrou
5604ef3e36
Issue #13444 : When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.
...
This also adds a test for issue #5319 , whose resolution introduced the issue.
2011-11-26 22:02:29 +01:00
Antoine Pitrou
d7c8fbf89e
Issue #13444 : When stdout has been closed explicitly, we should not attempt to flush it at shutdown and print an error.
...
This also adds a test for issue #5319 , whose resolution introduced the issue.
2011-11-26 21:59:36 +01:00
Meador Inge
59ff2c5640
Issue #12618 : fix py_compile unit tests to handle different drives on Windows
2011-11-26 11:39:49 -06:00
Meador Inge
fb36b3f6a0
Issue #12618 : fix py_compile unit tests to handle different drives on Windows
2011-11-26 11:37:02 -06:00
Giampaolo Rodola'
6a5dcd4b2a
sched.py: fix test_queue by making sure that queue property returns an orderd list of upcoming events
2011-11-26 12:17:42 +01:00
Charles-François Natali
2966f10ec0
Issue #13415 : Skip test_os.test_unset_error on FreeBSD < 7 and OS X < 10.6
...
(where unsetenv() doesn't return a value).
2011-11-26 11:32:46 +01:00
Meador Inge
261a6d7c21
Issue #12618 : create unit tests for the py_compile module
2011-11-25 23:40:53 -06:00
Meador Inge
6f16660ca7
Issue #12618 : create unit tests for the py_compile module
2011-11-25 23:36:48 -06:00
Meador Inge
4bc45b7a9f
Issue #13380 : add an internal function for resetting the ctypes caches
2011-11-25 22:37:44 -06:00
Meador Inge
11e381310b
Issue #13380 : add an internal function for resetting the ctypes caches
2011-11-25 22:33:32 -06:00
Antoine Pitrou
4d098735c6
Some libcs' snprintf may output a leading minus sign when %p-formatting
...
(should fix a failure on the OpenIndiana AMD64 buildbot)
2011-11-26 01:42:03 +01:00
Antoine Pitrou
c366117820
Merge heads
2011-11-26 01:13:12 +01:00
Antoine Pitrou
f0effe6379
Better resolution for issue #11849 : Ensure that free()d memory arenas are really released
...
on POSIX systems supporting anonymous memory mappings. Patch by Charles-François Natali.
2011-11-26 01:11:02 +01:00