summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* shutil.move() will raise an exception when trying to move a directory intoBrett Cannon2004-06-194-2/+24
| | | | | | itself. Closes bug #919012 . Thanks Johannes Gijsbers.
* Add news item about raising ValueError when timemodule.c code that usesBrett Cannon2004-06-191-0/+4
| | | | timestamps will lose precision thanks to time_t < double (bug #919012).
* Raise ValueError when value being stored in a time_t variable will result inBrett Cannon2004-06-191-5/+40
| | | | | | | | | | | more than a second of precision. Primarily affects ctime, localtime, and gmtime. Closes bug #919012 thanks to Tim Peters' code. Tim suggests that the new funciton being introduced, _PyTime_DoubletoTimet(), should be added to the internal C API and then used in datetime where appropriate. Not being done now for lack of time.
* Added normalization for Windows system name. Closes SF #945665.Marc-André Lemburg2004-06-191-1/+6
|
* Change pydoc.stripid() be able to match against 64-bit addresses by havingBrett Cannon2004-06-191-1/+1
| | | | regex match from 6 to 16 characters.
* pydoc.stripid() is now case-insensitive for its regex to support platforms thatBrett Cannon2004-06-193-7/+10
| | | | | | have pointer addresses in uppercase. Closes bug #934282. Thanks Robin Becker.
* fix typoFred Drake2004-06-181-1/+1
|
* If self.packages is None (this can happen, I saw it), returnSjoerd Mullender2004-06-181-0/+2
| | | | immediately (since None is not a sequence you can iterate over).
* Disabling end-of-loop code not reached warning on SunProNicholas Bastin2004-06-181-0/+4
|
* Rebuild the wininst.exe files.Thomas Heller2004-06-182-0/+0
|
* The wininst.exe is no longer compressed with UPX.Thomas Heller2004-06-182-9/+3
|
* Fix an obvious typo (It *is* a typo, or not?)Thomas Heller2004-06-181-1/+1
|
* When loading the Python dll to run the postinstall script, try to loadThomas Heller2004-06-181-4/+20
| | | | | | | | | it from the install directory (as reported by the registry) in case it is not found on the default Loadlibrary search path. Fixes SF 935091: bdist_winist post-install script fails on non-admin Python Already backported.
* The 'distributing python modules' manual now has an index.Thomas Heller2004-06-181-1/+1
|
* Fix typo - the module is named distutils.util.Thomas Heller2004-06-181-1/+1
|
* allow developers to more easily build a profiling version of the interpreterSkip Montanaro2004-06-183-1272/+3118
| | | | and modules by configuring with the --enable-profiling flag.
* Use getopt where possible, so this supports option letters that getFred Drake2004-06-171-1/+10
| | | | jammed together on thos platforms.
* Add apparently missing word for InvalidStateError definition.Brett Cannon2004-06-171-1/+1
| | | | Closes bug #973901. Thanks Brian Gough.
* fix bug: list of data files was initialized too soon in build_pyFred Drake2004-06-172-1/+51
|
* move support code to a helper module to ease re-useFred Drake2004-06-172-34/+48
|
* - add link to the downloadable package in the generated emailFred Drake2004-06-171-2/+24
| | | | - misc. changes
* Fixed end-of-loop code not reached warning when using SunPro CNicholas Bastin2004-06-175-0/+20
|
* 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.