summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF bug #691276, shutil.copytree documentation bugNeal Norwitz2003-02-231-3/+3
| | | | Also use True/False instead of 1/0 for symlink flag.
* User requested changes to the itertools module.Raymond Hettinger2003-02-234-104/+303
| | | | | Subsumed times() into repeat(). Added cycle() and chain().
* After the removal of SET_LINENO, PyCode_Addr2Line has always beenMichael W. Hudson2003-02-221-3/+0
| | | | | | called to find tb_lineno -- even if Py_OptimizeFlag is true. So don't call it again when printing the traceback.
* Getting rid of macfs.Jack Jansen2003-02-213-8/+6
|
* Get rid of macfs.Jack Jansen2003-02-211-60/+59
|
* Checking mac-specific stuff from the 2.3a2 branch in on the trunk.Jack Jansen2003-02-2113-30/+42
|
* getpid doesn't exist on MacOS9.Jack Jansen2003-02-211-1/+4
|
* Remove _reduce_2, it's now implemented in C.Guido van Rossum2003-02-211-42/+5
|
* WASTEconst.py goes one level above the toolbox directory.Jack Jansen2003-02-211-1/+1
|
* Implementing the salient parts of __reduce_ex__ in C.Guido van Rossum2003-02-211-6/+229
| | | | | | | This still falls back to helpers in copy_reg for: - pickle protocols < 2 - calculating the list of slot names (done only once per class) - the __newobj__ function (which is used as a token but never called)
* SF bug 690622: test_cpickle overflows stack on MacOS9.Tim Peters2003-02-211-1/+5
| | | | | | | | test_nonrecursive_deep(): Reduced nesting depth to 60. Not a bugfix candidate. 2.3 increased the number of stack frames needed to pickle a list (in order to get implement the "list batching" unpickling memory optimization new in 2.3).
* I'm am the PyPy sprint waiting for a Grand Renaming so I killed a fewMichael W. Hudson2003-02-211-2/+2
| | | | seconds making the doc for get_completer marginally less minimal :)
* Add some minimal doc for get_completer added for patch 676342Neal Norwitz2003-02-211-0/+5
|
* Use 'ISO8859-1' instead of 'ASCII' when testing whether byteswappingWalter Dörwald2003-02-211-5/+5
| | | | | | | | | | is required for the chosen internal encoding in the init function, as this seems to have a better chance of working under Irix and Solaris. Also change the test character from '\x01' to '0'. This might fix SF bug #690309.
* Doubled TimeoutTestCase.fuzz, to slash the frequency of bogus failuresTim Peters2003-02-211-1/+7
| | | | on the boxes I use.
* 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.