summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* A few more whitespace normalizations.Guido van Rossum2003-01-071-1/+4
|
* Various cleanups:Guido van Rossum2003-01-071-45/+80
| | | | | | | | - Whitespace normalization. - Cleaned up some comments. - Broke long lines.
* Use regular expressions for branch matching, to avoid includingGuido van Rossum2003-01-071-8/+11
| | | | changes on a sub-branch into output for a given branch.
* Fix for SF bug #642358: only provide a new with a __dict__ orGuido van Rossum2003-01-072-4/+38
| | | | | __weaklist__ descriptor if we added __dict__ or __weaklist__, respectively. With unit test.
* Much clearer when super() is used.Raymond Hettinger2003-01-071-5/+5
|
* SF bug #652933 (for IdleFork): Open Module "math" FailsRaymond Hettinger2003-01-071-1/+4
| | | | | When a module doesn't have a __path__ attribute, trigger a dialog box rather than dumping a traceback to the console.
* Revert change 1.37.Raymond Hettinger2003-01-071-12/+12
| | | | | The nanoseconds saved by using dict.fromkeys aren't worth the loss in clarity. Linear searches live on.
* SF patch #662433: Fill arraymodule's tp_iter and sq_contains slotsRaymond Hettinger2003-01-072-2/+127
|
* CHARSETS, ALIASES, CODEC_MAP: SF feature request 633543, KoreanBarry Warsaw2003-01-071-0/+37
| | | | | | | | | support and other charset defaults. See also: http://article.gmane.org/gmane.comp.python.mime.devel/250 (this just commits the last bit of the article that wasn't part of email 2.4.3.)
* Add tarfile moduleAndrew M. Kuchling2003-01-071-0/+4
|
* Add a test for a feature added in rev. 2.82 of typeobject.c:Guido van Rossum2003-01-061-0/+53
| | | | | | | | | | | | | | - SLOT1BINFULL() macro: changed this to check for __rop__ overriding __op__, like binary_op1() in abstract.c -- the latter only calls the slot function once if both types use the same slot function, so the slot function must make both calls -- which it already did for the __op__, __rop__ order, but not yet for the __rop__, __op__ order when B.__class__ is a subclass of A.__class__. Also test the refinement added in rev. 2.201 that fixes the problem reported in SF bug #623669. Also test a similar provision in abstract.c's binary_op1().
* Add a refinement to SLOT1BINFULL() that fixes the problem reported inGuido van Rossum2003-01-061-1/+36
| | | | | SF bug #623669: only try (e.g.) __rdiv__ before __div__ if the right class actually overrides it.
* GvR's idea to use memset() for the most common special case of repeatingRaymond Hettinger2003-01-061-1/+5
| | | | | a single character. Shaves another 10% off the running time by avoiding the lg2(N) loops and cache effects for the other cases.
* Add some print statements in verbose mode to announce that the newestGuido van Rossum2003-01-061-0/+8
| | | | | tests are run. (All tests in this module should have one of these at the top.)
* * add mms (windows media) as another schemeSkip Montanaro2003-01-062-19/+18
| | | | * reformat schemes to 80 columns
* Add Tix and rexec changesAndrew M. Kuchling2003-01-061-1/+17
|
* Fix spelling.Raymond Hettinger2003-01-061-1/+1
|
* delete reference to defunct Misc/HPUX-NOTES. Adjust reference for BeOSSkip Montanaro2003-01-061-6/+5
| | | | notes.
* removing - contains outdated informationSkip Montanaro2003-01-061-24/+0
|
* 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
|