summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated for Universal Headers 3.4.Just van Rossum2001-12-124-57/+2655
|
* Support files for CarbonEventsJust van Rossum2001-12-122-0/+353
|
* Added proper error checking in event callback handlerJust van Rossum2001-12-122-24/+50
|
* Ready for 2.2 distribution.Jack Jansen2001-12-123-10/+18
|
* OSX tweak: recognize both EXTERN_API_C and EXTERN_API declarations.Just van Rossum2001-12-121-2/+2
| | | | Jack: I hope I didn't break anything for you!
* Exposed quite a few more calls.Just van Rossum2001-12-123-28/+191
|
* Fix for SF #491953 (Andrew Dalke): ScrolledText.py has TabErrorGuido van Rossum2001-12-121-3/+3
| | | | Untabified.
* Fix forMichael W. Hudson2001-12-121-2/+45
| | | | [ #429329 ] actual-parameters *arg, **kws not doc'd
* This is what Jason Tishler and I believe to be the state of play on CygwinMichael W. Hudson2001-12-121-23/+32
| | | | at present.
* Added the iSilo documentation to the standard target for distribution filesFred Drake2001-12-121-1/+1
| | | | for "online" (as opposed to typeset) formats.
* Wrapped a long line.Fred Drake2001-12-121-3/+4
| | | | Converted to use "".startswith() to avoid slicing (& temp string creation).
* Add a note about yield requiring a __future__ directive.Fred Drake2001-12-121-0/+10
|
* Document that isleap() returns exactly 1 or 0, which is guaranteed by theFred Drake2001-12-121-3/+4
| | | | | | | | docstring. This closes SF bug #485794. Additional (very) small details were added.
* Very small test suite for the calendar module, mostly to check a constraintFred Drake2001-12-121-0/+34
| | | | | on the return values from isleap(). Also checks firstweekday() and setfirstweekday().
* Fix SF bug #482171: webchecker dies on file: URLs w/o robots.txtGuido van Rossum2001-12-111-2/+2
| | | | | | The cause seems to be that when a file URL doesn't exist, urllib.urlopen() raises OSError instead of IOError. Simply add this to the except clause. Not elegant, but effective. :-)
* Clean up a sad sentence in the yield description.Fred Drake2001-12-111-5/+5
|
* Fixed to the extend that it now builds in CW6, and actually worksJust van Rossum2001-12-112-48/+64
| | | | a little.
* Added -Qnew news about the test_coercion.py failure. That's the only testTim Peters2001-12-111-0/+4
| | | | | | that still fails under -Qnew, and is so tied to details of current behavior that fixing it before new division becomes the default is impractical.
* Document generators and the yield statement, avoiding implementation details.Fred Drake2001-12-112-1/+65
|
* Remove crufty whitespace in a block of index entries.Fred Drake2001-12-111-0/+1
| | | | | Minor, but generates slightly smaller HTML & makes it easier to see what's happening when debugging the HTML.
* Joe VanAndel wrote:Marc-André Lemburg2001-12-111-1/+1
| | | | | | | | | | | > > When using 'distutils' (shipped with Python 2.1) I've found that my > Python scripts installed with a first line of: > > #!/usr/bin/python2.1None > > This is caused by distutils trying to patch the first line of the python > script to use the current interpreter.
* float_floor_div: An expression like 3.//1j crashed the interpreter, orTim Peters2001-12-111-9/+12
| | | | | | | delivered bizarre results. Check float_divmod for a Py_NotImplemented return and pass it along (instead of treating Py_NotImplemented as a 2-tuple). CONVERT_TO_DOUBLE: Added comments; this macro is obscure.
* float_int_div(): For clarity, move this closer to the other floatTim Peters2001-12-111-16/+16
| | | | division functions, and rename to float_floor_div.
* A number of small adjustments.Fred Drake2001-12-111-4/+12
|
* Fiddle test_class so it passes with -Qnew.Tim Peters2001-12-111-5/+20
|
* Added discussion of protecting against screwing up the exception state inFred Drake2001-12-111-0/+48
| | | | an object's deallocator, including an example of how to do this.
* Fiddle test_augassign so it passes under -Qnew.Tim Peters2001-12-111-3/+10
|
* SF bug #491415 PyDict_UpdateFromSeq2() unusedTim Peters2001-12-114-30/+69
| | | | | | | PyDict_UpdateFromSeq2(): removed it. PyDict_MergeFromSeq2(): made it public and documented it. PyDict_Merge() docs: updated to reveal <wink> that the second argument can be any mapping object.
* Save a new version of the productionlist environment for safe-keeping; thisFred Drake2001-12-111-5/+22
| | | | will be replaced shortly. See the comments for more details.
* Ignore SIGXFSZ. Fixes #490453.Martin v. Löwis2001-12-111-0/+9
|
* Fix whitespace in example of bad indentation: a comment indicated that oneFred Drake2001-12-111-8/+8
| | | | | | | line was not indented at all, so the example is no longer indented at all. All of the errors being shown remain. Typo: characteru --> character
* Updated for hfsplus module, new gusi libs.Jack Jansen2001-12-111-0/+0
|
* Added __members__ to FInfo object.Just van Rossum2001-12-111-0/+2
|
* When using GCC, use the right option to add a directory to the list of dirsFred Drake2001-12-111-1/+18
| | | | | searched for a dependency for runtime linking. This closes SF bug #445902.
* Additional coverage tests by Neil Norwitz.Guido van Rossum2001-12-113-0/+87
| | | | (SF patch #491418, #491420, #491421.)
* Regression test for SF bug #478534 -- exceptions could "leak" into a weakrefFred Drake2001-12-101-0/+25
| | | | callback.
* Make sure that when we invoke callback functions associated with weakFred Drake2001-12-101-20/+24
| | | | | | references, we do not allow any outstanding exceptions "leak" into the callback's execution state. This closes SF bug #478534.
* Give xxsubtype a module docstring, so its oddball purpose is discoverableTim Peters2001-12-101-2/+8
| | | | | from a prompt without searching the source code (there was an SF bug report about this, already closed ... "479568 xxsubtype builtin").
* Skipping some tests by adding the usual jython conditional test around:Finn Bock2001-12-101-24/+27
| | | | | | | | | - the repr of unicode. Jython only add the u'' if the string contains char values > 255. - A unicode arg to unicode() is perfectly valid in jython. - A test buffer() test. No buffer() on Jython This closes patch "[ #490920 ] Jython and test_unicode".
* Update link to the SAX homepage.Fred Drake2001-12-101-1/+1
|
* Well what do you know. The Python implementation contained the sameGuido van Rossum2001-12-101-2/+2
| | | | bug as the C code. :-(
* Fix the Python property class in a comment right.Guido van Rossum2001-12-101-22/+23
|
* property_descr_get(): Fix a curious bug in the property() type: whenGuido van Rossum2001-12-101-5/+5
| | | | | | | | | | no get function was defined, the property's doc string was inaccessible. This was because the test for prop_get was made *before* the test for a NULL/None object argument. Also changed the property class defined in Python in a comment to test for NULL to decide between get and delete; this makes it less Python but then, assigning None to a property doesn't delete it!
* Added documentation for str.decode().Fred Drake2001-12-101-0/+10
| | | | This closes SF bug #490823.
* SF patch #491183 (Jeff Epler): ScrolledText.grid() doesn't workGuido van Rossum2001-12-101-2/+6
| | | | | | | | | | | | | | | | | | | | | | | Using grid methods on ScrolledText widgets does not work as expected. It either fails to pack a widget, or can even cause Tk to lock up. The problem is that the .grid method is being called on the text widget, not the frame widget. This can lead to the well-known lockup in Tk when a frame's children are managed by both the pack and grid managers. Even if it doesn't lock up, the frame is never placed within the intended widget. Program fragment: >>> import ScrolledText >>> s = ScrolledText.ScrolledText() >>> s.grid(row=0, column=0, rowspan=2) The following patch uses the same hack to copy the 'grid' and 'place' geometry manager methods to the ScrolledText instance as is already used for the 'pack' manager.
* Fix forMichael W. Hudson2001-12-101-2/+11
| | | | [ #409430 ] pydoc install broken
* The new menu initialization code would also add the SIOUX menus if a ↵Jack Jansen2001-12-102-6/+15
| | | | (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it.
* New fodder.Guido van Rossum2001-12-101-0/+1
|
* SF patch #491049 (David Jacobs): Small PyString_FromString optimizationGuido van Rossum2001-12-101-1/+1
| | | | | | PyString_FromString(): Since the length of the string is already being stored in size, changed the strcpy() to a memcpy() for a small speed improvement.
* Fix forMichael W. Hudson2001-12-101-1/+2
| | | | | | | | [ #477371 ] build_scripts can use wrong #! line scripts now get "built" into a directory build/scripts-$(PYTHON_VERSION)/