Raymond Hettinger
a97e4f3a49
SF bug #685775 : turtle circle() documentation error
2003-02-21 03:14:08 +00:00
Raymond Hettinger
3004b090ad
SF bug #690377 : Dud footnote reference in distutils docs
2003-02-21 02:47:09 +00:00
Raymond Hettinger
1b18ba49ab
Markup and nits.
2003-02-21 01:45:34 +00:00
Raymond Hettinger
785d0a37e5
SF bug #690083 : test_random fails sometimes
...
time.sleep(1) sometimes delays for fractionally less than a second
resulting in too short of an interval for C's time.time() function
to create a distinct seed.
2003-02-21 01:41:36 +00:00
Neal Norwitz
c355f0cae9
flex_complete looks like a private (but callback) function, so make it static
2003-02-21 00:30:18 +00:00
Neal Norwitz
d08baa9504
Add some notes about HIGHEST_PROTOCOL.
2003-02-21 00:26:33 +00:00
Thomas Heller
850566b644
Strange control flow in PyInt_AsLong. When nb_int is called inside
...
the PyInt_AsLong function, and this returns a long, the value is first
retrieved with PyLong_AsLong, but afterwards overwritten by a call to
PyInt_AS_LONG.
Fixes SF #690253 .
2003-02-20 20:32:11 +00:00
Guido van Rossum
81e26590e4
Update PY_VERSION to indicate that we're beyond 2.3a2 now.
2003-02-20 18:46:54 +00:00
Michael W. Hudson
2aec8b744e
As far as I can tell PyEval_GetOwner was removed in 1997 (when it was
...
called something else!). I can't imagine removing the prototype is
going to hurt, but put it back if *you* can.
2003-02-20 17:59:17 +00:00
Guido van Rossum
14ee89c785
Add PEP 301 metadata.
2003-02-20 02:52:04 +00:00
Guido van Rossum
12471d6389
Don't use self.announce() in a function that's not a method.
...
Use level=3 (i.e. log.WARN) for the warnings about failed imports.
(Hmm... Why is that code in an "if 1: ..."? What's the else branch
for?)
2003-02-20 02:11:43 +00:00
Guido van Rossum
af16065918
announce(): use the level argument to control the log level.
2003-02-20 02:10:08 +00:00
Guido van Rossum
a85dbeb61f
set_verbosity(): do something reasonable for out-of-range verbosity
...
levels. (Previously, -vvv would be the same as -q!)
2003-02-20 02:09:30 +00:00
Guido van Rossum
351a7dd64a
Prepped for 2.3b1.
...
Added an extra blank line before "What's New in Python 2.2 final?".
2003-02-20 01:56:17 +00:00
Guido van Rossum
16c8517988
Match parentheses.
2003-02-20 01:52:48 +00:00
Guido van Rossum
a003290da5
Merge in changes made to the 2.3a2 release.
2003-02-20 01:38:31 +00:00
David Goodger
dd83cce8ea
fixed markup
2003-02-19 23:31:51 +00:00
Guido van Rossum
22e2f73d91
Update versions/dates for release of 2.3a2. Added some last-minute news.
2003-02-19 18:18:47 +00:00
Guido van Rossum
b76bdf8ef7
The connect timeout code wasn't working on Windows.
...
Rather than trying to second-guess the various error returns
of a second connect(), use select() to determine whether the
socket becomes writable (which means connected).
2003-02-19 17:50:16 +00:00
Walter Dörwald
2ffec02b48
Add a note about the recent PEP 293 changes.
2003-02-19 16:34:11 +00:00
Fred Drake
cade71387e
Added a note about the new itertools module. (Omission noted by
...
Gerrit Holl in email to python-docs.)
2003-02-19 16:08:08 +00:00
Guido van Rossum
6297a7a9fb
- PyEval_GetFrame() is now declared to return a PyFrameObject *
...
instead of a plain PyObject *. (SF patch #686601 by Ben Laurie.)
2003-02-19 15:53:17 +00:00
Guido van Rossum
162e38c6a3
- sys.path[0] (the directory from which the script is loaded) is now
...
turned into an absolute pathname, unless it is the empty string.
(SF patch #664376 , by Skip Montanaro.)
2003-02-19 15:25:10 +00:00
Andrew M. Kuchling
80be59b275
Include download_url in the data POSTed to the catalog server
2003-02-19 14:27:21 +00:00
Andrew M. Kuchling
188d85f475
[Patch #683939 ] Add download_url field to metadata
2003-02-19 14:16:01 +00:00
Andrew M. Kuchling
23c98c5f47
[Patch #684398 ] Rename verbose argument to show-response; don't conditionalize the get_classifiers() call
2003-02-19 13:49:35 +00:00
Andrew M. Kuchling
3749507296
logging.warn() renamed to warning()
2003-02-19 13:46:18 +00:00
Andrew MacIntyre
7970d20792
OS/2 has no concept of file ownership, like DOS & MS Windows version
...
prior to NT. EMX has a number of Posix emulation routines, including
geteuid() but lacks chown(), so silently skip trying to actually set
a file ownership when extracting a file from a tar archive.
2003-02-19 12:51:34 +00:00
Andrew MacIntyre
4f28c4da36
OS/2 EMX build updates for recent CVS changes
2003-02-19 12:42:36 +00:00
Jack Jansen
cef2f7cd18
Use pythonw as the default interpreter also for .py scripts (overridable
...
by the user), as this will cause the least surprises with scripts
brought over from other unixen. Suggested by Kevin Altis.
2003-02-19 10:37:08 +00:00
Mark Hammond
05107b6af7
os.mkdir() would crash with a Unicode filename and mode param.
2003-02-19 04:08:27 +00:00
Guido van Rossum
90195e2616
PyObject_Generic{Get,Set}Attr:
...
Don't access tp_descr_{get,set} of a descriptor without checking the
flag bits of the descriptor's type. While we know that the main type
(the type of the object whose attribute is being accessed) has all the
right flag bits (or else PyObject_Generic{Get,Set}Attr wouldn't be
called), we don't know that for its class attributes!
Will backport to 2.2.
2003-02-19 03:19:29 +00:00
Tim Peters
3b5de4db92
Reverted whitespace normalization on this file. I should really change
...
this thing so it doesn't rely on being unnormalized. (That's the
editorial "I", if anyone's listening <wink>.)
2003-02-19 02:44:12 +00:00
Tim Peters
8266af4f06
Removed debugging print in test_tarfile.
...
In the Windows installer, continued the endless battle to copy over files
with new one-shot extensions.
2003-02-19 02:41:44 +00:00
Tim Peters
f2715e0764
Whitespace normalization.
2003-02-19 02:35:07 +00:00
Guido van Rossum
f805cd2c1f
Rename _better_reduce to _reduce_2, to make sure that any code that
...
was still referencing it will fail. Also removed some debug cruft
from _reduce_ex.
2003-02-19 01:58:53 +00:00
Guido van Rossum
b289b87a37
Use __reduce_ex__.
2003-02-19 01:45:13 +00:00
Guido van Rossum
9c9cf41a01
Remove now unused _better_reduce.
2003-02-19 01:20:40 +00:00
Guido van Rossum
e690883ccf
Use __reduce_ex__ in copy.py. The test_*copy_cant() tests are simpler again.
2003-02-19 01:19:28 +00:00
Mark Hammond
a43fd0c899
Fix bug 683658 - PyErr_Warn may cause import deadlock.
2003-02-19 00:33:33 +00:00
Jack Jansen
4ccf3e14f0
Undid half of the previous checkin: continue using BuildApplet for most
...
applets. PackageManager is still built with bundlebuilder itself.
2003-02-18 23:33:39 +00:00
Jack Jansen
5d44b347c9
Added a note that MacOSX applets can no longer be run from a terminal window.
2003-02-18 23:32:47 +00:00
Jack Jansen
9f59d528c5
Enable argv emulation if required.
...
Fixed a bug for applets with their own plist files.
2003-02-18 23:30:27 +00:00
Jack Jansen
a03adde31b
Added an argv_emulation option (command line option: --argv or -a) which
...
creates the sys.argv emulation wrapper for droplets. Also updates
the plist, if needed, and the includedModules (but this last is untested).
2003-02-18 23:29:46 +00:00
Jack Jansen
b135548d0d
Argvemulator still used the old Alias API. Fixed.
2003-02-18 23:28:05 +00:00
Guido van Rossum
443ada47c3
Remove unused _better_reduce (which will disappear soon) and
...
_reconstructor (whose import here is a mystery to me).
2003-02-18 22:49:10 +00:00
Guido van Rossum
2a30b21f64
Three test cases for __reduce_ex__. This fails for cPickle, until Tim
...
checks in his changes to support this in cPickle.c.
2003-02-18 22:41:24 +00:00
Tim Peters
d6cfccf4cf
I entered the wrong year for 2.3a2.
2003-02-18 22:17:40 +00:00
Fred Drake
7f90c7fcb3
Bump version number.
2003-02-18 22:11:58 +00:00
Guido van Rossum
c53f009f94
Introducing __reduce_ex__, which is called with a protocol number argument
...
if it exists in preference over __reduce__. Now Tim can go implement this
in cPickle.c.
2003-02-18 22:05:12 +00:00