summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lightly modified version of my patchMichael W. Hudson2004-06-111-24/+31
| | | | | | [ 971323 ] make test_signal less annoying after some comments on IRC from a highly opinionated australian who wishes to remain anonymous.
* Bug 957381: rpmbuild builds a -debuginfo rpm on recent Redhat and Fedora ↵Anthony Baxter2004-06-112-2/+10
| | | | | | | | | | releases. Ignore it, rather than breaking. Will backport. (and r1.1000 for Misc/NEWS!)
* fix a poorly worded error messageAnthony Baxter2004-06-111-1/+1
|
* Fix for bug #966623 - classes created with type() in an exec(, {}) don'tAnthony Baxter2004-06-112-0/+8
| | | | | | have a __module__. Test for this case. Bugfix candidate, will backport.
* dump HAVE_FOPENRF stuff - obsoleteSkip Montanaro2004-06-111-26/+19
|
* Respect a module's __all__ attribute. Closes #969938.Skip Montanaro2004-06-111-8/+21
|
* Futher improvements to frozenset hashing (based on Yitz Gale's battery ofRaymond Hettinger2004-06-101-8/+10
| | | | | | | | | | | | | tests which nicely highly highlight weaknesses). * Initial value is now a large prime. * Pre-multiply by the set length to add one more basis of differentiation. * Work a bit harder inside the loop to scatter bits from sources that may have closely spaced hash values. All of this is necessary to make up for keep the hash function commutative. Fortunately, the hash value is cached so the call to frozenset_hash() will only occur once per set.
* Fixups to the hash function for frozensets.Raymond Hettinger2004-06-101-1/+4
| | | | | | * Non-zero initial value so that hash(frozenset()) != hash(0). * Final permutation to differentiate nested sets. * Add logic to make sure that -1 is not a possible hash value.
* Add a final permutation step to the tuple hash function.Raymond Hettinger2004-06-102-0/+2
| | | | | Prevents a collision pattern that occurs with nested tuples. (Yitz Gale provided code that repeatably demonstrated the weakness.)
* Convert test_heapq.py to unittests.Raymond Hettinger2004-06-101-86/+90
|
* SF patch #969791: Add nlargest() and nsmallest() to heapq.Raymond Hettinger2004-06-105-5/+75
|
* Defining Py_GCC_ATTRIBUTE finds even some more undocumented functions.Thomas Heller2004-06-091-1/+1
|
* Public Python functions are nowadays marked PyAPI_FUNC, not DL_IMPORT.Thomas Heller2004-06-091-1/+1
|
* make a reference to the SimpleHTTPServer module a hyperlink to theFred Drake2004-06-091-1/+1
| | | | docs
* Ensure path is initialized to prevent freeing random memoryNeal Norwitz2004-06-091-4/+2
| | | | | (reported by Thomas Heller). If have_unicode_filename is set, path looks like it will not be used, so there's no need to free it.
* test_devnull(): Use assertEqual() instead of an assert stmt.Tim Peters2004-06-081-1/+1
|
* Teach MSVC 6 about pystrtod.c.Tim Peters2004-06-081-0/+4
|
* Patch #774665: Make Python LC_NUMERIC agnostic.Martin v. Löwis2004-06-0814-103/+317
|
* Removed test_sitepackages test. Skip discovered that it only passed if PythonBrett Cannon2004-06-081-8/+0
| | | | had already been installed previously.
* - markup fixFred Drake2004-06-081-3/+3
| | | | | - explain Python/ceval.c from what; lots of people don't use a source distro any more
* Feature request #935915: Add os.path.devnull.Martin v. Löwis2004-06-088-6/+31
|
* Patch #510695: Add TSC profiling for the VM.Martin v. Löwis2004-06-0810-3/+243
|
* Note that memory returned by PyBuffer_New is not specifically aligned.Neil Schemenauer2004-06-081-1/+3
| | | | Closes SF bug #472568.
* SF 952807: Unpickling pickled instances of subclasses of datetime.date,Tim Peters2004-06-073-6/+41
| | | | | | | datetime.datetime and datetime.time could yield insane objects. Thanks to Jiwon Seo for the fix. Bugfix candidate. I'll backport it to 2.3.
* Add genexps to the glossary.Raymond Hettinger2004-06-071-0/+12
|
* Fix a refcount bug in an obscure code corner.Thomas Heller2004-06-071-0/+2
|
* Fix a refcount bug in an obscure code corner.Thomas Heller2004-06-071-0/+1
| | | | Already backported.
* Another nit found by Neal Norwitz using pychecker. This was caused by aSkip Montanaro2004-06-071-2/+1
| | | | | too-mechanical translation when converting html() to text() (simply stripped strong() where it appeared).
* Cleanup: the in operator already returns a bool, no need to bool() it againNeal Norwitz2004-06-071-4/+4
| | | | | Cleanup: use condition to be consistent with code above CookieJar is in cookielib
* There is no reason to have an underscore after selfNeal Norwitz2004-06-071-1/+1
|
* Remove a useless operation, setting name to itselfNeal Norwitz2004-06-071-1/+0
|
* correct name error caught by Neal Norwitz with pycheckerSkip Montanaro2004-06-071-3/+3
|
* Fix typo in comment.Raymond Hettinger2004-06-071-1/+1
|
* [Bug #953177] Mention .getlist(); text from Paul MooreAndrew M. Kuchling2004-06-061-9/+4
|
* Plug a few memory leaks in utime(). path is allocated from withinNeal Norwitz2004-06-061-4/+12
| | | | | | | PyArg_ParseTuple() since the format is "et" This change should be reviewed carefully. Bugfix candidate.
* Try to improve test coverage for utime()Neal Norwitz2004-06-061-0/+4
|
* Valgrind was reporting an uninitialized read for bad input.Neal Norwitz2004-06-061-1/+2
| | | | | | | | | This fixes the problem and the test passes. I'm not sure the test is really correct though. It seems like it would be better to raise an exception. I think that wasn't done for backwards compatability. Bugfix candidate.
* Look for the multibyte codec map files in the parent directory tooNeal Norwitz2004-06-061-2/+7
| | | | | This is similar to test_normalization, so that many source trees can reference the same test file(s).
* Add some doc about using valgrindNeal Norwitz2004-06-063-0/+289
|
* whoops, I wanted that commented out by default, will add doc to MiscNeal Norwitz2004-06-061-1/+1
|
* SF bug 881641, make it easier to use valgrindNeal Norwitz2004-06-061-4/+39
|
* SF 964876 mapping a 0 length fileTim Peters2004-06-061-8/+10
| | | | Document that it can't be done on Windows.
* Added documentation to address SF bug #963246: limitations on multiplePhillip J. Eby2004-06-061-0/+24
| | | | inheritance in Python when a C type is one of the bases.
* add -L flag to cause leaks(1) command to run just before exitSkip Montanaro2004-06-061-2/+13
|
* Noam Raphel: Further developemt of CodeContext feature.Kurt B. Kaiser2004-06-066-48/+86
| | | | | | | | | | | | The visibility state of the code context pane is now persistent between sessions and the pane does not appear in the shell window. M CodeContext.py M EditorWindow.py M NEWS.txt M PyShell.py M config-extensions.def M configHandler.py
* Doc fix for SF #962633.Nicholas Bastin2004-06-062-2/+5
|
* Reword messageAndrew M. Kuchling2004-06-051-1/+1
|
* Remove a number of tests that differ only in input data size. It seemsNeil Schemenauer2004-06-051-161/+59
| | | | | | no bug motivated their inclusion and the chance of them triggering a problem seems unlikely. Refactor to reduce code duplication. Rename 'hamlet_scene' to 'HAMLET_SCENE'. Test is much faster now. Closes #960995.
* Fix exception wordingAndrew M. Kuchling2004-06-051-1/+1
|
* [Bug #918710] Add paragraph to clarify docsAndrew M. Kuchling2004-06-051-0/+5
|