| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
* Add doctests for the examples in the library reference.
* Add two methods, left() and right(), modeled after deques in C++ STL.
* Apply the new method to asynchat.py.
* Add comparison operators to make deques more substitutable for lists.
* Replace the LookupErrors with IndexErrors to more closely match lists.
|
|
|
|
| |
preferences object.
|
|
|
|
|
|
|
| |
- Try not only "darwin-7.X.Y" but also "darwin-7.X" and "darwin-7",
so far we've never had to create anew database for a minor release.
- Distinguish between the various different installs (user-installed
MacPython, apple-installed MacPython, other).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fixed a bug in the compatibility interface set_location() method
where it would not properly search to the next nearest key when
used on BTree databases. [SF bug id 788421]
* Fixed a bug in the compatibility interface set_location() method
where it could crash when looking up keys in a hash or recno
format database due to an incorrect free().
|
|
|
|
|
| |
by SIGCHLD or sth because no signal is masked before. This fixes
an optimized installation problem on FreeBSD libpthread.
|
|
|
|
|
|
|
|
|
| |
Invoke the standard error handlers for non-200 responses.
Always supply a "Connection: close" header to prevent the server from
leaving the connection open. Downstream users of the socket may
attempt recv()/read() with no arguments, which would block if the
connection were kept open.
|
| |
|
| |
|
|
|
|
| |
MemoryHandler.close() [SF #901330]
|
| |
|
|
|
|
| |
user-defined iterator.
|
|
|
|
|
|
|
| |
msvccompiler.get_build_version().
Distributions without a pre-install-script didn't work any longer, we
must at least provide the terminating NUL character.
|
|
|
|
|
|
| |
included in Python distributions for systems other than Windows.
Windows installers can be build on non-Windows systems as long as they
only include pure python module distributions.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch #892660 from Mark Hammond, for distutils bdist_wininst command.
install.c: support for a 'pre-install-script', run before anything has
been installed. Provides a 'message_box' module function for use by
either the pre-install or post-install scripts.
bdist_wininst.py: support for pre-install script. Typo (build->built),
fixes so that --target-version can still work, even when the
distribution has extension modules - in this case, we insist on
--skip-build, as we still can't actually build other versions.
|
|
|
|
|
|
|
|
|
|
|
| |
install.c: support for a 'pre-install-script', run before anything has
been installed. Provides a 'message_box' module function for use by
either the pre-install or post-install scripts.
bdist_wininst.py: support for pre-install script. Typo (build->built),
fixes so that --target-version can still work, even when the
distribution has extension modules - in this case, we insist on
--skip-build, as we still can't actually build other versions.
|
| |
|
|
|
|
|
|
|
|
| |
Exception traceback text is now cached.
Closing a handler now removes it from the internal _handlers list.
Handlers now chain to Handler.close() from their close() methods.
Exception info can be passed as a tuple in exc_info.
shutdown() is registered to be called at application exit.
|
|
|
|
|
|
|
| |
Corrections to comments.
Tracebacks can now be sent via SocketHandler.
SocketHandler now uses exponential backoff strategy.
Handlers now chain to Handler.close() from their close() methods.
|
|
|
|
|
| |
Corrections to comments.
Added RESET_ERROR definition.
|
|
|
|
|
| |
right; (2) write_results_file() didn't return a tuple of two ints when
it couldn't create the file. Will backport.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow the user to create Tkinter.Tcl objects which are
just like Tkinter.Tk objects except that they do not
initialize Tk. This is useful in circumstances where the
script is being run on machines that do not have an X
server running -- in those cases, Tk initialization fails,
even if no window is ever created.
Includes documentation change and tests.
Tested on Linux, Solaris and Windows.
Reviewed by Martin von Loewis.
|
|
|
|
|
| |
suggested approach to dealing with it isn't a good one; we need a
better general purpose config reader, not a distutils-specific reader
|
|
|
|
| |
Backported to 2.3.
|
|
|
|
| |
Backported to 2.3.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(re-using an existing test object class) no longer triggered the
original segfault when the fix was backed out; restoring the local
test object class to make the test effective
the assignment of the ref created at the end does not affect the test,
since the segfault happended before weakref.ref() returned; removing
the assignment
|
|
|
|
| |
no major codepages unsupported by Python, so remove the eg. case.
|
| |
|
|
|
|
| |
From SF patch #852334.
|
|
|
|
| |
sentinel variable
|
| |
|
| |
|
|
|
|
|
|
| |
(Contributed by Alexey Klimkin.)
Don't keep the file descriptor after the channel is deleted.
|
| |
|
| |
|
|
|
|
|
|
| |
fairly simpleminded adaptation of Zope3's test.py -T flag.
I also changed some booleans to use True/False where appropriate.
|
|
|
|
|
| |
comes from and show the differences from lists).
* Add a rotate() method.
|
| |
|
| |
|
| |
|
|
|
|
| |
* Let deques support reversed().
|
| |
|
| |
|
| |
|
| |
|