summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch #966493: Cleanup generator/eval_frame exposure.Martin v. Löwis2004-06-275-18/+13
|
* Mention Py_RETURN_NONE when introducing the idiom of how to have a functionBrett Cannon2004-06-271-1/+2
| | | | return Py_None.
* * Silence a test failure that resulted when test_site was run byRaymond Hettinger2004-06-271-7/+10
| | | | | | | | | | regrtest.py after it ran test_frozen. This test was really only designed to be run immediately after startup. Afterwards, other modules could be loaded when had not been fixed-up by site.py Took the chicken way out and only tested those modules known to be imported by site.py. * Normalized whitespace.
* SF bug #980419: int left-shift causes memory leakRaymond Hettinger2004-06-261-4/+26
|
* Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC willBrett Cannon2004-06-261-1/+2
| | | | | be discussed later by saying it is the function return type of the sample code to make spotting it easier.
* Install Barry's smtpd.py daemon.Skip Montanaro2004-06-261-1/+2
|
* remove debugging printSkip Montanaro2004-06-261-1/+0
|
* Allow classes from other modules to be specified at startup. For example,Skip Montanaro2004-06-261-2/+9
| | | | | | using the postfixproxy module from Spambayes you might start smtpd up like smtpd.py -c spambayes.postfixproxy.SpambayesProxy :8025 :8026
* Add a comment with implementation notes.Raymond Hettinger2004-06-261-0/+7
|
* Get ceval.c to compile again by moving declarations before other statments.Raymond Hettinger2004-06-261-1/+2
|
* Modules/getpath.c now compiles properly under OS X when using theBrett Cannon2004-06-262-1/+4
| | | | | | | --disable-framework build; header file was protected in an #if using the wrong macro to check. Closes bug #978645.
* Massive performance improvement for C extension and builtin tracing codeNicholas Bastin2004-06-255-97/+31
|
* Make distutils "install --home" support all platforms.Fred Drake2004-06-254-34/+96
|
* Cosmetic spacing fix.Raymond Hettinger2004-06-251-1/+1
|
* Fix leak found by Eric Huss.Raymond Hettinger2004-06-251-0/+1
|
* Fix leak found by Eric Huss.Raymond Hettinger2004-06-251-1/+6
|
* add boilerplate so the test modules can be run as scriptsFred Drake2004-06-253-1/+9
|
* Move NOP to end of code transformation.Raymond Hettinger2004-06-241-3/+7
|
* move the note about the bsddb185 module above the "See also" box; thatFred Drake2004-06-241-4/+5
| | | | | should always go last in the relevant section's main content, but before child sections
* Add compilation of timemodule.c with datetimemodule.c to getBrett Cannon2004-06-241-1/+1
| | | | __PyTime_DoubleToTimet().
* Change comment from C++ style to C.Brett Cannon2004-06-241-1/+1
|
* Less ugly #ifdefs for C profiling fixNicholas Bastin2004-06-221-12/+5
|
* One forgotten C profiling #ifdefNicholas Bastin2004-06-221-1/+2
|
* Making C profiling a configure option (at least temporarily)Nicholas Bastin2004-06-224-1/+55
|
* Install two code generation optimizations that depend on NOP.Raymond Hettinger2004-06-214-3/+35
| | | | Reduces the cost of "not" to almost zero.
* add a couple of tests for the build_scripts commandFred Drake2004-06-211-0/+74
|
* SF patch 876130: add C API to datetime module, from Anthony Tuininga.Tim Peters2004-06-205-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 modeMartin v. Löwis2004-06-201-0/+2
|
* Improve the documented advice on how to best use heapq.heapreplace().Raymond Hettinger2004-06-203-3/+10
|
* Use PyArg_UnpackTuple() where possible.Raymond Hettinger2004-06-201-4/+4
|
* Bug 975996: Add _PyTime_DoubleToTimet to C APITim Peters2004-06-206-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 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
|