- 19 May, 2010 14 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
print("== ", os.getcwd()) fails if the current working directory is not ASCII whereas sys.stdout encoding is ASCII.
-
Victor Stinner authored
compilation in a non-ASCII directory if stdout encoding is ASCII (eg. if stdout is not a TTY).
-
Victor Stinner authored
encoding and surrogateespace error handler instead of the locale encoding to be consistent with os.environ. Add PySys_AddWarnOptionUnicode() function.
-
Stefan Krah authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81354 | stefan.krah | 2010-05-19 17:59:40 +0200 (Wed, 19 May 2010) | 3 lines Fix typo. ........
-
Stefan Krah authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81350 | stefan.krah | 2010-05-19 17:46:39 +0200 (Wed, 19 May 2010) | 1 line Fix typos in docstrings. ........
-
Victor Stinner authored
It's time to go to bed...
-
Victor Stinner authored
Type name and slots are already checked for surrogates somewhere else, but it's better to ensure that the result is not NULL.
-
Victor Stinner authored
Strip also some trailing spaces
-
Victor Stinner authored
The bug may occurs if locale.getpreferredencoding() returns an encoding with a surrogate (very unlikely!).
-
Victor Stinner authored
This is *very* unlikely :-)
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
-
- 18 May, 2010 7 commits
-
-
Giampaolo Rodolà authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81294 | giampaolo.rodola | 2010-05-18 22:04:31 +0200 (mar, 18 mag 2010) | 1 line Fix issue #8573 (asyncore._strerror bug): fixed os.strerror typo; included NameError in the tuple of expected exception; added test case for asyncore._strerror. ........
-
Victor Stinner authored
-
Victor Stinner authored
subprocess.Popen() and os._execvpe() support bytes program name. Add os.supports_bytes_environ flag: True if the native OS type of the environment is bytes (eg. False on Windows).
-
Barry Warsaw authored
-
Senthil Kumaran authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81286 | senthil.kumaran | 2010-05-18 19:10:23 +0530 (Tue, 18 May 2010) | 3 lines Doc Fix. Correct link to Zephyr ASDL Abstract page. ........
-
Senthil Kumaran authored
Removing the reference in the docs for overriding _urlopener global value. See Issue8619 for details.
-
Senthil Kumaran authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81279 | senthil.kumaran | 2010-05-18 08:50:43 +0530 (Tue, 18 May 2010) | 3 lines Fix minor typo. ........
-
- 17 May, 2010 17 commits
-
-
Victor Stinner authored
It should fix sparc 3.x and 3.1 failures.
-
Lars Gustäbel authored
tarfile is now able to read and write pax headers with a "hdrcharset=BINARY" record. This record was introduced in POSIX.1-2008 as a method to store unencoded binary strings that cannot be translated to UTF-8. In practice, this is just a workaround that allows a tar implementation to store filenames that do not comply with the current filesystem encoding and thus cannot be decoded correctly. Additionally, tarfile works around a bug in current versions of GNU tar: undecodable filenames are stored as-is in a pax header without a "hdrcharset" record being added. Technically, these headers are invalid, but tarfile manages to read them correctly anyway.
-
Florent Xicluna authored
-
Florent Xicluna authored
Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes, unquote, unquote_to_bytes. Recorded merge of revisions 81265 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81265 | florent.xicluna | 2010-05-17 15:35:09 +0200 (lun, 17 mai 2010) | 2 lines Issue #1285086: Speed up urllib.quote and urllib.unquote for simple cases. ........
-
Florent Xicluna authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines Slight style cleanup. ........
-
Jeffrey Yasskin authored
producing the expected error message. The test only tests what it's supposed to test in pydebug mode though. Fixes issue 8726.
-
Victor Stinner authored
-
Antoine Pitrou authored
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81261 | tarek.ziade | 2010-05-17 12:54:43 +0200 (Mon, 17 May 2010) | 1 line upgraded distutils docs w.r.t. the manifest regeneration ........
-
Tarek Ziadé authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81255 | tarek.ziade | 2010-05-17 12:06:20 +0200 (Mon, 17 May 2010) | 1 line Fixed #8688: Distutils now recalculates MANIFEST everytime. ........
-
Antoine Pitrou authored
-
Victor Stinner authored
_PyUnicode_AsDefaultEncodedString() uses a magical PyUnicode attribute to automatically destroy PyUnicode_EncodeUTF8() result when the unicode string is destroyed.
-
Victor Stinner authored
PyObject_Print() writes into the C object stderr, whereas PySys_WriteStderr() writes into the Python object sys.stderr. Each object has its own buffer, so call sys.stderr.flush() and fflush(stderr).
-
Victor Stinner authored
of strict) error handler to escape surrogates
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
* Replace os.defpath instead of os.get_exec_path() to test also os.get_exec_path() * Use contextlib.contextmanager, move the mockup outside the class, and the mockup returns directly the call list object * Use two different contexts for the two tests * Use more revelant values and names
-
- 16 May, 2010 2 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81241 | antoine.pitrou | 2010-05-17 01:11:46 +0200 (lun., 17 mai 2010) | 4 lines Clear the OpenSSL error queue each time an error is signalled. When the error queue is not emptied, strange things can happen on the next SSL call, depending on the OpenSSL version. ........
-