- 06 Jan, 2003 11 commits
-
-
Guido van Rossum authored
-
Fred Drake authored
-
Raymond Hettinger authored
Document constants for permission bits.
-
Andrew M. Kuchling authored
(Power Macintosh -> Power_Macintosh)
-
Raymond Hettinger authored
-
Jason Tishler authored
The attached patch enables shared extension modules to build cleanly under Cygwin without moving the static initialization of certain function pointers (i.e., ones exported from the Python DLL core) to a module initialization function. Additionally, this patch fixes the modules that have been changed in the past to accommodate Cygwin.
-
Raymond Hettinger authored
-
Just van Rossum authored
-
Raymond Hettinger authored
Christian Tismer pointed out the high cost of the loop overhead and function call overhead for 'c' * n where n is large. Accordingly, the new code only makes lg2(n) loops. Interestingly, 'c' * 1000 * 1000 ran a bit faster with old code. At some point, the loop and function call overhead became cheaper than invalidating the cache with lengthy memcpys. But for more typical sizes of n, the new code runs much faster and for larger values of n it runs only a bit slower.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 05 Jan, 2003 7 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Just van Rossum authored
- improved readability of rmtree; removed silly apply()
-
Neal Norwitz authored
Adding try/except allows the test to pass
-
Raymond Hettinger authored
-
Tim Peters authored
-
Raymond Hettinger authored
-
- 04 Jan, 2003 22 commits
-
-
Greg Ward authored
-
Just van Rossum authored
-
Tim Peters authored
localtime()/gmtime() insists on delivering them, + associated doc changes. Redid the docs for datetimtez.astimezone().
-
Just van Rossum authored
-
Guido van Rossum authored
(backport candidate?)
-
Raymond Hettinger authored
The range of u=random() is [0,1), so log(u) and 1/x can fail. Fix by setting u=1-random() or by reselecting for a usable value. Will backport.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Check whether self is NULL in mainloop.
-
Tim Peters authored
cases, plus even tougher tests of that. This implementation follows the correctness proof very closely, and should also be quicker (yes, I wrote the proof before the code, and the code proves the proof <wink>).
-
Raymond Hettinger authored
-
Raymond Hettinger authored
It was once available so that faster generators could be substituted. Now, that is less necessary and preferrably done via subclassing. Also, clarified and shortened the comments for sample().
-
Skip Montanaro authored
platform-specific verbiage lives.
-
Skip Montanaro authored
supported version.
-
Skip Montanaro authored
bsddb module build note to reflect the inclusion of bsddb3 and the demotion of the old bsddb module.
-
Raymond Hettinger authored
Clarify the operation of locals().
-
Raymond Hettinger authored
Minor fixes to markup, spelling, parameter names, and abbreviations.
-
Kurt B. Kaiser authored
M Bindings.py M EditorWindow.py M PyShell.py M config-keys.def M configHandler.py M help.txt 1. Annotate the shell window with last restart boundary upon restart. 2. Provide a shell menu entry and hot key (F6) to jump to the last restart boundary. 3. Add a new shell menu feature to restart the shell. 4. Update the help menu to add these features. 5. Update the help menu to put text in same order as the menus. 6. Correct a capitalization inconsistency on the Edit menu: Expand Word 7. Rename the "Debug" menu to be "Shell": it's doing more now. 8. Rearrange the "Shell" menu to make the StackViewer entries adjacent. 9. Add a get_geometry method to EditorWindow, which may be of use in making window positions persisent. 10. Make <ctrl-v> the "Classic Windows" paste key. 11. Restore decorum on the Help menu by removing "Advice". As Guido said, things will never be the same. Thanks, David!
-
Neal Norwitz authored
-
Raymond Hettinger authored
Refactor code in PyCFunction_Call giving a modest (tiny) speed boost, a slight improvement in semantics (now detects invalid flag combinations), and (arguably) improved clarity (making it blindingly clear which flag combinations are allowed). All this comes at a cost of a few lines of code duplication. * Folded test for METH_KEYWORDS into the switch/case. * Deferred testing for an empty dictionary until when and where needed. * Make a similar deferral for filling the "size" variable. * Inverted the dictionary test so that the common case falls though instead of making a jump.
-
Martin v. Löwis authored
macro definitions for older Python releases.
-
Tim Peters authored
the desired compromise behavior during the "problem hour" when DST ends cheaply (but I haven't yet implemented that).
-
Martin v. Löwis authored
Provide .string attribute and __unicode for Tcl_Objs.
-