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
Fred Drake
d0620dcf00
add a test that actually installs some scripts
2004-06-15 16:55:46 +00:00
Fred Drake
bb7c14461d
One unit test for distutils is not much, but is more than we had yesterday.
...
We need to write more; hopefully the barrier is a little lower now.
2004-06-15 15:49:46 +00:00
Raymond Hettinger
a050171ee9
SF bug #973092 : inspect.getframeinfo bug if 'context' is to big
...
Make sure the start argument is not negative.
2004-06-15 11:22:53 +00:00
Fred Drake
40333ceeac
add a pointer to the Distutils Cookbook
2004-06-14 22:07:50 +00:00
Raymond Hettinger
b67ad7e671
Patch #826074 : cmath.log optional base argument, fixes #823209
...
(Contributed by Andrew Gaul.)
2004-06-14 07:40:10 +00:00
Martin v. Löwis
ad21945d03
Back out #957240 .
2004-06-14 04:58:42 +00:00
Raymond Hettinger
148a63f1fc
Remove a function no longer in use.
2004-06-14 04:24:41 +00:00
Tim Peters
3d1f6bba6d
Teach pythoncore project about new pystrtod.c for VC7.1. This was done
...
a long time ago for VC6.
2004-06-14 01:05:46 +00:00
Neal Norwitz
965eeca630
SF bug #970042 , lockf() signature uses len, doc refers to length (use length, same as docstring)
2004-06-13 21:11:03 +00:00
Neal Norwitz
7a135166f6
SF patch #969180 , hotshot incorrectly computes elapsed time by Jason
...
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.
2004-06-13 20:45:11 +00:00
Neal Norwitz
0f5aed4e41
Remove compiler warning
2004-06-13 20:32:17 +00:00
Neal Norwitz
d85c452604
Make private function static
2004-06-13 20:31:49 +00:00
Neal Norwitz
75a3204095
Remove warning (static not being first) when building with -W
2004-06-13 20:31:17 +00:00
Neal Norwitz
0a8266a7e3
Remove warning about implicit declaration of strcmp()
2004-06-13 20:29:55 +00:00
Raymond Hettinger
de72eddf69
Fixup error exits in nlargest() and nsmallest().
2004-06-13 15:36:56 +00:00
Raymond Hettinger
bb6b7346ce
Apply heapq.nlargest() to find best matches.
2004-06-13 09:57:33 +00:00
Raymond Hettinger
47edb4b09c
Remove unnecessary GC support. Sets cannot have cycles.
2004-06-13 08:20:46 +00:00
Raymond Hettinger
59efe363b6
Add heapq to list of __all__ checks.
2004-06-13 05:46:14 +00:00
Raymond Hettinger
2e3dfaf707
Install C version of heapq.nsmallest().
2004-06-13 05:26:33 +00:00
Raymond Hettinger
c929766361
Install C version of heapq.nlargest().
...
Maxheap version of heapq.smallest() is forthcoming.
2004-06-12 22:48:46 +00:00
Michael W. Hudson
84a7f0077c
note a really bad test (no time to fix now)
2004-06-12 16:30:32 +00:00
Raymond Hettinger
b25aa36f83
Improve the memory performance and speed of heapq.nsmallest() by using
...
an alternate algorithm when the number of selected items is small
relative to the full iterable.
2004-06-12 08:33:36 +00:00
Raymond Hettinger
2e6694086f
Minor wording and spacing nits.
2004-06-12 07:59:40 +00:00
Raymond Hettinger
34809170e5
Complete the list of weakreferencable objects.
2004-06-12 06:56:44 +00:00
Raymond Hettinger
6c7a00fbaa
* Factor out PyObject_SelfIter().
...
* Change a XDECREF to DECREF (adding an assertion just to be sure).
2004-06-12 05:17:55 +00:00