summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* After more than two years of puzzlement Jurjen Bos found the reason forJack Jansen2004-07-151-2/+0
| | | | | the double-scroll problem: when you pass a tracker function to TrackControl you shouldn't call your hit function again afterwards. Fixes #711989.
* Apply VISIT macro.Raymond Hettinger2004-07-151-5/+3
|
* - Added a note about fixversions.pyJack Jansen2004-07-157-64/+58
| | | | - Ran it.
* Call the correct tp_dealloc.Jack Jansen2004-07-151-2/+2
|
* _localemodule now needs to be linked with CoreFoundation on darwin.Jack Jansen2004-07-151-1/+8
|
* [Patch #982681] Apply this patch correctly; makes set_reuse_addr() work on ↵Andrew M. Kuchling2004-07-151-3/+9
| | | | Windows
* A script to fix version strings in .plist files.Jack Jansen2004-07-151-0/+70
|
* Moved SunPro warning suppression into pyport.h and out of individualNicholas Bastin2004-07-157-24/+7
| | | | modules and objects.
* Allow overriding of bgen pathnames in an optional module bgenlocationcustomize.Jack Jansen2004-07-151-0/+8
| | | | Editing of bgenlocations.py isn't easy if your Python was supplied by Apple.
* The CF inheritance could cause double frees of the underlying objects.Jack Jansen2004-07-152-0/+11
| | | | Fixed.
* CFStringGetUnicode() returned an extra null character at the end of the string.Jack Jansen2004-07-152-2/+2
| | | | fixed.
* Make CF module PEP253 based (finally).Jack Jansen2004-07-152-110/+669
|
* Moved PyMac_GetScript() to _localemodule, which is the only place whereJack Jansen2004-07-153-27/+26
| | | | it is used, and made it private. Should fix #978662.
* Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.Jack Jansen2004-07-151-4/+0
|
* Typo fixesAndrew M. Kuchling2004-07-151-4/+4
|
* Add thread-local featureAndrew M. Kuchling2004-07-151-1/+18
|
* Correct a paragraph: basicConfig() isn't actually newAndrew M. Kuchling2004-07-151-6/+6
|
* SF bug 990749: os constants missingTim Peters2004-07-151-7/+10
| | | | | | | A LaTeX comment identified the 6 os.O_XXX constants the docs claimed are available on Windows but aren't. The bug report listed the same 6. Split these non-Windows constants into a different table with a possibly correct "Availability:" claim.
* Exercise Jim's VISIT macro.Raymond Hettinger2004-07-151-129/+24
|
* Checking sys.platform for substring 'win' was breaking IDLE docs on MacKurt B. Kaiser2004-07-154-23/+39
| | | | | | | | | (darwin). Also, Mac Safari browser requires full file:// URIs. SF 900580 M EditorWindow.py M NEWS.txt M configHelpSourceEdit.py M idlever.py
* Fix typo.Hye-Shik Chang2004-07-151-1/+1
|
* s/it's/its/, s/NULL/NULL{}/, where appropriate.Tim Peters2004-07-151-4/+4
|
* Formalize that the Py_VISIT macro requires that the tp_traverseTim Peters2004-07-153-39/+49
| | | | implementation it's used in must give its arguments specific names.
* Bump version; update dateAndrew M. Kuchling2004-07-141-3/+3
|
* Improve examples for working with the context API.Raymond Hettinger2004-07-141-6/+6
|
* Use threading.local() instead of threading.currentThread().Raymond Hettinger2004-07-141-21/+57
|
* Factor out two unnecessary global variables.Raymond Hettinger2004-07-141-11/+4
|
* Implemented thread-local data as proposed on python-dev:Jim Fulton2004-07-146-1/+571
| | | | http://mail.python.org/pipermail/python-dev/2004-June/045785.html
* Summarized changes: threading.local, Py_CLEAR, Py_VISIT, improved typeJim Fulton2004-07-141-0/+26
| | | | tutorial.
* Documented the new Py_VISIT macro to simplify implementation ofJim Fulton2004-07-142-0/+33
| | | | tp_traverse handlers. (Tim made me do it. ;)
* Implemented a new Py_CLEAR macro. This macro should be used whenJim Fulton2004-07-142-0/+25
| | | | | decrementing the refcount of variables that might be accessed as a result of calling Python
* Updated documentation to:Jim Fulton2004-07-144-45/+201
| | | | | | | | | - point out the importance of reassigning data members before assigning thier values - correct my missconception about return values from visitprocs. Sigh. - mention the labor saving Py_VISIT and Py_CLEAR macros.
* Ported some features from zope:Jim Fulton2004-07-141-101/+214
| | | | | - Fixed the display of tests in verbose output - Allow setUp and tearDown functions to be provided for DocTestSuites.
* * Hide a loop induction variable that was inadvertantly being picked upRaymond Hettinger2004-07-142-39/+2
| | | | | | | by the locals() call in the context constructor. * Remove unnecessary properties for int, exp, and sign which duplicated information returned by as_tuple().
* * Rename "Signals" to "_signals" making it non-public.Raymond Hettinger2004-07-142-8/+13
| | | | | * Context.create_decimal can take a zero default just like Decimal(). * Fix typo in comment.
* Recompiled after source file changes.Thomas Heller2004-07-142-0/+0
|
* Ignore some more build products.Thomas Heller2004-07-141-0/+4
|
* Add a warning so that it isn't forgotten to recreate the binaries ANDThomas Heller2004-07-145-0/+45
| | | | CHECK INTO CVS if these files are changed.
* Don't complain that non-existant registry entries cannot be deleted.Thomas Heller2004-07-141-2/+2
|
* This is Pete Shinners' patch from his bug reportMichael W. Hudson2004-07-141-10/+30
| | | | | | | | [ 984722 ] Py_BuildValue loses reference counts on error I'm ever-so-slightly uneasy at the amount of work this can do with an exception pending, but I don't think that this can result in anything more serious than a strange error message.
* - Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affectsGuido van Rossum2004-07-142-1/+2
| | | | | | | | the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???]
* - Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affectsGuido van Rossum2004-07-141-0/+1
| | | | | | | | the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???]
* It helps when doing checks if something is in a tuple of strings that if youBrett Cannon2004-07-141-1/+1
| | | | put everything in the tuple in caps to use str.upper() instead of str.lower().
* clarify where \versionadded and \versionchanged should be placed whenFred Drake2004-07-131-20/+28
| | | | they are used
* Claifications: visit procs are supplied by the core, users aren'tTim Peters2004-07-131-3/+6
| | | | | | | expected to write their own. A NULL "object" must not be passed to the visit callback. A non-zero return from a visit proc isn't necessarily an error return (and it doesn't matter to the tp_traverse code *what* it might signify, their only job is to return it).
* generalize a bit; no need to mention my user id directlyFred Drake2004-07-131-1/+1
|
* WordsmithingAndrew M. Kuchling2004-07-131-15/+15
|
* Fixes a bug in testing code handling .pth files that did not restore the ↵Brett Cannon2004-07-131-29/+26
| | | | | | | | | | | | | | | | original module that is removed for testing "import" lines. Originally deleted the entry from sys.modules and then just let other code that needed it to import it again. Problem with this solution is that it lead to code that had already imported the module in question to have their own reference to a new copy of the module in question that new code couldn't reach. This lead to a failure in test_strptime since it monkey-patched the 'time' module it had a reference to while _strptime had its own reference to another copy of 'time' from being imported by test___all__ that it was using for a calculation. Also moved the testing code out of the PthFile class and into the actual test class. This was to stop using 'assert' which is useless with a -O execution.
* Add another point in the "Restrictions" section about how the handling of FTPBrett Cannon2004-07-131-0/+17
| | | | | | | URLs will seemingly succeed to read a URL that points to a file whose permissions you do not have to read. Backport candidate once everyone agrees with the wording.
* Using repr() generates entries that the current stats package can'tNicholas Bastin2004-07-122-7/+7
| | | | collate, so setting it back to the function name