- 20 Şub, 2004 5 kayıt (commit)
-
-
Thomas Heller yazdı
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.
-
Vinay Sajip yazdı
-
Vinay Sajip yazdı
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.
-
Vinay Sajip yazdı
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.
-
Vinay Sajip yazdı
Corrections to comments. Added RESET_ERROR definition.
-
- 19 Şub, 2004 9 kayıt (commit)
-
-
Fred Drake yazdı
- comment out documentation for a non-existant feature (--spec-file) that the comments indicate isn't clearly needed - lots of minor markup adjustments to get a more consistent presentation
-
Fred Drake yazdı
the term Installer (always capitalized, however) - generalize the text about the term "installer" in a fairly reasonable way
-
Fred Drake yazdı
functions made available in the post-installation script run by the Windows installer
-
Fred Drake yazdı
-
Michael W. Hudson yazdı
recent gcc on Linux/x86) [ 899109 ] 1==float('nan') by implementing rich comparisons for floats. Seems to make comparisons involving NaNs somewhat less surprising when the underlying C compiler actually implements C99 semantics.
-
Guido van Rossum yazdı
right; (2) write_results_file() didn't return a tuple of two ints when it couldn't create the file. Will backport.
-
Raymond Hettinger yazdı
for types other than PyInt being accepted for the optional argument. (Spotted by Neal Norwitz.)
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
- 18 Şub, 2004 1 kayıt (commit)
-
-
David Ascher yazdı
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.
-
- 17 Şub, 2004 5 kayıt (commit)
-
-
Fred Drake yazdı
suggested approach to dealing with it isn't a good one; we need a better general purpose config reader, not a distutils-specific reader
-
Jeremy Hylton yazdı
This change probably isn't work a bug fix. It's unlikely that anyone was calling this method without passing it a real dict.
-
Raymond Hettinger yazdı
arguments.
-
Raymond Hettinger yazdı
-
Fred Drake yazdı
-
- 16 Şub, 2004 2 kayıt (commit)
-
-
Anthony Baxter yazdı
The Bluetooth code was obviously never tested on Linux.
-
Neal Norwitz yazdı
-
- 15 Şub, 2004 7 kayıt (commit)
-
-
Martin v. Löwis yazdı
/usr/bin/env python'%{binsuffix} Backported to 2.3.
-
Martin v. Löwis yazdı
Backported to 2.3.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
Backported to 2.3.
-
Neil Schemenauer yazdı
-
Raymond Hettinger yazdı
to list_init. * Replaced the code in list_extend with the superior code from list_fill. * Eliminated list_fill. Results: * list.extend() no longer creates an intermediate tuple except to handle the special case of x.extend(x). The saves memory and time. * list.extend(x) runs about the same x is a list or tuple, a little faster when x is an iterable not defining __len__, and twice as fast when x is an iterable defining __len__. * the code is about 15 lines shorter and no longer duplicates functionality.
-
Raymond Hettinger yazdı
utilization, and speed: * Moved the responsibility for emptying the previous list from list_fill to list_init. * Replaced the code in list_extend with the superior code from list_fill. * Eliminated list_fill. Results: * list.extend() no longer creates an intermediate tuple except to handle the special case of x.extend(x). The saves memory and time. * list.extend(x) runs 5 to 10% faster when x is a list or tuple 15% faster when x is an iterable not defining __len__ twice as fast when x is an iterable defining __len__ * the code is about 15 lines shorter and no longer duplicates functionality.
-
- 14 Şub, 2004 4 kayıt (commit)
-
-
Raymond Hettinger yazdı
The Py2.3 approach overallocated small lists by up to 8 elements. The last checkin would limited this to one but slowed down (by 20 to 30%) the creation of small lists between 3 to 8 elements. This tune-up balances the two, limiting overallocation to 3 elements (significantly reducing space consumption from Py2.3) and running faster than the previous checkin. The first part of the growth pattern (0, 4, 8, 16) neatly meshes with allocators that trigger data movement only when crossing a power of two boundary. Also, then even numbers mesh well with common data alignments.
-
Raymond Hettinger yazdı
-
Gustavo Niemeyer yazdı
-
Gustavo Niemeyer yazdı
as parameter.
-
- 13 Şub, 2004 6 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Fred Drake yazdı
(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
-
Raymond Hettinger yazdı
* Move an example out of a comment.
-
Raymond Hettinger yazdı
More than doubles its speed.
-
Raymond Hettinger yazdı
realloc(). This is achieved by tracking the overallocation size in a new field and using that information to skip calls to realloc() whenever possible. * Simplified and tightened the amount of overallocation. For larger lists, this overallocates by 1/8th (compared to the previous scheme which ranged between 1/4th to 1/32nd over-allocation). For smaller lists (n<6), the maximum overallocation is one byte (formerly it could be upto eight bytes). This saves memory in applications with large numbers of small lists. * Eliminated the NRESIZE macro in favor of a new, static list_resize function that encapsulates the resizing logic. Coverting this back to macro would give a small (under 1%) speed-up. This was too small to warrant the loss of readability, maintainability, and de-coupling. * Some functions using NRESIZE had grown unnecessarily complex in their efforts to bend to the macro's calling pattern. With the new list_resize function in place, those other functions could be simplified. That is being saved for a separate patch. * The ob_item==NULL check could be eliminated from the new list_resize function. This would entail finding each piece of code that sets ob_item to NULL and adding a new line to invalidate the overallocation tracking field. Rather than impose a new requirement on other pieces of list code, it was preferred to leave the NULL check in place and retain the benefits of decoupling, maintainability and information hiding (only PyList_New() and list_sort() need to know about the new field). This approach also reduces the odds of breaking an extension module. (Collaborative effort by Raymond Hettinger, Hye-Shik Chang, Tim Peters, and Armin Rigo.)
-
Hye-Shik Chang yazdı
no major codepages unsupported by Python, so remove the eg. case.
-
- 12 Şub, 2004 1 kayıt (commit)
-
-
Fred Drake yazdı
-