| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(damn, it's nice to see the line
#define PY_VERSION "2.5"
in patchlevel.h)
|
| | |
|
| |
|
|
|
|
|
|
| |
an infinite loop in rev 47154.
This patch also adds a test to prevent the regression.
Will backport to 2.4 and head later.
|
| |
|
|
|
|
| |
The cast function did not accept c_char_p or c_wchar_p instances
as first argument, and failed with a 'bad argument to internal function'
error message.
|
| |
|
|
|
|
| |
Anonymous structure fields that have a bit-width specified did not work,
and they gave a strange error message from PyArg_ParseTuple:
function takes exactly 2 arguments (3 given).
|
| |
|
|
| |
Fixes bug #1551432.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Fixed a few bugs on cjkcodecs:
- gbk and gb18030 codec now handle U+30FB KATAKANA MIDDLE DOT correctly.
- iso2022_jp_2 codec now encodes into G0 for KS X 1001, GB2312
codepoints to conform the standard.
- iso2022_jp_3 and iso2022_jp_2004 codec can encode JIS X 0213:2
codepoints now.
|
| |
|
|
|
| |
place of sys.stdout while running tests. Removing one more test
to make buildbot happy.
|
| |
|
|
|
|
|
|
|
| |
Let's try that once more. Buildbots were broken last time, but probably
because tests were sending data to stderr for testing it (sending to a
file doesn't touch the problem).
The fix is still the same, but tests were reduced (removing tests to
be able to fix something is weird, but oh well).
|
| |
|
|
| |
(backport from rev. 51785)
|
| |
|
|
|
|
| |
Also make sure that every exception class has __module__ set to
'exceptions'.
(backport)
|
| | |
|
| |
|
|
| |
making subprocess not close standard file descriptors.
|
| |
|
|
|
|
|
| |
generator expressions (x for x, in ... ) works again.
Sigh, I only fixed for loops the first time, not list comps and genexprs too.
I couldn't find any more unpacking cases where there is a similar bug lurking.
|
| | |
|
| | |
|
| |
|
|
| |
Partially from SF patch #1551339, but also taken from head.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
release branch
|
| |
|
|
|
|
| |
a unicode string in a build with wide unicode (UCS-4) support.
I will forward port to 2.6. Can someone backport to 2.4?
|
| |
|
|
|
| |
Fix bug #1543303, tarfile adds padding that breaks gunzip.
Patch # 1543897. (remove the padding)
|
| |
|
|
| |
(backport from rev. 51416)
|
| |
|
|
| |
on systems with low clock resolution.
|
| |
|
|
| |
generated for generator expressions.
|
| |
|
|
|
|
|
|
|
| |
'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the
Shell menu hotkey from 's' to 'l'.
M Bindings.py
M PyShell.py
M NEWS.txt
|
| |
|
|
| |
ignore data that arrives before the opening start tag
|
| |
|
|
|
|
|
|
|
|
| |
of the Python part of a callback function to C. If it cannot be
converted, call PyErr_WriteUnraisable with the exception we got.
Before, arbitrary data has been passed to the calling C code in this
case.
(I'm not really sure the NEWS entry is understandable, but I cannot
find better words)
|
| |
|
|
|
|
|
| |
exception. Remove a stray '?' character from the exception text
when the value is retrieved of such an object.
Includes tests.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
little-endian byte order on Windows), and to work around clocks
with low resolution yielding duplicate UUIDs.
Anthony Baxter has approved this change.
|
| |
|
|
|
|
|
|
|
|
| |
before raising SystemExit, allowing IDLE to honor quit() and exit().
M Lib/site.py
M Lib/idlelib/PyShell.py
M Lib/idlelib/CREDITS.txt
M Lib/idlelib/NEWS.txt
M Misc/NEWS
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
taken from a Debian patch. Should we update the version for each release?
|
| |
|
|
|
|
|
|
| |
sporadically on other platforms. This is really a band-aid that doesn't
fix the underlying issue in SocketServer. It's not clear if it's worth
it to fix SocketServer, however, I opened a bug to track it:
http://python.org/sf/1540386
|
| | |
|
| | |
|
| |
|
|
| |
file correctly even on Windows.
|
| |
|
|
| |
when file is read-only.
|
| |
|
|
| |
raises the correct exceptions.
|
| |
|
|
|
| |
Add a test to test_inspect to make sure indented source
is recognized correctly. (fixes #1224621)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
ctypes instances no longer have the internal and undocumented
'_as_parameter_' attribute which was used to adapt them to foreign
function calls; this mechanism is replaced by a function pointer in
the type's stgdict.
In the 'from_param' class methods, try the _as_parameter_ attribute if
other conversions are not possible.
This makes the documented _as_parameter_ mechanism work as intended.
Change the ctypes version number to 1.0.1.
|
| |
|
|
|
|
|
|
|
|
| |
Replace UnicodeDecodeErrors raised during == and !=
compares of Unicode and other objects with a new
UnicodeWarning.
All other comparisons continue to raise exceptions.
Exceptions other than UnicodeDecodeErrors are also left
untouched.
|
| |
|
|
|
|
| |
__oct__, __hex__ don't return a string.
Klocwork 308
|