Skip Montanaro
7a92d74c52
It would help if I deleted the old pystack!
...
Also, move pystack comment down next to it
2004-04-02 14:53:55 +00:00
Skip Montanaro
74d07f2bfa
include local variables when dumping Python stack trace
2004-04-02 14:51:13 +00:00
Fred Drake
456d3258d6
Fix support for the "prog" keyword to the OptionParser constructor, as well
...
as directly setting the .prog attribute (which should be supported based on
the class docstring).
Closes SF bug #850964 .
2004-04-01 07:40:35 +00:00
Fred Drake
8effa01931
fix typo that wasn't properly fixed in revision 1.144
2004-04-01 04:30:29 +00:00
Jeremy Hylton
d4ceb31664
Bump the magic number to avoid sharing bytecode between 2.3 and 2.4.
...
Revise the long comment that explained details of the magic number
in gory detail.
2004-04-01 02:45:22 +00:00
Andrew M. Kuchling
b67c94318e
[Bugfix candidate] Escape traceback type and value. There are probably additional cases where cgitb.py doesn't escape as paranoidly as it should (e.g. attribute names)
2004-03-31 20:17:56 +00:00
Martin v. Löwis
fb66cd2540
Patch #924497 : find(1) all files with /usr/local/bin/python in them.
...
Backported to 2.3.
2004-03-31 18:59:04 +00:00
Guido van Rossum
59db96f2a3
When /tmp has certain sticky bits set, newly created subdirectories
...
inherit those bits, causing the test_mkdtemp.test_mode() test to fail.
Remove those before comparing the actual mode to the expected mode.
2004-03-31 18:53:29 +00:00
Fred Drake
862b46bbc1
add a heavy box around warning notices to make them really stand out in the
...
PDF and PostScript versions of the docs (the CSS already does this for HTML)
2004-03-31 08:08:34 +00:00
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