summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SF #642236, optparse LaTeX docs by Johannes GijsbersNeal Norwitz2003-01-066-0/+1821
|
* Strike any hint that from-import-* could ever be reasonable; it's aFred Drake2003-01-061-2/+1
| | | | vile abomination and should be eradicated!
* Disable the rexec test now that rexec is out of grace.Guido van Rossum2003-01-061-0/+2
|
* Remove bastion test outputGuido van Rossum2003-01-061-10/+0
|
* Fix some nits Guido brought up last August:Fred Drake2003-01-061-10/+8
| | | | | | - give subsection pages nicer names - shorten some really long table cells; table cells can't wrap in the typeset version of the documentation
* Disable the Bastion test now that Bastion is out of grace.Guido van Rossum2003-01-061-3/+3
|
* Sabotage rexec.py. It is not safe since the new-style classes.Guido van Rossum2003-01-062-0/+5
|
* Fix markup so this will format again.Fred Drake2003-01-061-1/+1
|
* SF bug #592859: os.chmod is underdocumentedRaymond Hettinger2003-01-061-0/+22
| | | | Document constants for permission bits.
* Translate spaces in the machine name to underscoresAndrew M. Kuchling2003-01-061-2/+3
| | | | (Power Macintosh -> Power_Macintosh)
* SF bug #661848 and #631055: Clarify use of __all__.Raymond Hettinger2003-01-061-1/+4
|
* Patch #661760: Cygwin auto-import module patchJason Tishler2003-01-068-60/+33
| | | | | | | | | | | | 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.
* Used dictionaries rather than lists for membership testing.Raymond Hettinger2003-01-061-12/+12
|
* always also search on sys.path for res filesJust van Rossum2003-01-061-3/+2
|
* Optimize string_repeat.Raymond Hettinger2003-01-061-2/+11
| | | | | | | | | | | 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.
* SF feature #618024, urlparse fails on imap://Neal Norwitz2003-01-061-0/+3
|
* SF feature #618024, urlparse fails on imap://Neal Norwitz2003-01-062-5/+6
|
* SF #651082, tarfile module implementation from Lars GustäbelNeal Norwitz2003-01-058-0/+2637
|
* Fix a typoNeal Norwitz2003-01-051-1/+1
|
* - squashed bare except in rmtree()Just van Rossum2003-01-051-5/+5
| | | | - improved readability of rmtree; removed silly apply()
* At least one Solaris box in the snake farm only supports "C" locale.Neal Norwitz2003-01-051-1/+5
| | | | Adding try/except allows the test to pass
* Move the statistical tests for four distributions into the unittest suite.Raymond Hettinger2003-01-052-3/+41
|
* PyCFunction_Call(): Combined two switch cases w/ identical bodies.Tim Peters2003-01-051-4/+2
|
* Add a test case.Raymond Hettinger2003-01-051-0/+19
|
* Tweak __version__ -- the current code is between Optik 1.4 and 1.4.1.Greg Ward2003-01-041-1/+1
|
* module to run commands in a Terminal.app windowJust van Rossum2003-01-041-0/+54
|
* datetime_from_timet_and_us(): ignore leap seconds if the platformTim Peters2003-01-043-21/+50
| | | | | | | localtime()/gmtime() insists on delivering them, + associated doc changes. Redid the docs for datetimtez.astimezone().
* correct comment (and add newline at end)Just van Rossum2003-01-041-2/+2
|
* Add Shockwave Flash.Guido van Rossum2003-01-041-0/+1
| | | | (backport candidate?)
* Correct long standing bugs in the methods for random distributions.Raymond Hettinger2003-01-041-4/+6
| | | | | | | 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.
* Fix typo.Martin v. Löwis2003-01-041-1/+1
|
* Remove appartment check from dooneevent. Fixes #660961.Martin v. Löwis2003-01-041-6/+17
| | | | Check whether self is NULL in mainloop.
* A new implementation of astimezone() that does what we agreed on in allTim Peters2003-01-045-65/+191
| | | | | | 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>).
* Test an edge case for sample().Raymond Hettinger2003-01-041-0/+1
|
* Remove the random=None nonsense from sample() before it gets set in stone.Raymond Hettinger2003-01-041-18/+11
| | | | | | | 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().
* Moved this info to the top-level README where all the otherSkip Montanaro2003-01-041-68/+0
| | | | platform-specific verbiage lives.
* The bsddb3 library does not build w/ Berkeley DB 3.0. 3.1 is the earliestSkip Montanaro2003-01-041-3/+1
| | | | supported version.
* Merged Misc/AtheOS-NOTES into the platform-specific section. Rewrote theSkip Montanaro2003-01-041-39/+79
| | | | | bsddb module build note to reflect the inclusion of bsddb3 and the demotion of the old bsddb module.
* SF bug #655271: Slightly modify locals() docRaymond Hettinger2003-01-042-2/+2
| | | | Clarify the operation of locals().
* SF bug #651149: Review libshelve.tex when possibleRaymond Hettinger2003-01-041-6/+6
| | | | Minor fixes to markup, spelling, parameter names, and abbreviations.
* M AutoExpand.pyKurt B. Kaiser2003-01-047-27/+55
| | | | | | | | | | | | | | | | | | | | | | | | 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!
* Fix compiler warningNeal Norwitz2003-01-041-1/+1
|
* SF Patch #661440: Refactor and streamline PyCFunction_CallRaymond Hettinger2003-01-041-31/+41
| | | | | | | | | | | | | | 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.
* Wrap doc strings in PyDoc_STRVAR. Fix .string docstring. Provide defaultMartin v. Löwis2003-01-041-3/+21
| | | | macro definitions for older Python releases.
* Completed astimezone()'s correctness proof. This also proves we can getTim Peters2003-01-041-4/+53
| | | | | the desired compromise behavior during the "problem hour" when DST ends cheaply (but I haven't yet implemented that).
* Convert Tcl path objects to strings. Fixes #661357.Martin v. Löwis2003-01-042-1/+70
| | | | Provide .string attribute and __unicode for Tcl_Objs.
* Remark about datetime tzinfo examples.Tim Peters2003-01-031-3/+6
|
* Replaced the flawed "local time" example tzinfo class with the gutsTim Peters2003-01-031-13/+39
| | | | of Guido's later Local.py (from the datetime sandbox).
* Grammatical fix in comment.Greg Ward2003-01-031-1/+1
|
* Grammatical fix: change possessive "it's" to "its".Greg Ward2003-01-031-3/+3
|