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
Fred Drake
6356fff2cb
give the document indexes
2004-03-23 19:02:38 +00:00
Fred Drake
630e5bd2f7
- use recommended Python style in examples (no spaces around "=" for
...
keyword args)
- format multi-line calls to distutils.core.setup() consistently, and
in line with general practice (one keyword arg per line,
comma/newline after the last
- fix a few typos
2004-03-23 18:54:12 +00:00
Nicholas Bastin
824b1b2da8
Added command line options for profile.py - one for stats output file
...
and one for sort order when using stdout. Uses optparse.
2004-03-23 18:44:39 +00:00
Fred Drake
6fca7cc783
merge Anthony Baxter's distutils API reference into the package
...
author's documentation
2004-03-23 18:43:03 +00:00
Martin v. Löwis
321c9ab74c
Intern __name__.
2004-03-23 18:40:15 +00:00
Martin v. Löwis
83969eeeeb
Decref all if ensure_fromlist fails. Fixes #876533 .
...
Backported to 2.3.
2004-03-23 16:28:13 +00:00
Anthony Baxter
05f842bae2
Basic dependency checking. setup() has two new optional arguments
...
requires and provides. requires is a sequence of strings, of the
form 'packagename-version'. The dependency checking so far merely
does an '__import__(packagename)' and checks for packagename.__version__
You can also leave off the version, and any version of the package
will be installed.
There's a special case for the package 'python' - sys.version_info
is used, so
requires= ( 'python-2.3', )
just works.
Provides is of the same format as requires - but if it's not supplied,
a provides is generated by adding the version to each entry in packages,
or modules if packages isn't there.
Provides is currently only used in the PKG-INFO file. Shortly, PyPI
will grow the ability to accept these lines, and register will be
updated to send them.
There's a new command 'checkdep' command that runs these checks.
For this version, only greater-than-or-equal checking is done. We'll
add the ability to specify an optional operator later.
2004-03-22 22:22:05 +00:00
Martin v. Löwis
a3837a0d63
Patch #911176 : Move test function into __main__
2004-03-22 21:49:47 +00:00
Fred Drake
211a2eb784
convert from a howto to a manual
2004-03-22 21:44:43 +00:00
Armin Rigo
5d2c68359b
Lost reference.
2004-03-22 20:16:58 +00:00
Nicholas Bastin
1eb4bfc657
Added global runctx function to profile to fix SF Bug #716587
2004-03-22 20:12:56 +00:00
Armin Rigo
706933821c
The fix in ceval.c 2.386 allows iteration-by-iteration line tracing even in
...
single-line loops.
2004-03-22 19:30:39 +00:00
Armin Rigo
bf57a14522
Fix SF bug #765624 .
2004-03-22 19:24:58 +00:00
Nicholas Bastin
ee6c9b8613
Fix (really) for tight loop line events
2004-03-22 19:23:46 +00:00
Nicholas Bastin
fa7bec7e83
Test for tight loop line event fix, SF bug #765624
2004-03-22 19:21:47 +00:00
Nicholas Bastin
aea9459cb1
Test for lack of implicit return line event
2004-03-22 18:30:42 +00:00
Armin Rigo
80d937e986
Fix for line events in the case:
...
def f(a):
if a:
print 5
else:
pass
2004-03-22 17:52:53 +00:00
Hye-Shik Chang
77d9a3effa
Patch #871657 : Set EDOM for `nan' return values on FreeBSD and OpenBSD.
...
This fixes a problem that math.sqrt(-1) doesn't raise math.error.
2004-03-22 08:43:55 +00:00
Anthony Baxter
39a0f04421
New parser. Next up, making the current parser use this parser
2004-03-22 00:33:28 +00:00
Nicholas Bastin
e62c5c88f1
Added configure check for broken poll() on some unix systems (MacOS X 10.3)
...
Fixes SF Bug #850981
2004-03-21 23:45:42 +00:00
Tim Peters
3f60629242
SF bug 847019 datetime.datetime initialization needs more strict checking
...
It's possible to create insane datetime objects by using the constructor
"backdoor" inserted for fast unpickling. Doing extensive range checking
would eliminate the backdoor's purpose (speed), but at least a little
checking can stop honest mistakes.
Bugfix candidate.
2004-03-21 23:38:41 +00:00
Armin Rigo
6fce78e07f
Restored revision 2.87.
2004-03-21 22:29:05 +00:00
Brett Cannon
8d9b60f102
Change parse_qsl() to accept control-name's with no equal sign (e.g., "name")
...
when keep_blank_values is true.
2004-03-21 22:16:15 +00:00
Andrew M. Kuchling
cbddabfd85
Remove 'now'
2004-03-21 22:12:45 +00:00