Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make the tarball available for download instead of throwing it away | Fred Drake | 2004-06-17 | 1 | -1/+1 |
| | |||||
* | silly typo | Michael W. Hudson | 2004-06-17 | 1 | -1/+1 |
| | |||||
* | add missing closing quote. | Michael W. Hudson | 2004-06-17 | 1 | -1/+1 |
| | |||||
* | Performance tweak: allow stack_pointer and oparg to be register variables. | Armin Rigo | 2004-06-17 | 1 | -7/+16 |
| | | | | SF patch #943898 | ||||
* | Comment that getfilesystemencoding returns mbcs even on NT+. Fixes #964870. | Martin v. Löwis | 2004-06-16 | 1 | -1/+4 |
| | |||||
* | Reverse argument order for nsmallest() and nlargest(). | Raymond Hettinger | 2004-06-15 | 4 | -9/+9 |
| | | | | Reads better when the iterable is a generator expression. | ||||
* | Return unicode strings from _getfullpathname even on W9X. Fixes #924703 . | Martin v. Löwis | 2004-06-15 | 1 | -0/+4 |
| | |||||
* | Remove CRLF from project files. | Martin v. Löwis | 2004-06-15 | 0 | -0/+0 |
| | |||||
* | add a test that actually installs some scripts | Fred Drake | 2004-06-15 | 1 | -0/+56 |
| | |||||
* | One unit test for distutils is not much, but is more than we had yesterday. | Fred Drake | 2004-06-15 | 3 | -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 big | Raymond Hettinger | 2004-06-15 | 1 | -1/+1 |
| | | | | Make sure the start argument is not negative. | ||||
* | add a pointer to the Distutils Cookbook | Fred Drake | 2004-06-14 | 1 | -1/+13 |
| | |||||
* | Patch #826074: cmath.log optional base argument, fixes #823209 | Raymond Hettinger | 2004-06-14 | 4 | -11/+53 |
| | | | | (Contributed by Andrew Gaul.) | ||||
* | Back out #957240. | Martin v. Löwis | 2004-06-14 | 3 | -19/+16 |
| | |||||
* | Remove a function no longer in use. | Raymond Hettinger | 2004-06-14 | 1 | -8/+0 |
| | |||||
* | Teach pythoncore project about new pystrtod.c for VC7.1. This was done | Tim Peters | 2004-06-14 | 1 | -0/+3 |
| | | | | a long time ago for VC6. | ||||
* | SF bug #970042, lockf() signature uses len, doc refers to length (use ↵ | Neal Norwitz | 2004-06-13 | 1 | -1/+1 |
| | | | | length, same as docstring) | ||||
* | SF patch #969180, hotshot incorrectly computes elapsed time by Jason | Neal Norwitz | 2004-06-13 | 1 | -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 warning | Neal Norwitz | 2004-06-13 | 1 | -1/+1 |
| | |||||
* | Make private function static | Neal Norwitz | 2004-06-13 | 1 | -1/+1 |
| | |||||
* | Remove warning (static not being first) when building with -W | Neal Norwitz | 2004-06-13 | 1 | -2/+2 |
| | |||||
* | Remove warning about implicit declaration of strcmp() | Neal Norwitz | 2004-06-13 | 1 | -0/+1 |
| | |||||
* | Fixup error exits in nlargest() and nsmallest(). | Raymond Hettinger | 2004-06-13 | 1 | -8/+16 |
| | |||||
* | Apply heapq.nlargest() to find best matches. | Raymond Hettinger | 2004-06-13 | 1 | -2/+4 |
| | |||||
* | Remove unnecessary GC support. Sets cannot have cycles. | Raymond Hettinger | 2004-06-13 | 1 | -16/+7 |
| | |||||
* | Add heapq to list of __all__ checks. | Raymond Hettinger | 2004-06-13 | 1 | -0/+1 |
| | |||||
* | Install C version of heapq.nsmallest(). | Raymond Hettinger | 2004-06-13 | 4 | -17/+182 |
| | |||||
* | Install C version of heapq.nlargest(). | Raymond Hettinger | 2004-06-12 | 1 | -0/+76 |
| | | | | Maxheap version of heapq.smallest() is forthcoming. | ||||
* | note a really bad test (no time to fix now) | Michael W. Hudson | 2004-06-12 | 1 | -0/+1 |
| | |||||
* | Improve the memory performance and speed of heapq.nsmallest() by using | Raymond Hettinger | 2004-06-12 | 2 | -0/+24 |
| | | | | | an alternate algorithm when the number of selected items is small relative to the full iterable. | ||||
* | Minor wording and spacing nits. | Raymond Hettinger | 2004-06-12 | 2 | -11/+7 |
| | |||||
* | Complete the list of weakreferencable objects. | Raymond Hettinger | 2004-06-12 | 1 | -0/+1 |
| | |||||
* | * Factor out PyObject_SelfIter(). | Raymond Hettinger | 2004-06-12 | 1 | -9/+3 |
| | | | | * Change a XDECREF to DECREF (adding an assertion just to be sure). | ||||
* | Add support for package data. | Fred Drake | 2004-06-11 | 3 | -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 patch | Michael W. Hudson | 2004-06-11 | 1 | -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 Baxter | 2004-06-11 | 2 | -2/+10 |
| | | | | | | | | | | releases. Ignore it, rather than breaking. Will backport. (and r1.1000 for Misc/NEWS!) | ||||
* | fix a poorly worded error message | Anthony Baxter | 2004-06-11 | 1 | -1/+1 |
| | |||||
* | Fix for bug #966623 - classes created with type() in an exec(, {}) don't | Anthony Baxter | 2004-06-11 | 2 | -0/+8 |
| | | | | | | have a __module__. Test for this case. Bugfix candidate, will backport. | ||||
* | dump HAVE_FOPENRF stuff - obsolete | Skip Montanaro | 2004-06-11 | 1 | -26/+19 |
| | |||||
* | Respect a module's __all__ attribute. Closes #969938. | Skip Montanaro | 2004-06-11 | 1 | -8/+21 |
| | |||||
* | Futher improvements to frozenset hashing (based on Yitz Gale's battery of | Raymond Hettinger | 2004-06-10 | 1 | -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 Hettinger | 2004-06-10 | 1 | -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 Hettinger | 2004-06-10 | 2 | -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 Hettinger | 2004-06-10 | 1 | -86/+90 |
| | |||||
* | SF patch #969791: Add nlargest() and nsmallest() to heapq. | Raymond Hettinger | 2004-06-10 | 5 | -5/+75 |
| | |||||
* | Defining Py_GCC_ATTRIBUTE finds even some more undocumented functions. | Thomas Heller | 2004-06-09 | 1 | -1/+1 |
| | |||||
* | Public Python functions are nowadays marked PyAPI_FUNC, not DL_IMPORT. | Thomas Heller | 2004-06-09 | 1 | -1/+1 |
| | |||||
* | make a reference to the SimpleHTTPServer module a hyperlink to the | Fred Drake | 2004-06-09 | 1 | -1/+1 |
| | | | | docs | ||||
* | Ensure path is initialized to prevent freeing random memory | Neal Norwitz | 2004-06-09 | 1 | -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 Peters | 2004-06-08 | 1 | -1/+1 |
| |