summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make the tarball available for download instead of throwing it awayFred Drake2004-06-171-1/+1
|
* silly typoMichael W. Hudson2004-06-171-1/+1
|
* add missing closing quote.Michael W. Hudson2004-06-171-1/+1
|
* Performance tweak: allow stack_pointer and oparg to be register variables.Armin Rigo2004-06-171-7/+16
| | | | SF patch #943898
* Comment that getfilesystemencoding returns mbcs even on NT+. Fixes #964870.Martin v. Löwis2004-06-161-1/+4
|
* Reverse argument order for nsmallest() and nlargest().Raymond Hettinger2004-06-154-9/+9
| | | | Reads better when the iterable is a generator expression.
* Return unicode strings from _getfullpathname even on W9X. Fixes #924703 .Martin v. Löwis2004-06-151-0/+4
|
* Remove CRLF from project files.Martin v. Löwis2004-06-150-0/+0
|
* add a test that actually installs some scriptsFred Drake2004-06-151-0/+56
|
* One unit test for distutils is not much, but is more than we had yesterday.Fred Drake2004-06-153-0/+98
| | | | We need to write more; hopefully the barrier is a little lower now.
* SF bug #973092: inspect.getframeinfo bug if 'context' is to bigRaymond Hettinger2004-06-151-1/+1
| | | | Make sure the start argument is not negative.
* add a pointer to the Distutils CookbookFred Drake2004-06-141-1/+13
|
* Patch #826074: cmath.log optional base argument, fixes #823209Raymond Hettinger2004-06-144-11/+53
| | | | (Contributed by Andrew Gaul.)
* Back out #957240.Martin v. Löwis2004-06-143-19/+16
|
* Remove a function no longer in use.Raymond Hettinger2004-06-141-8/+0
|
* Teach pythoncore project about new pystrtod.c for VC7.1. This was doneTim Peters2004-06-141-0/+3
| | | | a long time ago for VC6.
* SF bug #970042, lockf() signature uses len, doc refers to length (use ↵Neal Norwitz2004-06-131-1/+1
| | | | length, same as docstring)
* SF patch #969180, hotshot incorrectly computes elapsed time by JasonNeal Norwitz2004-06-131-5/+7
| | | | | | | | | | | | | | | | | Beardsley. If the seconds are different, we still need to calculate the differences between milliseconds. Also, on a Gentoo Linux (2.6.5) dual Athlon MP box with glibc 2.3, time can go backwards. This probably happens when the process switches the CPU it's running on. Time can also go backwards when running NTP. If we detect a negative time delta (ie, time went backwards), return a delta of 0. This prevents an illegal array access elsewhere. I think it's safest to *not* update prev_timeofday in this case, so we return without updating. Backport candidate.
* Remove compiler warningNeal Norwitz2004-06-131-1/+1
|
* Make private function staticNeal Norwitz2004-06-131-1/+1
|
* Remove warning (static not being first) when building with -WNeal Norwitz2004-06-131-2/+2
|
* Remove warning about implicit declaration of strcmp()Neal Norwitz2004-06-131-0/+1
|
* Fixup error exits in nlargest() and nsmallest().Raymond Hettinger2004-06-131-8/+16
|
* Apply heapq.nlargest() to find best matches.Raymond Hettinger2004-06-131-2/+4
|
* Remove unnecessary GC support. Sets cannot have cycles.Raymond Hettinger2004-06-131-16/+7
|
* Add heapq to list of __all__ checks.Raymond Hettinger2004-06-131-0/+1
|
* Install C version of heapq.nsmallest().Raymond Hettinger2004-06-134-17/+182
|
* Install C version of heapq.nlargest().Raymond Hettinger2004-06-121-0/+76
| | | | Maxheap version of heapq.smallest() is forthcoming.
* note a really bad test (no time to fix now)Michael W. Hudson2004-06-121-0/+1
|
* Improve the memory performance and speed of heapq.nsmallest() by usingRaymond Hettinger2004-06-122-0/+24
| | | | | an alternate algorithm when the number of selected items is small relative to the full iterable.
* Minor wording and spacing nits.Raymond Hettinger2004-06-122-11/+7
|
* Complete the list of weakreferencable objects.Raymond Hettinger2004-06-121-0/+1
|
* * Factor out PyObject_SelfIter().Raymond Hettinger2004-06-121-9/+3
| | | | * Change a XDECREF to DECREF (adding an assertion just to be sure).
* Add support for package data.Fred Drake2004-06-113-0/+101
| | | | | | | This is basically the support for package data from Phillip Eby's setuptools package. I've changed it only to fit it into the core implementation rather than to live in subclasses, and added documentation.
* 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
|