Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a bug from the map->itertools.imap conversion. | Collin Winter | 2007-07-17 | 1 | -2/+1 | |
| | ||||||
* | Make test_pickletools.py pass. | Guido van Rossum | 2007-07-17 | 1 | -34/+20 | |
| | ||||||
* | Fix for cProfile. | Guido van Rossum | 2007-07-16 | 2 | -1/+4 | |
| | | | | SF patch# 1755176 by Amaury Forgeot d'Arc. | |||||
* | Change a bunch of file encodings from Latin-1 to UTF-8. | Guido van Rossum | 2007-07-16 | 6 | -17/+17 | |
| | | | | | | | Remove the encoding from Tix.py (it doesn't seem to need one). Note: we still have to keep the "coding: utf-8" declaration for files that aren't pure ASCII, as the default per PEP 3120 hasn't been implemented yet. | |||||
* | Fix for one particular test (test_file). There are still four errors. | Guido van Rossum | 2007-07-16 | 1 | -1/+1 | |
| | | | | (This is not the fix suggested by Hasan Diwan in SF patch# 1753889.) | |||||
* | Three patches by Amaury Forgeot d'Arc; SF patch# 1754484. | Guido van Rossum | 2007-07-16 | 3 | -9/+15 | |
| | ||||||
* | Fix test_uu.py by inserting an explicit conversion from bytes to str | Guido van Rossum | 2007-07-16 | 1 | -1/+1 | |
| | | | | into uu.py. (This is *not* SF patch 1754339, which I rejected.) | |||||
* | Fix a weird use of try/finally to close a file. | Guido van Rossum | 2007-07-16 | 1 | -60/+57 | |
| | | | | | (There are more places that don't close 'f' at all if an error occurs, but none have a bogus try/finally pattern.) | |||||
* | SF patch# 1752647 by Joe Gregorio. | Guido van Rossum | 2007-07-16 | 2 | -47/+49 | |
| | | | | | Fixes to make test_mmap.py pass unit tests. Moves the interface from being string based to being bytes based. | |||||
* | Use the encoding specification when reading the source file. | Guido van Rossum | 2007-07-15 | 1 | -1/+18 | |
| | ||||||
* | Don't stop installing if compileall fails -- ever. | Guido van Rossum | 2007-07-15 | 1 | -2/+2 | |
| | ||||||
* | Improve error handling; don't die from unicode errors or syntax errors. | Guido van Rossum | 2007-07-15 | 1 | -3/+9 | |
| | ||||||
* | Make chr() and ord() return/accept surrogate pairs in narrow builds. | Guido van Rossum | 2007-07-15 | 3 | -20/+59 | |
| | | | | The domain of chr() and the range of ord() are now always [0 ... 0x10FFFF]. | |||||
* | Fix ctypes tests on OS X. | Thomas Heller | 2007-07-14 | 1 | -8/+0 | |
| | ||||||
* | For easier merging, revert ths change; it will be brought back in when | Thomas Heller | 2007-07-13 | 1 | -0/+2 | |
| | | | | the trunk is merged. | |||||
* | atexit is a builtin module now, provide that on Windows. | Thomas Heller | 2007-07-13 | 2 | -0/+5 | |
| | ||||||
* | c_char, c_char_p objects and c_char array structure fields return | Thomas Heller | 2007-07-13 | 7 | -40/+29 | |
| | | | | their value now as str, no longer str8. | |||||
* | Do not accept str8 type in function calls any longer. | Thomas Heller | 2007-07-13 | 3 | -10/+11 | |
| | | | | Accept bytes instead of str8 in the (unexposed in ctypes) BSTR type. | |||||
* | Remove all the Python 2.3 compatibility markers (the Python 3 ctypes | Thomas Heller | 2007-07-13 | 1 | -46/+0 | |
| | | | | | version is not compatible with Python 2.x anymore). Remove backwards compatibility code. | |||||
* | Remove all the Python 2.3 compatibility markers (the Python 3 ctypes | Thomas Heller | 2007-07-13 | 15 | -177/+0 | |
| | | | | | version is not compatible with Python 2.x anymore). Remove backwards compatibility code. | |||||
* | Structure fields of type c_char array or c_wchar array accept bytes or | Thomas Heller | 2007-07-13 | 2 | -2/+36 | |
| | | | | (unicode) string. | |||||
* | No crashes on Linux in the ctypes test suite any longer, so we can | Thomas Heller | 2007-07-12 | 2 | -23/+19 | |
| | | | | remove the 'crash-protection'. | |||||
* | Fix segfault on Linux. | Thomas Heller | 2007-07-12 | 1 | -4/+4 | |
| | ||||||
* | More easy fixes. The ctypes unittests pass now (on Windows). | Thomas Heller | 2007-07-12 | 2 | -4/+4 | |
| | ||||||
* | binascii.hexlify returns a bytes object; we must convert it to str | Thomas Heller | 2007-07-12 | 1 | -1/+1 | |
| | | | | before we can pass it to re.sub. | |||||
* | Simple fixes. | Thomas Heller | 2007-07-12 | 2 | -7/+7 | |
| | ||||||
* | Simple fixes. | Thomas Heller | 2007-07-12 | 1 | -4/+4 | |
| | ||||||
* | Simple fixes. | Thomas Heller | 2007-07-12 | 2 | -10/+4 | |
| | ||||||
* | c_void_p.from_param accepts bytes. Fix test_prototypes. | Thomas Heller | 2007-07-12 | 2 | -1/+19 | |
| | ||||||
* | c_char_p.from_param accepts bytes. Fix test_parameters. | Thomas Heller | 2007-07-12 | 2 | -4/+4 | |
| | ||||||
* | Fix another test. | Thomas Heller | 2007-07-12 | 1 | -1/+1 | |
| | ||||||
* | test_slicing does not segfault under linux anymore, so we can run this | Thomas Heller | 2007-07-12 | 1 | -40/+38 | |
| | | | | test by default. | |||||
* | Accept bytes as parameter to foreign functions without prototype. | Thomas Heller | 2007-07-12 | 2 | -2/+11 | |
| | | | | | These are passed as byte strings (unicode strings are passed as wide character strings). | |||||
* | Accept bytes for c_wchar_p instances and c_wchar array instances. | Thomas Heller | 2007-07-12 | 3 | -7/+7 | |
| | | | | | | | | ctypes.create_unicode_buffer also accepts bytes now. Revert some tests in test_unicode: Since string literals are unicode now, conversion takes place when byte literals are passed as unicode parameters. | |||||
* | Change the StgDictObject's proto member to a PyUnicode_Object (was a | Thomas Heller | 2007-07-12 | 1 | -17/+9 | |
| | | | | PyStringObject before). | |||||
* | Accept bytes in c_char_p and c_wchar_p types. | Thomas Heller | 2007-07-12 | 2 | -9/+18 | |
| | ||||||
* | ctypes.c_char and ctypes.c_wchar now accept initialization from byte objects. | Thomas Heller | 2007-07-12 | 2 | -2/+41 | |
| | ||||||
* | Use a unicode string as unique_key instead of 8-bit string. | Thomas Heller | 2007-07-12 | 2 | -4/+4 | |
| | ||||||
* | Fix typo in docstring. | Walter Dörwald | 2007-07-12 | 1 | -1/+1 | |
| | ||||||
* | Rename PyTclObject_unicode to PyTclObject_str and use this | Walter Dörwald | 2007-07-12 | 1 | -22/+3 | |
| | | | | for the tp_str slot. Drop __unicode__ method. | |||||
* | Fix a ctypes test. | Thomas Heller | 2007-07-12 | 1 | -3/+3 | |
| | ||||||
* | Fix a ctypes test. | Thomas Heller | 2007-07-12 | 1 | -4/+4 | |
| | ||||||
* | Skip testing the special file "/dev/tty" on Windows. This test does | Thomas Heller | 2007-07-12 | 1 | -16/+17 | |
| | | | | weird things if someone has a "\dev" directory on the current drive. | |||||
* | Second part of sf# 1752225: On windows, emulate ftruncate with Win32 | Thomas Heller | 2007-07-12 | 1 | -4/+37 | |
| | | | | | | | | | | | api functions. Code from fileobject.c, patch by Amaury Forgeot d'Arc. This patch also changes: The return value of the native ftruncate function is checked for '!= 0' instead of '< 0' as before. fileio_seekable returns bool now instead of an int. | |||||
* | First part of sf# 1752225: Support for wide filenames on Windows. | Thomas Heller | 2007-07-12 | 1 | -9/+12 | |
| | | | | Patch by Amaury Forgeot d'Arc. | |||||
* | Py_USING_UNICODE is no longer defined on Windows (on posix it is still | Thomas Heller | 2007-07-12 | 2 | -80/+1 | |
| | | | | | in pyconfig.h). Remove the workaround for the broken (in Python 2.3) PyUnicode_(From|As)WideChar functions. | |||||
* | Make this a pure-ASCII file. This used to have a Latin-1 coding and | Guido van Rossum | 2007-07-12 | 1 | -12/+11 | |
| | | | | | | | | | | contain several string literals using non-ASCII characters. Because of the pain of displaying those characters, it's better to use \xXX escapes for these instead of typing the accented characters. Apologies if I missed something; it didn't look like there was anything that depended on this file being encoded in Latin-1 or containing non-ASCII characters. | |||||
* | Merged revisions 56265-56300 via svnmerge from | Guido van Rossum | 2007-07-12 | 1 | -1/+1 | |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r56274 | georg.brandl | 2007-07-11 08:10:46 -0700 (Wed, 11 Jul 2007) | 2 lines Fix #1751965, typo in isinstance. ........ | |||||
* | Fix for tet_bigmem.py (the failure was caused by a spurious reference | Guido van Rossum | 2007-07-12 | 1 | -1/+1 | |
| | | | | | to 'file', which no longer exists). Fix inspired by Christian Heimes, SF# 1752195. | |||||
* | Fixes for str/uni/bytes for gettext.py. test_gettext.py passes. | Guido van Rossum | 2007-07-12 | 1 | -33/+13 | |
| | | | | | | | | Fix by Christian Heimes, SF# 1751958, who writes: I tested the fixes with the Zope3 zope.app.locales packages. The mo files are loaded and parsed w/o any problem. The translation with gettext.gettext is working as expected. |