| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
in the previous patch.
This closes (again!) SF patch #410267.
|
|
|
|
|
|
|
|
|
|
| |
handling of EAGAIN.
This may or may not fix the problem for me (Mandrake 7.2 on a Dell
Optiplex GX110 desktop): I can't hear the output, but it does pass the
test now. It doesn't fix the problem for Fred (Mandrake 7.2 on a Dell
Inspiron 7500 which has the Maestro sound drivers). Fred suspects
that it's the kernel version in combination with the driver.
|
|
|
|
|
|
| |
Add many more constants for some systems.
This closes SF patch #410267.
|
|
|
|
|
|
|
|
| |
gives the CVS revision of this file even if it does not include the
extra RCS "$Revision: " cruft.
initpyexpat(): Use get_version_string() instead of hard-coding magic
indexes into the RCS string (which may be affected by export options).
|
|
|
|
| |
newreadlinesobject() in xreadlines().
|
| |
|
| |
|
|
|
|
|
| |
This is SF patch # #409044, by Internet Discovery: "Update tcl/tk/tix
versions".
|
|
|
|
|
|
| |
tracked as soon as it is clear; this can decrease the number of roots for
the cycle detector sooner rather than later in applications which hold on
to weak references beyond the time of the invalidation.
|
|
|
|
|
| |
instance objects without calling the constructor. This is the same as
the new.instance() function.
|
|
|
|
|
|
| |
- take locale into account for word boundary anchors (#410271)
- restored 2.0's *? behaviour (#233283, #408936 and others)
- speed up re.sub/re.subn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a module has a future statement enabling nested scopes, they are
also enable for the exec statement and the functions compile() and
execfile() if they occur in the module.
If Python is run with the -i option, which enters interactive mode
after executing a script, and the script it runs enables nested
scopes, they are also enabled in interactive mode.
XXX The use of -i with -c "from __future__ import nested_scopes" is
not supported. What's the point?
To support these changes, many function variants have been added to
pythonrun.c. All the variants names end with Flags and they take an
extra PyCompilerFlags * argument. It is possible that this complexity
will be eliminated in a future version of the interpreter in which
nested scopes are not optional.
|
|
|
|
| |
This fixes SF bug #410146 (python 2.1b shelve is broken).
|
|
|
|
| |
http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470
|
| |
|
|
|
|
|
|
|
| |
http://sourceforge.net/tracker/?func=detail&aid=233200&group_id=5470&atid=105470
Wrapped the fread/fwrite calls in thread BEGIN_ALLOW/END_ALLOW brackets
Afraid I hit the "delete trailing whitespace key" too! Only two "real" sections
of code changed here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with free variables. Thanks to Martin v. Loewis for finding two of
the problems. This fixes SF buf 405583.
There is also a C API change: PyFrame_New() is reverting to its
pre-2.1 signature. The change introduced by nested scopes was a
mistake. XXX Is this okay between beta releases?
cell_clear(), the GC helper, must decref its reference to break
cycles.
frame_dealloc() must dealloc all cell vars and free vars in addition
to locals.
eval_code2() setup code must INCREF cells it copies out of the
closure.
The STORE_DEREF opcode implementation must DECREF the object it passes
to PyCell_Set().
|
|
|
|
| |
them; this closes SF bug #407504.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
module; do not attempt to insert the API object into the module dict
if there was an error creating it.
|
|
|
|
|
|
|
| |
some fairly recent versions have an anaemic selection of terminal-control
symbols.
This closes SF bug #405567.
|
|
|
|
|
| |
It should use the normal CC referenced compiler as ObjC is integrated
directly into gcc and enabled through the use of the -ObjC flag.
|
| |
|
|
|
|
|
|
|
|
|
| |
these can be missing on some (all?) Irix and Tru64 versions.
Protect the CRTSCTS value with a cast; this can be a larger value on
Solaris/SPARC.
This should fix SF tracker items #405092, #405350, and #405355.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
defined and export both names.
Solaris also does not define CBAUDEX; it is not clear that CBAUDEXT
(which is defined there) is the same thing, so we only protect against
the lack of CBAUDEX.
Reported by Greg V. Wilson.
|
|
|
|
| |
some operators (style guide conformance).
|
|
|
|
|
|
| |
which does not define all the constants.
This closes SF tracker patch #404924.
|
| |
|
|
|
|
| |
in this module; no more need for TERMIOS.py.
|
|
|
|
|
| |
building under Cygwin. Makes some fixes to the dlmodule in order to
compile with Cygwin.
|
|
|
|
|
|
|
|
|
|
| |
Fixed recno support (keys are integers rather than strings).
Work around DB bug that cause stdin to be closed by rnopen() when the
DB file needed to exist but did not (no longer segfaults).
This closes SF tracker patch #403445.
Also wrapped some long lines and added whitespace around operators -- FLD.
|
| |
|
|
|
|
|
| |
squelch warning from GCC 2.95.2 on Solaris - partially addresses bug
#232787.
|
|
|
|
| |
Add note about linuxaudiodev possibly working on BSD
|
|
|
|
| |
comments to reflect reality.
|
|
|
|
| |
so make it void.
|
|
|
|
|
|
|
|
|
| |
the internal API function to release the interned strings as the very
last thing before returning status. This aids in memory use debugging
because it eliminates a huge source of noise from the reports. This
is never called during normal (non-debugging) use because releasing
the interned strings slows Python's shutdown and isn't necessary
anyway because the system will always reclaim the memory.
|
| |
|
| |
|
|
|
|
|
|
|
| |
(Fred, I'll leave the doc changes to you, because I don't know if you
want to delete libsoundex.tex or leave it in.
Someone else will have to tweak PC/os2vacpp/{config.c,makefile} and
PCbuild/pythoncore.dsp, both of which refer to soundex.c)
|
| |
|
|
|
|
| |
and disabled from the configure script.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bug report title isn't correct, but was on the right track.
Rev 2.13 applied a patch intended to improve asinh and acosh, but the
author mistakenly replaced the body of asin with their new code for asinh.
See bug report for all the gory details.
This patch: (a) puts the "new" (as of 2.13) asinh code into the asinh
function; and, (b) repairs asin via what Abramowitz & Stegun say it should
be (which is probably the same as what 2.12 did for asin, although I got
tired of matching parentheses before being 100% sure of that -- and I don't
care! The source of the old code is a mystery, and I *know* why I picked
the new code.).
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes the zlib decompress sync flush bug as reported in bug #124981
* avoids repeat calls to (in|de)flateEnd when destroying (de)compression
objects
* raises exception when allocating unused_data fails
* fixes memory leak when allocating unused_data fails
* raises exception when allocating decompress data fails
* removes vestigial code from decompress flush now that decompression
returns all available data
* tidies code so object compress/decompress/flush routines are consistent
|
| |
|