Nicholas Bastin
d858a7763a
Massive performance improvement for C extension and builtin tracing code
2004-06-25 23:31:06 +00:00
Fred Drake
ec6229e352
Make distutils "install --home" support all platforms.
2004-06-25 23:02:59 +00:00
Raymond Hettinger
8d726eef96
Cosmetic spacing fix.
2004-06-25 22:24:35 +00:00
Raymond Hettinger
70b3a1ab0a
Fix leak found by Eric Huss.
2004-06-25 22:20:33 +00:00
Raymond Hettinger
d56cbe57b8
Fix leak found by Eric Huss.
2004-06-25 22:17:39 +00:00
Fred Drake
22021579a9
add boilerplate so the test modules can be run as scripts
2004-06-25 19:04:21 +00:00
Raymond Hettinger
43ea47ff06
Move NOP to end of code transformation.
2004-06-24 09:25:39 +00:00
Fred Drake
b86aa99eb9
move the note about the bsddb185 module above the "See also" box; that
...
should always go last in the relevant section's main content, but
before child sections
2004-06-24 06:03:59 +00:00
Brett Cannon
057e7200d1
Add compilation of timemodule.c with datetimemodule.c to get
...
__PyTime_DoubleToTimet().
2004-06-24 01:38:47 +00:00
Brett Cannon
6cc48148fe
Change comment from C++ style to C.
2004-06-24 00:48:44 +00:00
Nicholas Bastin
941b8bc41a
Less ugly #ifdefs for C profiling fix
2004-06-22 15:37:51 +00:00
Nicholas Bastin
bbffbd1983
One forgotten C profiling #ifdef
2004-06-22 04:18:47 +00:00
Nicholas Bastin
4c70b69fb1
Making C profiling a configure option (at least temporarily)
2004-06-22 03:51:38 +00:00
Raymond Hettinger
9c18e81fb2
Install two code generation optimizations that depend on NOP.
...
Reduces the cost of "not" to almost zero.
2004-06-21 16:31:15 +00:00
Fred Drake
2c9f889122
add a couple of tests for the build_scripts command
2004-06-21 16:15:22 +00:00
Tim Peters
9ddf40b4e1
SF patch 876130: add C API to datetime module, from Anthony Tuininga.
...
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.
2004-06-20 22:41:32 +00:00
Martin v. Löwis
873a277eb4
Patch #975885 : print file name in err msg in quiet mode
2004-06-20 20:59:56 +00:00
Raymond Hettinger
28224f897a
Improve the documented advice on how to best use heapq.heapreplace().
2004-06-20 09:07:53 +00:00
Raymond Hettinger
1761a7cc8b
Use PyArg_UnpackTuple() where possible.
2004-06-20 04:23:19 +00:00
Tim Peters
1b6f7a9057
Bug 975996: Add _PyTime_DoubleToTimet to C API
...
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.
2004-06-20 02:50:16 +00:00
Brett Cannon
1c3fa18be7
shutil.move() will raise an exception when trying to move a directory into
...
itself.
Closes bug #919012 . Thanks Johannes Gijsbers.
2004-06-19 21:11:35 +00:00
Brett Cannon
b46ed71d70
Add news item about raising ValueError when timemodule.c code that uses
...
timestamps will lose precision thanks to time_t < double (bug #919012 ).
2004-06-19 20:50:47 +00:00
Brett Cannon
298c380c74
Raise ValueError when value being stored in a time_t variable will result in
...
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.
2004-06-19 20:48:43 +00:00
Marc-André Lemburg
cdc7923f6d
Added normalization for Windows system name. Closes SF #945665 .
2004-06-19 17:17:00 +00:00
Brett Cannon
84601f14a3
Change pydoc.stripid() be able to match against 64-bit addresses by having
...
regex match from 6 to 16 characters.
2004-06-19 01:22:48 +00:00
Brett Cannon
c6c1f478d9
pydoc.stripid() is now case-insensitive for its regex to support platforms that
...
have pointer addresses in uppercase.
Closes bug #934282 . Thanks Robin Becker.
2004-06-19 01:02:51 +00:00
Fred Drake
2b2fe94cde
fix typo
2004-06-18 21:28:28 +00:00
Sjoerd Mullender
4dbda47aea
If self.packages is None (this can happen, I saw it), return
...
immediately (since None is not a sequence you can iterate over).
2004-06-18 20:39:11 +00:00
Nicholas Bastin
9e1bfe7dd9
Disabling end-of-loop code not reached warning on SunPro
2004-06-18 19:57:13 +00:00
Thomas Heller
89a2dc72b1
Rebuild the wininst.exe files.
2004-06-18 18:30:27 +00:00
Thomas Heller
74db40419e
The wininst.exe is no longer compressed with UPX.
2004-06-18 18:29:46 +00:00
Thomas Heller
dd6d207cf8
Fix an obvious typo (It *is* a typo, or not?)
2004-06-18 17:31:23 +00:00
Thomas Heller
48340390ac
When loading the Python dll to run the postinstall script, try to load
...
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.
2004-06-18 17:03:38 +00:00
Thomas Heller
a42bc21ef8
The 'distributing python modules' manual now has an index.
2004-06-18 08:27:36 +00:00
Thomas Heller
949f66141b
Fix typo - the module is named distutils.util.
2004-06-18 06:55:28 +00:00
Skip Montanaro
56f6a4f225
allow developers to more easily build a profiling version of the interpreter
...
and modules by configuring with the --enable-profiling flag.
2004-06-18 02:47:22 +00:00
Fred Drake
964c798a94
Use getopt where possible, so this supports option letters that get
...
jammed together on thos platforms.
2004-06-17 22:04:17 +00:00
Brett Cannon
3706855d11
Add apparently missing word for InvalidStateError definition.
...
Closes bug #973901 . Thanks Brian Gough.
2004-06-17 21:34:05 +00:00
Fred Drake
b849eddde6
fix bug: list of data files was initialized too soon in build_py
2004-06-17 20:16:19 +00:00
Fred Drake
b8ab8b6da8
move support code to a helper module to ease re-use
2004-06-17 20:14:50 +00:00
Fred Drake
9e1ac2496f
- add link to the downloadable package in the generated email
...
- misc. changes
2004-06-17 18:36:54 +00:00
Nicholas Bastin
1ce9e4cfc1
Fixed end-of-loop code not reached warning when using SunPro C
2004-06-17 18:27:18 +00:00
Fred Drake
0083c920f2
make the tarball available for download instead of throwing it away
2004-06-17 17:19:12 +00:00
Michael W. Hudson
24ec21174c
silly typo
2004-06-17 15:55:53 +00:00
Michael W. Hudson
9e151d149e
add missing closing quote.
2004-06-17 13:29:11 +00:00
Armin Rigo
8817fcdba5
Performance tweak: allow stack_pointer and oparg to be register variables.
...
SF patch #943898
2004-06-17 10:22:40 +00:00
Martin v. Löwis
64af6c545c
Comment that getfilesystemencoding returns mbcs even on NT+. Fixes #964870 .
2004-06-16 04:53:46 +00:00
Raymond Hettinger
aefde435ef
Reverse argument order for nsmallest() and nlargest().
...
Reads better when the iterable is a generator expression.
2004-06-15 23:53:35 +00:00
Martin v. Löwis
969297f488
Return unicode strings from _getfullpathname even on W9X. Fixes #924703 .
2004-06-15 18:49:58 +00:00
Martin v. Löwis
0d6e8f2e65
Remove CRLF from project files.
2004-06-15 18:18:19 +00:00