Fred Drake
90756c2da7
add missing and forthcoming releases
2004-03-31 08:04:46 +00:00
Fred Drake
34c43202eb
Emphasize the requirement that Python.h be included first more strongly.
...
Closes SF bug #837228 ; backporting for Python 2.3.4.
2004-03-31 07:45:46 +00:00
Fred Drake
203b10c75a
added scripts to the list of files automatically included in the
...
distribution (see SF bug #796042 )
2004-03-31 01:50:37 +00:00
Andrew MacIntyre
da4d6cb573
OS/2 VACPP build updates/fixes
2004-03-29 11:53:38 +00:00
Tim Peters
174175bf3a
Added a comment about the unreferenced PyThreadState.tick_counter
...
member.
2004-03-29 02:24:26 +00:00
Andrew M. Kuchling
aeaec8d4aa
fix typo
2004-03-29 01:19:54 +00:00
Raymond Hettinger
f13c024002
Insert missing pronoun
2004-03-28 22:44:09 +00:00
Tim Peters
116d83ce71
SF bug 924242: socket._fileobject._getclosed() returns wrong value
...
The .closed property always returned the wrong result.
Bugfix candidate!
2004-03-28 02:20:45 +00:00
Skip Montanaro
165163f245
add usage() function, -h(elp) flag and long versions of short flags
2004-03-27 18:43:56 +00:00
Skip Montanaro
dbb407808a
- add entry for complex number
...
- fix a couple typos
- refine definitions for "interpreted" and "coercion" based upon updates on
the python glossary wiki
2004-03-27 18:23:11 +00:00
Raymond Hettinger
d732c95eb0
Revert 1.51 booleans so that sre will still run on old pythons.
2004-03-27 09:24:36 +00:00
Raymond Hettinger
968c56a626
Simple Optimizations:
...
* Factor constant expressions out of loops.
* Presize a list being grown to a known length.
2004-03-26 23:24:00 +00:00
Raymond Hettinger
29e383754e
Remove unnecessary test. (Thanks Skip)
2004-03-26 20:16:39 +00:00
Fred Drake
8123ff6bca
remove out-of-date warning
2004-03-26 17:11:10 +00:00
David Ascher
1c5701d36c
Fix test failure for test_tcl on OS/X and Windows if a
...
version of Tcl other than ActiveTcl is installed (ActiveTcl
included TclX, other Tcl distros didn't).
I'm removing the package loading test because it's hard to
come up with a package that is guaranteed to be in any Tcl installation.
Special-casing darwin and windows is ok since that leaves the
only Tk platform (X) which the test was trying to address.
2004-03-26 15:10:25 +00:00
Armin Rigo
01ab279056
Marshal clean-up (SF patch #873224 )
2004-03-26 15:09:27 +00:00
Raymond Hettinger
01c9f8c35f
Simple optimizations:
...
* pre-build a single identity function for the fixup function
* pre-build membership tests in dictionaries instead of in-line tuples
* assign len() to a local variable
* assign append() methods to a local variable
* use xrange() instead of range()
* replace "x<<1" with "x+x"
2004-03-26 11:16:55 +00:00
Raymond Hettinger
707483fdef
Update timeit example to reflect current performance.
2004-03-26 07:56:23 +00:00
Fred Drake
4b49823edd
make sure the default manifest generation includes files identified as
...
scripts
closes SF bug 796042
2004-03-25 22:04:52 +00:00
Marc-André Lemburg
91e83e209d
Added more Windows version names (thanks to Thomas Heller).
...
Fixed bug in platform() cache (thanks to Brett Cannon).
(Restored Python 1.5.2 compatibility.)
2004-03-25 18:35:12 +00:00
Brett Cannon
9001cde559
Fix last patch to be backwards-compatible with Python 1.5.2 .
...
Bumped version micro number.
2004-03-25 18:32:11 +00:00
Brett Cannon
21beb4c2ce
Fixed a caching bug in platform.platform() where the argument of 'terse' was
...
not taken into consideration when caching value.
2004-03-25 16:55:12 +00:00
Fred Drake
504ca68e20
Note that reading from a socket may not always return all of the
...
remaining content of a stream when expected to do so.
Closes SF bug #725265 . Should be backported to Python 2.3.x.
2004-03-25 16:51:12 +00:00
Fred Drake
267b062432
- make sure the methods minidom adds to the basic DOM are attributed
...
to Node objects in the index (closes SF bug #832251 )
- fix a variety of markup nits
Someone should backport this patch to Python 2.3.x.
2004-03-25 16:39:46 +00:00
Hye-Shik Chang
ff365c931b
Get rid of gcc warning.
2004-03-25 16:37:03 +00:00
Fred Drake
ad62202a5e
include the right index sources
2004-03-25 16:35:10 +00:00
Fred Drake
73789bc8f5
remove duplicate use of the meta-data label
2004-03-25 16:33:29 +00:00
Martin v. Löwis
093c100bd4
Correct code to advance ptr to be well-formed C.
2004-03-25 16:16:28 +00:00
Fred Drake
2f00c5453e
fix typo
2004-03-25 16:14:17 +00:00
Fred Drake
f39c3c7a6b
note that distutils API docs are included in "Distributing Python
...
Modules"
2004-03-25 16:12:08 +00:00
Fred Drake
d0c3b26bd0
improve the very-high-level API docs (contributed by Jeff Epler)
...
Closes SF patch #798638 .
2004-03-25 15:44:56 +00:00
Martin v. Löwis
1c0f1f97fb
Defer compilation of regular expressions until first use.
2004-03-25 14:58:19 +00:00
Fred Drake
85309512ec
Remove note that PyErr_SetInterrupt() is obsolete; add comment about the
...
fact that it was marked obsolete but is still needed.
Closes SF bug #919299 . Someone else should backport this to Python 2.3.
2004-03-25 14:25:28 +00:00
Martin v. Löwis
bc503d1e90
Use True/False instead of 0/1 for character classes.
2004-03-25 13:50:59 +00:00
Raymond Hettinger
5232f50b19
SF bug: #921927 : Fixed a typo/thinko spelling "parameter" as "paramter"
2004-03-25 08:51:36 +00:00
Phillip J. Eby
91a968af76
Ensure super() lookup of descriptor from classmethod works (SF #743627 )
2004-03-25 02:19:34 +00:00
Nicholas Bastin
2786d90617
A few more PyThreadState_Get to PyThreadState_GET conversions
2004-03-25 02:16:23 +00:00
Piers Lauder
f167dc3380
fix name in setacl method doc string
2004-03-25 00:12:21 +00:00
Nicholas Bastin
e5662aedef
Changed random calls to PyThreadState_Get() to use the macro
2004-03-24 22:22:12 +00:00
Nicholas Bastin
c69ebe8d50
Enable the profiling of C functions (builtins and extensions)
2004-03-24 21:57:10 +00:00
Martin v. Löwis
a1dde13389
Add test case for unicode(somestring, "idna").
2004-03-24 16:48:24 +00:00
Brett Cannon
aaeffaf01e
Replace sequential split/join calls on strings with a single replace call.
...
Thanks Andrew Gaul.
2004-03-23 23:50:17 +00:00
Martin v. Löwis
708b4dacf4
Convert input to a string object. Fixes #909230 .
...
Backported 2.3.
2004-03-23 23:40:36 +00:00
Nicholas Bastin
c723a14bfb
...for work done at PyCon 2004 (and beyond...)
2004-03-23 23:29:01 +00:00
Brett Cannon
06c34798df
Make socket.sslerror a subclass of socket.error .
...
Added socket.error to the socket module's C API.
2004-03-23 23:16:54 +00:00
Fred Drake
fee6f33e08
more markup nits
2004-03-23 21:40:07 +00:00
Brett Cannon
69200fa85b
Replace code in urllib for basejoin (undocumented) with urlparse.urljoin .
...
Test suites for urllib and urlparse run with each other's function to verify
correctness of replacement and both test suites pass.
Bumped urllib's __version__ attribute up a minor number.
2004-03-23 21:26:39 +00:00
Fred Drake
e05c3e0fbb
fix markup nits
2004-03-23 20:30:59 +00:00
Fred Drake
4ac6c6afc3
add the distutils modules to the global modules list
2004-03-23 19:26:54 +00:00
Guido van Rossum
48713e8798
Add runctx to __all__.
2004-03-23 19:19:21 +00:00