Commit Graph

5199 Commits

Author SHA1 Message Date
Victor Stinner
9802b39c12 PYTHONFSENCODING is not available on Windows or Mac OS X 2010-08-19 11:36:43 +00:00
Martin v. Löwis
5ea823cf55 Decode NIS data to fs encoding, using the surrogate error handler. 2010-08-19 09:11:51 +00:00
Andrew M. Kuchling
4ea04a306f #7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)
2010-08-18 22:30:34 +00:00
Victor Stinner
398356baaa Improve error message if the command is not decodable 2010-08-18 22:23:22 +00:00
Victor Stinner
94908bbc15 Issue #8622: Add PYTHONFSENCODING environment variable to override the
filesystem encoding.

initfsencoding() displays also a better error message if get_codeset() failed.
2010-08-18 21:23:25 +00:00
Antoine Pitrou
b85e165635 Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by
Matthew Ahrens.
2010-08-18 21:05:19 +00:00
Martin v. Löwis
dfaf9ec93a Restore GIL in nis_cat in case of error. 2010-08-18 16:12:23 +00:00
Antoine Pitrou
19467d27ff Clean some 64-bit issues. Also, always spell "ssize_t" "Py_ssize_t". 2010-08-17 19:33:30 +00:00
Antoine Pitrou
554f33407c Fix <deque iterator>.__length_hint__() under 64-bit Windows. 2010-08-17 18:30:06 +00:00
Giampaolo Rodolà
ccfb91c89f fix issue #8866: parameters passed to socket.getaddrinfo can now be specified as single keyword arguments. 2010-08-17 15:30:23 +00:00
Nick Coghlan
d26c18adcc Issue #8202: Set sys.argv[0] to -m rather than -c while searching for the module to execute. Also updates all the cmd_line_script tests to validate the setting of sys.path[0] and the current working directory 2010-08-17 13:06:11 +00:00
Victor Stinner
028dd97dfb Issue #9425: zipimporter_repr() uses unicode 2010-08-17 00:04:48 +00:00
Victor Stinner
60fe8d902d Issue #9425: get_data() uses an unicode path 2010-08-16 23:48:11 +00:00
Amaury Forgeot d'Arc
844807ead2 r82659 reintroduced some tab characters. Untabify again. 2010-08-16 22:16:51 +00:00
Alexander Belopolsky
977a684c94 Issue #8983: Corrected docstrings. 2010-08-16 20:17:07 +00:00
Alexander Belopolsky
e29e6bffb5 Issue #665761: functools.reduce() will no longer mask exceptions other
than TypeError raised by the iterator argument.  Also added a test to
check that zip() already behaves similarly.
2010-08-16 18:55:46 +00:00
Victor Stinner
2460a43a65 Issue #9425: read_directory() is fully unicode compliant
zipimport is now able to load a module with an unencodable filename.
2010-08-16 17:54:28 +00:00
Antoine Pitrou
4045575dd5 Fix more 64-bit warnings. 2010-08-15 18:51:10 +00:00
Antoine Pitrou
22e4155706 Fix other warnings under 64-bit Windows. 2010-08-15 18:07:50 +00:00
Victor Stinner
e039ffe41d Issue #9605: posix.getlogin() decodes the username with file filesystem
encoding and surrogateescape error handler. Patch written by David Watson.

Reindent also posix_getlogin(), and fix a typo in the NEWS file.
2010-08-15 09:33:08 +00:00
Victor Stinner
61ec5dca2b Issue #9604: posix.initgroups() encodes the username using the fileystem
encoding and surrogateescape error handler. Patch written by David Watson.
2010-08-15 09:22:44 +00:00
Victor Stinner
5fe6de8c72 Issue #9603: posix.ttyname() and posix.ctermid() decode the terminal name
using the filesystem encoding and surrogateescape error handler. Patch
written by David Watson.
2010-08-15 09:12:51 +00:00
Senthil Kumaran
64d010c990 Removing the comment lines for the modules which were made to build statically. 2010-08-15 03:59:07 +00:00
Victor Stinner
2b8dab7050 Issue #9425: zipimporter_init() is fully unicode compliant 2010-08-14 14:54:10 +00:00
Antoine Pitrou
99773acf38 Fix indentation in Modules/getpath.c 2010-08-14 12:34:41 +00:00