summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Added a method WMAvailable(). This will return True if and only if thereJack Jansen2003-02-211-0/+43
| | | | | | | is a window manager and we can connect to it, i.e. if it is safe to try and put up windows. As a side effect the first call will make the current process frontmost.
* Port all string tests to PyUnit and share as much testsWalter Dörwald2003-02-216-935/+921
| | | | | | | between str, unicode, UserString and the string module as possible. This increases code coverage in stringobject.c from 83% to 86% and should help keep the string classes in sync in the future. From SF patch #662807
* Fill in missing table entries.Raymond Hettinger2003-02-211-1/+5
|
* SF bug #685775: turtle circle() documentation errorRaymond Hettinger2003-02-211-4/+5
|
* SF bug #690377: Dud footnote reference in distutils docsRaymond Hettinger2003-02-211-2/+2
|
* Markup and nits.Raymond Hettinger2003-02-211-12/+11
|
* SF bug #690083: test_random fails sometimesRaymond Hettinger2003-02-211-1/+1
| | | | | | 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.
* flex_complete looks like a private (but callback) function, so make it staticNeal Norwitz2003-02-211-1/+1
|
* Add some notes about HIGHEST_PROTOCOL.Neal Norwitz2003-02-211-4/+15
|
* Strange control flow in PyInt_AsLong. When nb_int is called insideThomas Heller2003-02-201-3/+3
| | | | | | | | 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.
* Update PY_VERSION to indicate that we're beyond 2.3a2 now.Guido van Rossum2003-02-201-1/+1
|
* As far as I can tell PyEval_GetOwner was removed in 1997 (when it wasMichael W. Hudson2003-02-201-1/+0
| | | | | called something else!). I can't imagine removing the prototype is going to hurt, but put it back if *you* can.
* Add PEP 301 metadata.Guido van Rossum2003-02-201-2/+42
|
* Don't use self.announce() in a function that's not a method.Guido van Rossum2003-02-201-3/+3
| | | | | | 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?)
* announce(): use the level argument to control the log level.Guido van Rossum2003-02-201-1/+1
|
* set_verbosity(): do something reasonable for out-of-range verbosityGuido van Rossum2003-02-201-3/+3
| | | | levels. (Previously, -vvv would be the same as -q!)
* Prepped for 2.3b1.Guido van Rossum2003-02-201-0/+57
| | | | Added an extra blank line before "What's New in Python 2.2 final?".
* Match parentheses.Guido van Rossum2003-02-201-1/+1
|
* Merge in changes made to the 2.3a2 release.Guido van Rossum2003-02-201-2/+28
|
* fixed markupDavid Goodger2003-02-191-8/+13
|
* Update versions/dates for release of 2.3a2. Added some last-minute news.Guido van Rossum2003-02-192-9/+7
|
* The connect timeout code wasn't working on Windows.Guido van Rossum2003-02-191-12/+13
| | | | | | 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).
* Add a note about the recent PEP 293 changes.Walter Dörwald2003-02-191-0/+4
|
* Added a note about the new itertools module. (Omission noted byFred Drake2003-02-191-0/+4
| | | | Gerrit Holl in email to python-docs.)
* - PyEval_GetFrame() is now declared to return a PyFrameObject *Guido van Rossum2003-02-196-12/+19
| | | | instead of a plain PyObject *. (SF patch #686601 by Ben Laurie.)
* - sys.path[0] (the directory from which the script is loaded) is nowGuido van Rossum2003-02-195-5/+21
| | | | | turned into an absolute pathname, unless it is the empty string. (SF patch #664376, by Skip Montanaro.)
* Include download_url in the data POSTed to the catalog serverAndrew M. Kuchling2003-02-191-0/+1
|
* [Patch #683939] Add download_url field to metadataAndrew M. Kuchling2003-02-192-2/+9
|
* [Patch #684398] Rename verbose argument to show-response; don't ↵Andrew M. Kuchling2003-02-191-9/+8
| | | | conditionalize the get_classifiers() call
* logging.warn() renamed to warning()Andrew M. Kuchling2003-02-191-3/+3
|
* OS/2 has no concept of file ownership, like DOS & MS Windows versionAndrew MacIntyre2003-02-191-1/+2
| | | | | | 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.
* OS/2 EMX build updates for recent CVS changesAndrew MacIntyre2003-02-192-2/+15
|
* Use pythonw as the default interpreter also for .py scripts (overridableJack Jansen2003-02-191-4/+9
| | | | | by the user), as this will cause the least surprises with scripts brought over from other unixen. Suggested by Kevin Altis.
* os.mkdir() would crash with a Unicode filename and mode param.Mark Hammond2003-02-191-1/+1
|
* PyObject_Generic{Get,Set}Attr:Guido van Rossum2003-02-191-2/+4
| | | | | | | | | | 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.
* Reverted whitespace normalization on this file. I should really changeTim Peters2003-02-191-9/+10
| | | | | this thing so it doesn't rely on being unnormalized. (That's the editorial "I", if anyone's listening <wink>.)
* Removed debugging print in test_tarfile.Tim Peters2003-02-192-1/+18
| | | | | In the Windows installer, continued the endless battle to copy over files with new one-shot extensions.
* Whitespace normalization.Tim Peters2003-02-1926-114/+110
|
* Rename _better_reduce to _reduce_2, to make sure that any code thatGuido van Rossum2003-02-191-10/+5
| | | | | was still referencing it will fail. Also removed some debug cruft from _reduce_ex.
* Use __reduce_ex__.Guido van Rossum2003-02-191-45/+36
|
* Remove now unused _better_reduce.Guido van Rossum2003-02-191-1/+1
|
* Use __reduce_ex__ in copy.py. The test_*copy_cant() tests are simpler again.Guido van Rossum2003-02-193-33/+66
|
* Fix bug 683658 - PyErr_Warn may cause import deadlock.Mark Hammond2003-02-193-6/+19
|
* Undid half of the previous checkin: continue using BuildApplet for mostJack Jansen2003-02-181-14/+8
| | | | applets. PackageManager is still built with bundlebuilder itself.
* Added a note that MacOSX applets can no longer be run from a terminal window.Jack Jansen2003-02-181-1/+3
|
* Enable argv emulation if required.Jack Jansen2003-02-181-2/+4
| | | | Fixed a bug for applets with their own plist files.
* Added an argv_emulation option (command line option: --argv or -a) whichJack Jansen2003-02-181-2/+36
| | | | | creates the sys.argv emulation wrapper for droplets. Also updates the plist, if needed, and the includedModules (but this last is untested).
* Argvemulator still used the old Alias API. Fixed.Jack Jansen2003-02-181-2/+2
|
* Remove unused _better_reduce (which will disappear soon) andGuido van Rossum2003-02-181-1/+1
| | | | _reconstructor (whose import here is a mystery to me).
* Three test cases for __reduce_ex__. This fails for cPickle, until TimGuido van Rossum2003-02-181-0/+52
| | | | checks in his changes to support this in cPickle.c.