summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added a note about MacOS.WMAvailable().Jack Jansen2003-02-241-1/+2
|
* Documented linkmodel and WMAvailable().Jack Jansen2003-02-241-4/+26
|
* SF patch #687598, array.append is sloooowNeal Norwitz2003-02-241-2/+47
| | | | This improves speed by about 5.6% for me.
* Fix from SF patch #633359 by Greg Chapman for SF bug #610299:Guido van Rossum2003-02-242-1/+2
| | | | | | | | | The problem is in sre_compile.py: the call to _compile_charset near the end of _compile_info forgets to pass in the flags, so that the info charset is not compiled with re.U. (The info charset is used when searching to find the first character at which a match could start; it is not generated for patterns beginning with a repeat like '\w{1}'.)
* Deleting the 2.2 spec.Guido van Rossum2003-02-241-302/+0
|
* RPM spec file for 2.3a2, contributed by Sean Reifschneider.Guido van Rossum2003-02-241-0/+303
|
* Fix SF bug #691793, Python 2.3a2 build fails on Tru64Neal Norwitz2003-02-231-1/+2
|
* Fix SF bug #691793, Python 2.3a2 build fails on Tru64Neal Norwitz2003-02-232-30/+32
| | | | | | Need to make sure that preprocessor directives start in first column. This means we can't indent code which has preprocessor directives, nor have a space between [ #include for example.
* Added a linkmodel attribute, showing how Python was built. This is soJack Jansen2003-02-231-0/+13
| | | | | | | | | packages can check that extension modules are built for the right type of python. Current values can be static, framework, shared and cfm (for completeness, for MacPyton-OS9). Closes bug #691889. The reporter suggests backporting this to 2.2.3 and I think I agree.
* Get test to work on alphaNeal Norwitz2003-02-231-1/+1
|
* Fix SF bug #689659, 64-bit int and long hash keys incompatibleNeal Norwitz2003-02-233-3/+14
| | | | | On a 64-bit machine, a dictionary could contain duplicate int/long keys if the value was > 2**32.
* Disabled -prebind again when linking the interpreter on MacOSX. It causedJack Jansen2003-02-232-10/+8
| | | | | a serious slowdown when loading dynamic modules that depend on large shared libraries or frameworks.
* Expect to skip test_iconv_codecs on MacOSX.Jack Jansen2003-02-231-0/+1
|
* Fix SF bug #690081, test_posix fails when run in non-interactive modeNeal Norwitz2003-02-231-1/+8
| | | | | Don't bother testing os.getlogin() if we aren't running from a tty (terminal) It fails when run without a tty (e.g., when run from cron).
* ossaudiodev has been building, so remove unnecessary pass and invalid commentNeal Norwitz2003-02-231-2/+0
|
* Fix SF bug #690435, apply fails to check if warning raises exceptionNeal Norwitz2003-02-231-3/+4
| | | | (patch provided by Greg Chapman)
* Fix SF bug #691276, shutil.copytree documentation bugNeal Norwitz2003-02-231-1/+4
|
* 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
|