Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Making C profiling a configure option (at least temporarily) | Nicholas Bastin | 2004-06-22 | 4 | -1/+55 |
| | |||||
* | Install two code generation optimizations that depend on NOP. | Raymond Hettinger | 2004-06-21 | 4 | -3/+35 |
| | | | | Reduces the cost of "not" to almost zero. | ||||
* | add a couple of tests for the build_scripts command | Fred Drake | 2004-06-21 | 1 | -0/+74 |
| | |||||
* | SF patch 876130: add C API to datetime module, from Anthony Tuininga. | Tim Peters | 2004-06-20 | 5 | -36/+287 |
| | | | | | | The LaTeX is untested (well, so is the new API, for that matter). Note that I also changed NULL to get spelled consistently in concrete.tex. If that was a wrong thing to do, Fred should yell at me. | ||||
* | Patch #975885: print file name in err msg in quiet mode | Martin v. Löwis | 2004-06-20 | 1 | -0/+2 |
| | |||||
* | Improve the documented advice on how to best use heapq.heapreplace(). | Raymond Hettinger | 2004-06-20 | 3 | -3/+10 |
| | |||||
* | Use PyArg_UnpackTuple() where possible. | Raymond Hettinger | 2004-06-20 | 1 | -4/+4 |
| | |||||
* | Bug 975996: Add _PyTime_DoubleToTimet to C API | Tim Peters | 2004-06-20 | 6 | -15/+90 |
| | | | | | | | | | | | New include file timefuncs.h exports private API function _PyTime_DoubleToTimet() from timemodule.c. timemodule should export some other functions too (look for painful bits in datetimemodule.c). Added insane-argument checking to datetime's assorted fromtimestamp() and utcfromtimestamp() methods. Added insane-argument tests of these to test_datetime, and insane-argument tests for ctime(), localtime() and gmtime() to test_time. | ||||
* | shutil.move() will raise an exception when trying to move a directory into | Brett Cannon | 2004-06-19 | 4 | -2/+24 |
| | | | | | | itself. Closes bug #919012 . Thanks Johannes Gijsbers. | ||||
* | Add news item about raising ValueError when timemodule.c code that uses | Brett Cannon | 2004-06-19 | 1 | -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 in | Brett Cannon | 2004-06-19 | 1 | -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é Lemburg | 2004-06-19 | 1 | -1/+6 |
| | |||||
* | Change pydoc.stripid() be able to match against 64-bit addresses by having | Brett Cannon | 2004-06-19 | 1 | -1/+1 |
| | | | | regex match from 6 to 16 characters. | ||||
* | pydoc.stripid() is now case-insensitive for its regex to support platforms that | Brett Cannon | 2004-06-19 | 3 | -7/+10 |
| | | | | | | have pointer addresses in uppercase. Closes bug #934282. Thanks Robin Becker. | ||||
* | fix typo | Fred Drake | 2004-06-18 | 1 | -1/+1 |
| | |||||
* | If self.packages is None (this can happen, I saw it), return | Sjoerd Mullender | 2004-06-18 | 1 | -0/+2 |
| | | | | immediately (since None is not a sequence you can iterate over). | ||||
* | Disabling end-of-loop code not reached warning on SunPro | Nicholas Bastin | 2004-06-18 | 1 | -0/+4 |
| | |||||
* | Rebuild the wininst.exe files. | Thomas Heller | 2004-06-18 | 2 | -0/+0 |
| | |||||
* | The wininst.exe is no longer compressed with UPX. | Thomas Heller | 2004-06-18 | 2 | -9/+3 |
| | |||||
* | Fix an obvious typo (It *is* a typo, or not?) | Thomas Heller | 2004-06-18 | 1 | -1/+1 |
| | |||||
* | When loading the Python dll to run the postinstall script, try to load | Thomas Heller | 2004-06-18 | 1 | -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 Heller | 2004-06-18 | 1 | -1/+1 |
| | |||||
* | Fix typo - the module is named distutils.util. | Thomas Heller | 2004-06-18 | 1 | -1/+1 |
| | |||||
* | allow developers to more easily build a profiling version of the interpreter | Skip Montanaro | 2004-06-18 | 3 | -1272/+3118 |
| | | | | and modules by configuring with the --enable-profiling flag. | ||||
* | Use getopt where possible, so this supports option letters that get | Fred Drake | 2004-06-17 | 1 | -1/+10 |
| | | | | jammed together on thos platforms. | ||||
* | Add apparently missing word for InvalidStateError definition. | Brett Cannon | 2004-06-17 | 1 | -1/+1 |
| | | | | Closes bug #973901. Thanks Brian Gough. | ||||
* | fix bug: list of data files was initialized too soon in build_py | Fred Drake | 2004-06-17 | 2 | -1/+51 |
| | |||||
* | move support code to a helper module to ease re-use | Fred Drake | 2004-06-17 | 2 | -34/+48 |
| | |||||
* | - add link to the downloadable package in the generated email | Fred Drake | 2004-06-17 | 1 | -2/+24 |
| | | | | - misc. changes | ||||
* | Fixed end-of-loop code not reached warning when using SunPro C | Nicholas Bastin | 2004-06-17 | 5 | -0/+20 |
| | |||||
* | 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 |
| |