]> granicus.if.org Git - python/log
python
14 years agoIssue #1868: Eliminate subtle timing issues in thread-local objects by
Antoine Pitrou [Sat, 28 Aug 2010 18:17:03 +0000 (18:17 +0000)]
Issue #1868: Eliminate subtle timing issues in thread-local objects by
getting rid of the cached copy of thread-local attribute dictionary.

14 years agoIssue #1512791: In setframerate method of Wave_write, round non-integral
Mark Dickinson [Sat, 28 Aug 2010 17:22:16 +0000 (17:22 +0000)]
Issue #1512791:  In setframerate method of Wave_write, round non-integral
inputs to the nearest integer.  Thanks Neil Tallim for the patch.

14 years agoStop packaging versioncheck.
Martin v. Löwis [Sat, 28 Aug 2010 13:40:10 +0000 (13:40 +0000)]
Stop packaging versioncheck.

14 years agoReplace cabarc with FCICreate.
Martin v. Löwis [Sat, 28 Aug 2010 13:39:09 +0000 (13:39 +0000)]
Replace cabarc with FCICreate.

14 years agoFix various build problems.
Martin v. Löwis [Sat, 28 Aug 2010 13:06:43 +0000 (13:06 +0000)]
Fix various build problems.

14 years agoAdd file needed to make distclean.
Martin v. Löwis [Sat, 28 Aug 2010 07:42:21 +0000 (07:42 +0000)]
Add file needed to make distclean.

14 years agoIssue #9704: Add zlib files necessary to run configure
Martin v. Löwis [Sat, 28 Aug 2010 07:37:05 +0000 (07:37 +0000)]
Issue #9704: Add zlib files necessary to run configure
and make.

14 years agoOSError is the exception raised when one tries to create a directory that
Brett Cannon [Thu, 26 Aug 2010 21:07:13 +0000 (21:07 +0000)]
OSError is the exception raised when one tries to create a directory that
already exists, not IOError.

Part of the continuing saga of issue #9572.

14 years ago#9681: typo.
Georg Brandl [Thu, 26 Aug 2010 14:30:56 +0000 (14:30 +0000)]
#9681: typo.

14 years ago#9689: add links from overview to in-depth class API descriptions.
Georg Brandl [Thu, 26 Aug 2010 14:30:15 +0000 (14:30 +0000)]
#9689: add links from overview to in-depth class API descriptions.

14 years agoFix Issue8797 - Reset the basic auth retry count when response code is not 401.
Senthil Kumaran [Thu, 26 Aug 2010 06:16:22 +0000 (06:16 +0000)]
Fix Issue8797 - Reset the basic auth retry count when response code is not 401.

14 years agobasicsize and itemsize are Py_ssize_t #9688
Benjamin Peterson [Wed, 25 Aug 2010 23:13:17 +0000 (23:13 +0000)]
basicsize and itemsize are Py_ssize_t #9688

14 years agoDisable deletion of openssl again.
Martin v. Löwis [Wed, 25 Aug 2010 22:15:18 +0000 (22:15 +0000)]
Disable deletion of openssl again.

14 years agoIssue 8781: Define SIZEOF_WCHAR_T on Windows
Daniel Stutzbach [Wed, 25 Aug 2010 19:18:59 +0000 (19:18 +0000)]
Issue 8781: Define SIZEOF_WCHAR_T on Windows

14 years agoapparently this test should be gated, too
Benjamin Peterson [Wed, 25 Aug 2010 17:57:04 +0000 (17:57 +0000)]
apparently this test should be gated, too

14 years agothis test is only valid when sizeof(wchar) == Py_UNICODE_SIZE
Benjamin Peterson [Wed, 25 Aug 2010 17:02:22 +0000 (17:02 +0000)]
this test is only valid when sizeof(wchar) == Py_UNICODE_SIZE

14 years agoFix test_sys: set LC_ALL instead of LANG
Victor Stinner [Wed, 25 Aug 2010 08:33:34 +0000 (08:33 +0000)]
Fix test_sys: set LC_ALL instead of LANG

LC_ALL is read before LANG to choose the locale encoding (LC_ALL, LANG and then
LC_CTYPE: use the first non empty variable).

14 years agoIssue #1027206: getnameinfo is now restricted to numeric addresses as input.
Martin v. Löwis [Wed, 25 Aug 2010 07:38:15 +0000 (07:38 +0000)]
Issue #1027206: getnameinfo is now restricted to numeric addresses as input.

14 years ago#1194222: make parsedate always return RFC2822 four character years.
R. David Murray [Wed, 25 Aug 2010 00:45:55 +0000 (00:45 +0000)]
#1194222: make parsedate always return RFC2822 four character years.

Two character years are now converted to four character years using
the Posix standard rule (<68 == 2000, >=68==1900).  This makes the
parsed date RFC2822 compliant even if the input is not.

Patch and test by Jeffrey Finkelstein.

14 years agoDisable test_undecodable_code() of test_sys on Windows
Victor Stinner [Wed, 25 Aug 2010 00:20:27 +0000 (00:20 +0000)]
Disable test_undecodable_code() of test_sys on Windows

This test is irrevelant on Windows

14 years agoFix test_sys for FreeBSD, Solaris and Mac OS X
Victor Stinner [Tue, 24 Aug 2010 23:05:51 +0000 (23:05 +0000)]
Fix test_sys for FreeBSD, Solaris and Mac OS X

_Py_char2wchar() (mbctowcs) decodes b'\xff' to '\xff' on FreeBSD, Solaris and
Mac OS X, even if the locale is C (and the locale encoding is ASCII). Patch
test_undecodable_code() to support this output and document the two different
kinds of outputs.

14 years agoIssue 8781: On systems a signed 4-byte wchar_t and a 4-byte Py_UNICODE, use memcpy...
Daniel Stutzbach [Tue, 24 Aug 2010 21:57:33 +0000 (21:57 +0000)]
Issue 8781: On systems a signed 4-byte wchar_t and a 4-byte Py_UNICODE, use memcpy to convert between the two (as already done when wchar_t is unsigned)

14 years agoremove parens
Benjamin Peterson [Tue, 24 Aug 2010 21:30:14 +0000 (21:30 +0000)]
remove parens

14 years agoFix a bug where an attribute was lacking an object to work off of.
Brett Cannon [Tue, 24 Aug 2010 21:04:05 +0000 (21:04 +0000)]
Fix a bug where an attribute was lacking an object to work off of.

Related to the fix for issue #9572. Thanks to Łukasz Czuja for catching the
bug.

14 years agofurther clarify
Benjamin Peterson [Tue, 24 Aug 2010 21:03:37 +0000 (21:03 +0000)]
further clarify

14 years agoIssue 8750: Fixed MutableSet's methods to correctly handle reflexive operations,...
Daniel Stutzbach [Tue, 24 Aug 2010 20:49:57 +0000 (20:49 +0000)]
Issue 8750: Fixed MutableSet's methods to correctly handle reflexive operations, namely x -= x and x ^= x

14 years agotabbing no longer applicable
Benjamin Peterson [Tue, 24 Aug 2010 18:08:22 +0000 (18:08 +0000)]
tabbing no longer applicable

14 years agoFix #7579. Add docstrings to msvcrt and adjust some wording for bytes.
Brian Curtin [Tue, 24 Aug 2010 05:20:30 +0000 (05:20 +0000)]
Fix #7579. Add docstrings to msvcrt and adjust some wording for bytes.

14 years agoonly catch AttributeError in hasattr() #9666
Benjamin Peterson [Tue, 24 Aug 2010 03:26:23 +0000 (03:26 +0000)]
only catch AttributeError in hasattr() #9666

14 years agofix issue 9129: adds proper error handling on accept() when smtpd accepts new incomin...
Giampaolo Rodolà [Mon, 23 Aug 2010 22:28:13 +0000 (22:28 +0000)]
fix issue 9129: adds proper error handling on accept() when smtpd accepts new incoming connections.

14 years agofix issue 9601: ftplib now provides a workaround for invalid response code returned...
Giampaolo Rodolà [Mon, 23 Aug 2010 22:10:32 +0000 (22:10 +0000)]
fix issue 9601: ftplib now provides a workaround for invalid response code returned on MKD and PWD by non-compliant FTPserver implementations such as ISS shipped with Windows server 2003

14 years agocleanup imports
Benjamin Peterson [Mon, 23 Aug 2010 21:58:59 +0000 (21:58 +0000)]
cleanup imports

14 years agofix issue 658749: correctly interprets asyncore's windows errors on connect()
Giampaolo Rodolà [Mon, 23 Aug 2010 21:53:41 +0000 (21:53 +0000)]
fix issue 658749: correctly interprets asyncore's windows errors on connect()

14 years agoreorder and save a comparison
Benjamin Peterson [Mon, 23 Aug 2010 19:35:39 +0000 (19:35 +0000)]
reorder and save a comparison

14 years agoIssue #9501: Fixed logging regressions in cleanup code.
Vinay Sajip [Mon, 23 Aug 2010 17:50:30 +0000 (17:50 +0000)]
Issue #9501: Fixed logging regressions in cleanup code.

14 years agonews note for last change
Benjamin Peterson [Mon, 23 Aug 2010 17:47:43 +0000 (17:47 +0000)]
news note for last change

14 years agorun total_ordering() tests, and fix the function (default comparisons shouldn't be...
Benjamin Peterson [Mon, 23 Aug 2010 17:40:33 +0000 (17:40 +0000)]
run total_ordering() tests, and fix the function (default comparisons shouldn't be considered)

14 years agoFix builds with builddir != srcdir, introduced in r83988.
Matthias Klose [Mon, 23 Aug 2010 16:47:09 +0000 (16:47 +0000)]
Fix builds with builddir != srcdir, introduced in r83988.
os.path.dirname(__file__) points to the scrdir, not the builddir.
Use os.getcwd() instead.

14 years agoExplicitly pass socket type and family for getaddrinfo,
Martin v. Löwis [Mon, 23 Aug 2010 15:27:26 +0000 (15:27 +0000)]
Explicitly pass socket type and family for getaddrinfo,
to make test work on Solaris.
Disable gethostbyaddr IDNA test for now as there is no
reverse DNS entry for the IPv6 address of the test name.

14 years agoOne of the joys of having test_multiprocessing occasionally execute after
Brett Cannon [Sun, 22 Aug 2010 22:19:11 +0000 (22:19 +0000)]
One of the joys of having test_multiprocessing occasionally execute after
test_importlib is that it discovers special little race conditions. For
instance, it turns out that importlib would throw an exception if two different
Python processes both tried to create the __pycache__ directory as one process
would succeed, causing the other process to fail as it didn't expect to get any
"help". So now importlib simply stays calm and just accepts someone else did
the work of creating the __pycache__ directory for it, moving on with life.

Closes issue #9572.

14 years agoMake sure that no __pycache__ directory is needlessly left behind when testing
Brett Cannon [Sun, 22 Aug 2010 22:11:06 +0000 (22:11 +0000)]
Make sure that no __pycache__ directory is needlessly left behind when testing
imports with an empty string in sys.path.

14 years agoAdd an import lock test for multithreaded circular imports.
Antoine Pitrou [Sun, 22 Aug 2010 20:43:26 +0000 (20:43 +0000)]
Add an import lock test for multithreaded circular imports.
(part of #9657)

14 years agoWhile not strictly necessary thanks to the odd ABC inheritance done through
Brett Cannon [Sun, 22 Aug 2010 20:38:47 +0000 (20:38 +0000)]
While not strictly necessary thanks to the odd ABC inheritance done through
importlib._bootstrap, add the optional methods for importlib.abc.SourceLoader
for completeness.

14 years agoUnder OS X, history_get from readline returns a const char *, but the local
Brett Cannon [Sun, 22 Aug 2010 20:36:25 +0000 (20:36 +0000)]
Under OS X, history_get from readline returns a const char *, but the local
variable the return value is assigned to is char *. Since the assigned-to
variable is never changed, simply make that a const char * and cast all calls
to get_history to const char * to silence the compiler warning (found with
LLVM).

14 years ago#9649: fix default value description.
Georg Brandl [Sun, 22 Aug 2010 20:23:38 +0000 (20:23 +0000)]
#9649: fix default value description.

14 years agoAdded myself to Misc/maintainers.rst for topics on which I'd like to be added to...
Daniel Stutzbach [Sun, 22 Aug 2010 19:41:04 +0000 (19:41 +0000)]
Added myself to Misc/maintainers.rst for topics on which I'd like to be added to the nosy list

14 years agoMention that gethostbyaddr now also supports IDNA.
Martin v. Löwis [Sun, 22 Aug 2010 19:38:04 +0000 (19:38 +0000)]
Mention that gethostbyaddr now also supports IDNA.

14 years agoIssue #1027206: Support IDNA in gethostbyname, gethostbyname_ex and
Martin v. Löwis [Sun, 22 Aug 2010 19:33:47 +0000 (19:33 +0000)]
Issue #1027206: Support IDNA in gethostbyname, gethostbyname_ex and
getaddrinfo. Patch by David Watson.

14 years agoUpdated maintainers.rst to reflect correct Roundup name.
Vinay Sajip [Sun, 22 Aug 2010 18:41:24 +0000 (18:41 +0000)]
Updated maintainers.rst to reflect correct Roundup name.

14 years agoIssue #9512: Made comment more informative.
Vinay Sajip [Sun, 22 Aug 2010 18:11:02 +0000 (18:11 +0000)]
Issue #9512: Made comment more informative.

14 years agoTest that calls to path hooks and meta_path entries are serialized by the import...
Antoine Pitrou [Sun, 22 Aug 2010 10:18:36 +0000 (10:18 +0000)]
Test that calls to path hooks and meta_path entries are serialized by the import lock.
(part of issue #9251)

14 years agoAdd Daniel Stutzbach.
Martin v. Löwis [Sun, 22 Aug 2010 08:46:19 +0000 (08:46 +0000)]
Add Daniel Stutzbach.

14 years agoIssue 8403: Don't mask KeyboardInterrupt during peephole operation.
Raymond Hettinger [Sun, 22 Aug 2010 08:39:49 +0000 (08:39 +0000)]
Issue 8403:  Don't mask KeyboardInterrupt during peephole operation.

14 years agoIssue #9214: Fix set operations on KeysView and ItemsView.
Raymond Hettinger [Sun, 22 Aug 2010 07:44:24 +0000 (07:44 +0000)]
Issue #9214:  Fix set operations on KeysView and ItemsView.

14 years agoRemove usage of rexec in tkinter demo.
Georg Brandl [Sat, 21 Aug 2010 23:20:01 +0000 (23:20 +0000)]
Remove usage of rexec in tkinter demo.

14 years agofix old markup
Benjamin Peterson [Sat, 21 Aug 2010 21:23:28 +0000 (21:23 +0000)]
fix old markup

14 years agoremove obsolete 'import SOCKS' statement
Giampaolo Rodolà [Sat, 21 Aug 2010 20:34:37 +0000 (20:34 +0000)]
remove obsolete 'import SOCKS' statement

14 years agoprovide sample implementations for attrgetter and methodcaller
Benjamin Peterson [Sat, 21 Aug 2010 20:08:36 +0000 (20:08 +0000)]
provide sample implementations for attrgetter and methodcaller

14 years agofix more indentation
Benjamin Peterson [Sat, 21 Aug 2010 20:03:15 +0000 (20:03 +0000)]
fix more indentation

14 years agoindent properly
Benjamin Peterson [Sat, 21 Aug 2010 20:01:28 +0000 (20:01 +0000)]
indent properly

14 years agoIssue #9617: Signals received during a low-level write operation aren't
Antoine Pitrou [Sat, 21 Aug 2010 19:09:32 +0000 (19:09 +0000)]
Issue #9617: Signals received during a low-level write operation aren't
ignored by the buffered IO layer anymore.

14 years agofix smtpd.py I accidentally broke in my previous commit
Giampaolo Rodolà [Sat, 21 Aug 2010 18:58:21 +0000 (18:58 +0000)]
fix smtpd.py I accidentally broke in my previous commit

14 years agorevert changes made in r84236 committed by accident
Giampaolo Rodolà [Sat, 21 Aug 2010 18:47:59 +0000 (18:47 +0000)]
revert changes made in r84236 committed by accident

14 years agofix issue #9129: added proper error handling when accepting new connections in SMTPSe...
Giampaolo Rodolà [Sat, 21 Aug 2010 18:35:05 +0000 (18:35 +0000)]
fix issue #9129: added proper error handling when accepting new connections in SMTPServer.handle_accept

14 years agoAdd info about HTTP/1.1 and Connection:Close header.
Senthil Kumaran [Sat, 21 Aug 2010 16:08:32 +0000 (16:08 +0000)]
Add info about HTTP/1.1 and Connection:Close header.

14 years agoFix a typo in the alias target name for 'macintosh'.
Marc-André Lemburg [Sat, 21 Aug 2010 10:58:31 +0000 (10:58 +0000)]
Fix a typo in the alias target name for 'macintosh'.

14 years agoalias macintosh to mac_roman #843590
Benjamin Peterson [Sat, 21 Aug 2010 02:54:44 +0000 (02:54 +0000)]
alias macintosh to mac_roman #843590

14 years agospeed hack can be implemented more cleanly by directly calling __new__
Benjamin Peterson [Sat, 21 Aug 2010 02:45:15 +0000 (02:45 +0000)]
speed hack can be implemented more cleanly by directly calling __new__

14 years agouse blank object instead
Benjamin Peterson [Sat, 21 Aug 2010 02:43:31 +0000 (02:43 +0000)]
use blank object instead

14 years agoremove outdated comment
Benjamin Peterson [Sat, 21 Aug 2010 02:41:33 +0000 (02:41 +0000)]
remove outdated comment

14 years agoWorkaround issue #8611 in test_undecodable_code() of test_sys
Victor Stinner [Fri, 20 Aug 2010 16:52:14 +0000 (16:52 +0000)]
Workaround issue #8611 in test_undecodable_code() of test_sys

Write test.support.workaroundIssue8611() function so it will be easier to
remove this workaround from all tests.

14 years agotest_undecodable_code(): set locale to C
Victor Stinner [Fri, 20 Aug 2010 16:38:14 +0000 (16:38 +0000)]
test_undecodable_code(): set locale to C

The test is still failing on "x86 FreeBSD 7.2 3.x" and "sparc solaris10 gcc
3.x" buildbots. It looks like the locale encoding is able to decode b'\xff'. I
suppose that it is an encoding like 'iso-8859-1'.

Use C locale to set, I hope, the locale encoding to 'ascii'. Display also the
encoding so if the test fails, at least I will learn the locale encoding
choosen for the C locale.

14 years agotest_main_invalid_unicode() of test_sys: print string as ascii
Victor Stinner [Fri, 20 Aug 2010 11:08:18 +0000 (11:08 +0000)]
test_main_invalid_unicode() of test_sys: print string as ascii

There are buildbot failures on "x86 FreeBSD 3.x" and "sparc solaris10 gcc 3.x".
I suppose that _Py_char2wchar() doesn't fail even if the locale encoding is
unable to decode the byte string, because _Py_char2wchar() has a special mode
for platform without mbrtowc() (ISO C99) function.

Let's check my theory by avoid error on the Python print() instruction.

14 years agoIssue #7077: Fixed bug in previous fix.
Vinay Sajip [Fri, 20 Aug 2010 08:43:22 +0000 (08:43 +0000)]
Issue #7077: Fixed bug in previous fix.

14 years agoRemove long-redundant plat-win from sys.path on Windows
Tim Golden [Fri, 20 Aug 2010 08:31:26 +0000 (08:31 +0000)]
Remove long-redundant plat-win from sys.path on Windows

14 years agoIssue #7077: Fixed SysLogHandler implementation of Unicode handling.
Vinay Sajip [Thu, 19 Aug 2010 22:20:22 +0000 (22:20 +0000)]
Issue #7077: Fixed SysLogHandler implementation of Unicode handling.

14 years agoAdd tests for r84209 (crashes in the Ast builder)
Amaury Forgeot d'Arc [Thu, 19 Aug 2010 21:32:38 +0000 (21:32 +0000)]
Add tests for r84209 (crashes in the Ast builder)
Also remove one tab, and move a check closer to the possible failure.

14 years agoIssue #9606: Updated documentation for Filter objects.
Vinay Sajip [Thu, 19 Aug 2010 19:17:41 +0000 (19:17 +0000)]
Issue #9606: Updated documentation for Filter objects.

14 years agoFix Issue9639 - reset the retry count on successful auth.
Senthil Kumaran [Thu, 19 Aug 2010 17:50:31 +0000 (17:50 +0000)]
Fix Issue9639 - reset the retry count on successful auth.

14 years agoCheck the return values for all functions returning an ast node.
Amaury Forgeot d'Arc [Thu, 19 Aug 2010 17:43:15 +0000 (17:43 +0000)]
Check the return values for all functions returning an ast node.
Failure to do it may result in strange error messages or even crashes,
in admittedly convoluted cases that are normally syntax errors, like:
    def f(*xx, __debug__): pass

14 years agotest_pep277: display the filename as ascii on failure
Victor Stinner [Thu, 19 Aug 2010 17:35:00 +0000 (17:35 +0000)]
test_pep277: display the filename as ascii on failure

14 years agoSkip test_encodings() of test_os on Windows and Mac OS X
Victor Stinner [Thu, 19 Aug 2010 17:22:57 +0000 (17:22 +0000)]
Skip test_encodings() of test_os on Windows and Mac OS X

14 years agotest_main_invalid_unicode() of test_sys displays stderr on failure
Victor Stinner [Thu, 19 Aug 2010 17:18:12 +0000 (17:18 +0000)]
test_main_invalid_unicode() of test_sys displays stderr on failure

14 years agoFix os.get_exec_path() (code and tests) for python -bb
Victor Stinner [Thu, 19 Aug 2010 17:10:18 +0000 (17:10 +0000)]
Fix os.get_exec_path() (code and tests) for python -bb

Catch BytesWarning exceptions.

14 years agoPYTHONFSENCODING is not available on Windows or Mac OS X
Victor Stinner [Thu, 19 Aug 2010 11:36:43 +0000 (11:36 +0000)]
PYTHONFSENCODING is not available on Windows or Mac OS X

14 years agoOoops, finish test_sys fix: use expected variable
Victor Stinner [Thu, 19 Aug 2010 11:30:09 +0000 (11:30 +0000)]
Ooops, finish test_sys fix: use expected variable

14 years agoFix test_sys about fs encoding for Windows and Mac OS X
Victor Stinner [Thu, 19 Aug 2010 11:23:47 +0000 (11:23 +0000)]
Fix test_sys about fs encoding for Windows and Mac OS X

 * Check fs encoding value on Windows
 * Ignore LANG= test on Windows and Mac OS X (fs encoding is hardcoded on these
   platforms)

14 years agoFix test_os: workaround #8611 bug
Victor Stinner [Thu, 19 Aug 2010 11:17:12 +0000 (11:17 +0000)]
Fix test_os: workaround #8611 bug

14 years agoDecode NIS data to fs encoding, using the surrogate error handler.
Martin v. Löwis [Thu, 19 Aug 2010 09:11:51 +0000 (09:11 +0000)]
Decode NIS data to fs encoding, using the surrogate error handler.

14 years agoFix Issue9638 - remove dead code from py3k imaplib
Senthil Kumaran [Thu, 19 Aug 2010 07:02:20 +0000 (07:02 +0000)]
Fix Issue9638 - remove dead code from py3k imaplib

14 years agoCreate os.fsdecode(): decode from the filesystem encoding with surrogateescape
Victor Stinner [Thu, 19 Aug 2010 01:05:19 +0000 (01:05 +0000)]
Create os.fsdecode(): decode from the filesystem encoding with surrogateescape
error handler, or strict error handler on Windows.

 * Rewrite os.fsencode() documentation
 * Improve os.fsencode and os.fsdecode() tests using the new PYTHONFSENCODING
   environment variable

14 years agowhat's new 3.2: use :mod:
Victor Stinner [Wed, 18 Aug 2010 23:41:33 +0000 (23:41 +0000)]
what's new 3.2: use :mod:

14 years agotest_sys: move tests at the right place
Victor Stinner [Wed, 18 Aug 2010 22:44:15 +0000 (22:44 +0000)]
test_sys: move tests at the right place

filesystem encoding is not related to sys.sizeof()

14 years agoFix typo
Éric Araujo [Wed, 18 Aug 2010 22:35:23 +0000 (22:35 +0000)]
Fix typo

14 years ago#7647: add ST_RDONLY, ST_NOSUID constants to os module.
Andrew M. Kuchling [Wed, 18 Aug 2010 22:30:34 +0000 (22:30 +0000)]
#7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)

14 years agoFix indentation level
Éric Araujo [Wed, 18 Aug 2010 22:29:54 +0000 (22:29 +0000)]
Fix indentation level

14 years agoFix PyUnicode_EncodeFSDefault() indentation
Victor Stinner [Wed, 18 Aug 2010 22:26:50 +0000 (22:26 +0000)]
Fix PyUnicode_EncodeFSDefault() indentation

14 years agoImprove error message if the command is not decodable
Victor Stinner [Wed, 18 Aug 2010 22:23:22 +0000 (22:23 +0000)]
Improve error message if the command is not decodable

14 years agoAdd more tests to unicodedata with large code points
Amaury Forgeot d'Arc [Wed, 18 Aug 2010 22:07:15 +0000 (22:07 +0000)]
Add more tests to unicodedata with large code points
(the other functions where not affected by the recent change)

14 years agoFix reindent-rst.py: it works on binary files
Victor Stinner [Wed, 18 Aug 2010 21:59:12 +0000 (21:59 +0000)]
Fix reindent-rst.py: it works on binary files