| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
mmap_find_method(): this obtained the string to find via s#, but it
ignored its length, acting as if it were \0-terminated instead.
Someone please run on Linux too (the extended test_mmap works on Windows).
Bugfix candidate.
|
| |
|
|
|
|
|
|
| |
it is difficult to do without a Mac box to try things out on. This expands
on what was there only a little bit; hopefully someone with a Mac can work
on this as well!
|
|
|
|
| |
this closes patch 502080
|
| |
|
|
|
|
| |
This closes SF bug #526277.
|
|
|
|
|
| |
- reflects the change in type("").__name__ between 2.1 and 2.2. The
__name__ field is used to find a method to call for particular types.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
[ 508779 ] Disable flat namespace on MacOS X
I presume you wanted this on the trunk too, Jack?
2.2.1 candidate.
|
|
|
|
|
|
| |
[ 526039 ] devious code can crash structseqs
Bugfix candidate.
|
|
|
|
|
|
|
|
| |
(the types come from different modules on different platforms).
Added tests for pickling these types.
May be a bugfix candidate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 526072 ] pickling os.stat results round II
structseq's constructors can now take "invisible" fields in a dict.
Gave the constructors better error messages.
their __reduce__ method puts these fields in a dict.
(this is all in aid of getting os.stat_result's to pickle portably)
Also fixes
[ 526039 ] devious code can crash structseqs
Thought needed about how much of this counts as a bugfix. Certainly
#526039 needs to be fixed.
|
| |
|
| |
|
|
|
|
| |
as well.
|
|
|
|
|
|
|
|
| |
[ 496873 ] structseqs unpicklable
by adding a __reduce__ method to structseqs.
Will also commit this to the 2.2.1 branch momentarily.
|
|
|
|
| |
recent versions of LaTeX2e but not support in LaTeX2HTML.
|
|
|
|
|
| |
Remove whitespace from the middle of an inline RE example; it was OK for
the typeset formats, but LaTeX2HTML is more touchy about this.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
over SEP, ALTSEP and MAXPATHLEN.
Patched up posixmodule.c for MSVC, but unsure what the story is now on
other non-Unixish platforms -- the preprocessor maze has no exit <wink>.
|
|
|
|
| |
2.2.1 candidate (but not terribly important).
|
|
|
|
|
|
| |
- recognize "SyntaxError"s by the print_file_and_line attribute.
- add the syntaxerror attributes to all exceptions in compile.c.
Fixes #221791
|
|
|
|
| |
when no arguments are passed
|
|
|
|
| |
(see patch #514490, by Stefan Schwarzer)
|
|
|
|
|
|
|
|
|
|
| |
Modules/
posixmodule.c
- use SEP,ALTSEP #defines instead of hard coded path separator chars
- use EMX specific variants of chdir2(),getcwd() that support drive letters
- OS/2+EMX spawnv(),spawnve() support
- EMX specific popen[234]() derived from Win32 popen[234]() code
|
|
|
|
|
|
|
| |
Modules/
socketmodule.c
EMX handles sockets like Posix, rather than use native APIs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modules/
_hotshot.c
dbmmodule.c
fcntlmodule.c
main.c
pwdmodule.c
readline.c
selectmodule.c
signalmodule.c
termios.c
timemodule.c
unicodedata.c
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
platform realloc(p, 0) returns NULL, so MALLOC_ZERO_RETURNS_NULL can
be correctly undefined yet realloc(p, 0) can return NULL anyway.
Prevent realloc(p, 0) doing free(p) and returning NULL via a different
hack. Would probably be better to get rid of MALLOC_ZERO_RETURNS_NULL
entirely.
Bugfix candidate.
|
|
|
|
| |
dynamic theme changes
|
|
|
|
|
| |
instead of faking it by hand. It *is* a var object, and nothing but
hysterical raisins to pretend it's an oddball.
|
|
|
|
|
|
| |
copy the sign too. Added a test to test_descr to ensure that it does.
Bugfix candidate.
|
|
|
|
| |
to fix was almost certainly a bug in _PyLong_Copy (which I'll fix next).
|
|
|
|
|
|
|
| |
section use this class instead of UnixMailbox as per the comments in
the latter's class.
Bug fix candidate for 2.2.1.
|
|
|
|
|
|
|
|
|
|
| |
Due to the bizarre definition of _PyLong_Copy(), creating an instance
of a subclass of long with a negative value could cause core dumps
later on. Unfortunately it looks like the behavior of _PyLong_Copy()
is quite intentional, so the fix is more work than feels comfortable.
This fix is almost, but not quite, the code that Naofumi Honda added;
in addition, I added a test case.
|
|
|
|
|
|
| |
Support GMP version >= 2.
Bugfix candidate.
|
|
|
|
| |
discussed on python-dev.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- make array.array a type
- add Py_UNICODE arrays
- support +=, *=
|
| |
|
|
|
|
|
|
| |
Noted by Jason Orendorff, SF #520768.
Bug fix candidate for 2.1 & 2.2.
|