Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove long-redundant plat-win from sys.path on Windows | Tim Golden | 2010-08-20 | 1 | -1/+1 |
| | |||||
* | Issue #7077: Fixed SysLogHandler implementation of Unicode handling. | Vinay Sajip | 2010-08-19 | 1 | -10/+4 |
| | |||||
* | Add tests for r84209 (crashes in the Ast builder) | Amaury Forgeot d'Arc | 2010-08-19 | 2 | -3/+31 |
| | | | | Also remove one tab, and move a check closer to the possible failure. | ||||
* | Issue #9606: Updated documentation for Filter objects. | Vinay Sajip | 2010-08-19 | 1 | -0/+7 |
| | |||||
* | Fix Issue9639 - reset the retry count on successful auth. | Senthil Kumaran | 2010-08-19 | 1 | -2/+9 |
| | |||||
* | Check the return values for all functions returning an ast node. | Amaury Forgeot d'Arc | 2010-08-19 | 1 | -26/+27 |
| | | | | | | 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 | ||||
* | test_pep277: display the filename as ascii on failure | Victor Stinner | 2010-08-19 | 1 | -1/+4 |
| | |||||
* | Skip test_encodings() of test_os on Windows and Mac OS X | Victor Stinner | 2010-08-19 | 1 | -0/+2 |
| | |||||
* | test_main_invalid_unicode() of test_sys displays stderr on failure | Victor Stinner | 2010-08-19 | 1 | -4/+3 |
| | |||||
* | Fix os.get_exec_path() (code and tests) for python -bb | Victor Stinner | 2010-08-19 | 2 | -5/+12 |
| | | | | Catch BytesWarning exceptions. | ||||
* | PYTHONFSENCODING is not available on Windows or Mac OS X | Victor Stinner | 2010-08-19 | 3 | -8/+16 |
| | |||||
* | Ooops, finish test_sys fix: use expected variable | Victor Stinner | 2010-08-19 | 1 | -1/+1 |
| | |||||
* | Fix test_sys about fs encoding for Windows and Mac OS X | Victor Stinner | 2010-08-19 | 1 | -17/+22 |
| | | | | | | * Check fs encoding value on Windows * Ignore LANG= test on Windows and Mac OS X (fs encoding is hardcoded on these platforms) | ||||
* | Fix test_os: workaround #8611 bug | Victor Stinner | 2010-08-19 | 1 | -2/+9 |
| | |||||
* | Decode NIS data to fs encoding, using the surrogate error handler. | Martin v. Löwis | 2010-08-19 | 2 | -9/+20 |
| | |||||
* | Fix Issue9638 - remove dead code from py3k imaplib | Senthil Kumaran | 2010-08-19 | 1 | -15/+0 |
| | |||||
* | Create os.fsdecode(): decode from the filesystem encoding with surrogateescape | Victor Stinner | 2010-08-19 | 5 | -34/+95 |
| | | | | | | | | 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 | ||||
* | what's new 3.2: use :mod: | Victor Stinner | 2010-08-18 | 1 | -4/+4 |
| | |||||
* | test_sys: move tests at the right place | Victor Stinner | 2010-08-18 | 1 | -56/+57 |
| | | | | filesystem encoding is not related to sys.sizeof() | ||||
* | Fix typo | Éric Araujo | 2010-08-18 | 2 | -3/+3 |
| | |||||
* | #7647: add ST_RDONLY, ST_NOSUID constants to os module. | Andrew M. Kuchling | 2010-08-18 | 5 | -1/+25 |
| | | | | (Also fix a name ordering in the ACKS file.) | ||||
* | Fix indentation level | Éric Araujo | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Fix PyUnicode_EncodeFSDefault() indentation | Victor Stinner | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Improve error message if the command is not decodable | Victor Stinner | 2010-08-18 | 2 | -1/+5 |
| | |||||
* | Add more tests to unicodedata with large code points | Amaury Forgeot d'Arc | 2010-08-18 | 1 | -0/+2 |
| | | | | (the other functions where not affected by the recent change) | ||||
* | Fix reindent-rst.py: it works on binary files | Victor Stinner | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Issue #8622: Add PYTHONFSENCODING environment variable to override the | Victor Stinner | 2010-08-18 | 7 | -34/+93 |
| | | | | | | filesystem encoding. initfsencoding() displays also a better error message if get_codeset() failed. | ||||
* | Fix stupid typo in test. | Amaury Forgeot d'Arc | 2010-08-18 | 1 | -2/+2 |
| | |||||
* | Decompose TESTFN_UNICODE on Mac OS X | Victor Stinner | 2010-08-18 | 1 | -0/+6 |
| | |||||
* | Issue #5737: Add Solaris-specific mnemonics in the errno module. Patch by | Antoine Pitrou | 2010-08-18 | 3 | -1/+26 |
| | | | | Matthew Ahrens. | ||||
* | #5127: Even on narrow unicode builds, the C functions that access the Unicode | Amaury Forgeot d'Arc | 2010-08-18 | 7 | -232/+69 |
| | | | | | | | | | | Database (Py_UNICODE_TOLOWER, Py_UNICODE_ISDECIMAL, and others) now accept and return characters from the full Unicode range (Py_UCS4). The differences from Python code are few: - unicodedata.numeric(), unicodedata.decimal() and unicodedata.digit() now return the correct value for large code points - repr() may consider more characters as printable. | ||||
* | Issue #9433: The "-j" option to regrtest now works under Windows too. | Antoine Pitrou | 2010-08-18 | 1 | -1/+2 |
| | | | | | It is not sure it will be beneficial, though, since process launching is more expensive under Windows than it is under Linux. | ||||
* | Fix Issue672656 - Securing pydoc server. | Senthil Kumaran | 2010-08-18 | 1 | -1/+1 |
| | |||||
* | Restore GIL in nis_cat in case of error. | Martin v. Löwis | 2010-08-18 | 2 | -0/+3 |
| | |||||
* | Add versionadded tag to PyModule_GetFilenameObject() doc | Victor Stinner | 2010-08-18 | 1 | -0/+2 |
| | |||||
* | Improve PEP 383 tests (in test_os) | Victor Stinner | 2010-08-18 | 2 | -19/+43 |
| | | | | | | | | | | | * Use the current filesystem encoding instead of always using utf-8 * Enable the test on Mac OS X * Use TESTFN_UNENCODABLE and TESTFN_UNICODE instead of arbitrary filenames * To decode a filename, use strict error handler instead surrogateescape for mbcs encoding (on Windows) * Use TESTFN_UNENCODABLE (if available) for the directory name Skip the test if no non-ascii filename can be created. | ||||
* | Issue #9425: Create PyModule_GetFilenameObject() function | Victor Stinner | 2010-08-17 | 4 | -9/+32 |
| | | | | | | ... to get the filename as a unicode object, instead of a byte string. Function needed to support unencodable filenames. Deprecate PyModule_GetFilename() in favor on the new function. | ||||
* | Correct library name that Ask will work on. | Martin v. Löwis | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Add Ask Solem. | Martin v. Löwis | 2010-08-17 | 1 | -0/+4 |
| | |||||
* | Remove unused functions _PyImport_FindModule and _PyImport_IsScript | Victor Stinner | 2010-08-17 | 2 | -19/+0 |
| | |||||
* | libpython.py: py-bt commands escape unencodable characters | Victor Stinner | 2010-08-17 | 1 | -1/+9 |
| | | | | | | | Encode unicode strings to the terminal encoding with backslashreplace error (as Python does for sys.stderr) before writing them to sys.stdout. It fixes UnicodeEncodeError on writing non-ascii characters in an ascii terminal (C locale: ASCII encoding). | ||||
* | Issue #8063: Call _PyGILState_Init() earlier in Py_InitializeEx(). | Victor Stinner | 2010-08-17 | 2 | -5/+7 |
| | |||||
* | Replace :func: by :cfunc: | Victor Stinner | 2010-08-17 | 4 | -12/+12 |
| | | | | To get links to the C functions | ||||
* | Fix example | Éric Araujo | 2010-08-17 | 1 | -1/+1 |
| | |||||
* | Add versionadded tags | Antoine Pitrou | 2010-08-17 | 1 | -0/+4 |
| | |||||
* | Modernize gzip examples | Antoine Pitrou | 2010-08-17 | 1 | -12/+8 |
| | |||||
* | Issue #3488: Provide convenient shorthand functions `gzip.compress` | Antoine Pitrou | 2010-08-17 | 5 | -1/+58 |
| | | | | and `gzip.decompress`. Original patch by Anand B. Pillai. | ||||
* | Cleanup and correct a few ints to be Py_ssize_t. | Brian Curtin | 2010-08-17 | 1 | -3/+4 |
| | |||||
* | Properly downcast from size_t/Py_ssize_t in a few places. | Brian Curtin | 2010-08-17 | 1 | -4/+6 |
| | |||||
* | Clean some 64-bit issues. Also, always spell "ssize_t" "Py_ssize_t". | Antoine Pitrou | 2010-08-17 | 1 | -30/+33 |
| |