Jack Jansen
3339fc94b3
Updated for 2.2 release.
2001-12-12 22:44:59 +00:00
Just van Rossum
aa6e83f2e9
added CarbonEvents
2001-12-12 22:42:37 +00:00
Just van Rossum
e0b9fdca0d
Updated for Universal Headers 3.4.
2001-12-12 22:40:27 +00:00
Just van Rossum
485d92e127
Support files for CarbonEvents
2001-12-12 22:39:52 +00:00
Just van Rossum
cddfc8736f
Added proper error checking in event callback handler
2001-12-12 21:48:00 +00:00
Jack Jansen
ff3a69c4bc
Ready for 2.2 distribution.
2001-12-12 21:40:38 +00:00
Just van Rossum
b48f1d3f8a
OSX tweak: recognize both EXTERN_API_C and EXTERN_API declarations.
...
Jack: I hope I didn't break anything for you!
2001-12-12 20:51:22 +00:00
Just van Rossum
f8d6473782
Exposed quite a few more calls.
2001-12-12 20:48:53 +00:00
Guido van Rossum
1990943095
Fix for SF #491953 (Andrew Dalke): ScrolledText.py has TabError
...
Untabified.
2001-12-12 12:47:57 +00:00
Michael W. Hudson
850d3980ab
Fix for
...
[ #429329 ] actual-parameters *arg, **kws not doc'd
2001-12-12 11:56:33 +00:00
Michael W. Hudson
be5ce18e1c
This is what Jason Tishler and I believe to be the state of play on Cygwin
...
at present.
2001-12-12 11:46:52 +00:00
Fred Drake
5f443cb550
Added the iSilo documentation to the standard target for distribution files
...
for "online" (as opposed to typeset) formats.
2001-12-12 06:22:43 +00:00
Fred Drake
1e7dfd3745
Wrapped a long line.
...
Converted to use "".startswith() to avoid slicing (& temp string creation).
2001-12-12 06:20:34 +00:00
Fred Drake
8d0645cb84
Add a note about yield requiring a __future__ directive.
2001-12-12 06:06:43 +00:00
Fred Drake
1529ef860e
Document that isleap() returns exactly 1 or 0, which is guaranteed by the
...
docstring.
This closes SF bug #485794 .
Additional (very) small details were added.
2001-12-12 05:40:46 +00:00
Fred Drake
d077ca1e7c
Very small test suite for the calendar module, mostly to check a constraint
...
on the return values from isleap(). Also checks firstweekday() and
setfirstweekday().
2001-12-12 05:38:08 +00:00
Guido van Rossum
f0953b9dff
Fix SF bug #482171 : webchecker dies on file: URLs w/o robots.txt
...
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. :-)
2001-12-11 22:41:24 +00:00
Fred Drake
3a8e59ebe1
Clean up a sad sentence in the yield description.
2001-12-11 21:58:35 +00:00
Just van Rossum
c3baa0eff7
Fixed to the extend that it now builds in CW6, and actually works
...
a little.
2001-12-11 21:52:02 +00:00
Tim Peters
bf72fe2650
Added -Qnew news about the test_coercion.py failure. That's the only test
...
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.
2001-12-11 21:43:14 +00:00
Fred Drake
e31e9cebc0
Document generators and the yield statement, avoiding implementation details.
2001-12-11 21:10:08 +00:00
Fred Drake
be6dd3083c
Remove crufty whitespace in a block of index entries.
...
Minor, but generates slightly smaller HTML & makes it easier to see what's
happening when debugging the HTML.
2001-12-11 20:49:23 +00:00
Marc-André Lemburg
90294d01be
Joe VanAndel wrote:
...
>
> 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.
2001-12-11 20:44:42 +00:00
Tim Peters
77d8a4fc91
float_floor_div: An expression like 3.//1j crashed the interpreter, or
...
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.
2001-12-11 20:31:34 +00:00
Tim Peters
63a3571e17
float_int_div(): For clarity, move this closer to the other float
...
division functions, and rename to float_floor_div.
2001-12-11 19:57:24 +00:00
Fred Drake
54e6294197
A number of small adjustments.
2001-12-11 19:40:16 +00:00
Tim Peters
017052152b
Fiddle test_class so it passes with -Qnew.
2001-12-11 19:28:47 +00:00
Fred Drake
145b479508
Added discussion of protecting against screwing up the exception state in
...
an object's deallocator, including an example of how to do this.
2001-12-11 19:28:22 +00:00
Tim Peters
e93e477215
Fiddle test_augassign so it passes under -Qnew.
2001-12-11 19:20:15 +00:00
Tim Peters
f582b82fe9
SF bug #491415 PyDict_UpdateFromSeq2() unused
...
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.
2001-12-11 18:51:08 +00:00
Fred Drake
c82bd7281f
Save a new version of the productionlist environment for safe-keeping; this
...
will be replaced shortly. See the comments for more details.
2001-12-11 18:47:36 +00:00
Martin v. Löwis
df8adcd7ba
Ignore SIGXFSZ. Fixes #490453 .
2001-12-11 17:57:26 +00:00
Fred Drake
1d3e6c15ce
Fix whitespace in example of bad indentation: a comment indicated that one
...
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
2001-12-11 17:46:38 +00:00
Jack Jansen
9493455c2a
Updated for hfsplus module, new gusi libs.
2001-12-11 15:08:52 +00:00
Just van Rossum
14666cc04f
Added __members__ to FInfo object.
2001-12-11 14:04:12 +00:00
Fred Drake
d15db5c711
When using GCC, use the right option to add a directory to the list of dirs
...
searched for a dependency for runtime linking.
This closes SF bug #445902 .
2001-12-11 05:04:24 +00:00
Guido van Rossum
29d260670e
Additional coverage tests by Neil Norwitz.
...
(SF patch #491418 , #491420 , #491421.)
2001-12-11 04:37:34 +00:00
Fred Drake
2a64f4693d
Regression test for SF bug #478534 -- exceptions could "leak" into a weakref
...
callback.
2001-12-10 23:46:02 +00:00
Fred Drake
ef8ebd1e74
Make sure that when we invoke callback functions associated with weak
...
references, we do not allow any outstanding exceptions "leak" into the
callback's execution state.
This closes SF bug #478534 .
2001-12-10 23:44:54 +00:00
Tim Peters
65760b2173
Give xxsubtype a module docstring, so its oddball purpose is discoverable
...
from a prompt without searching the source code (there was an SF bug
report about this, already closed ... "479568 xxsubtype builtin").
2001-12-10 22:53:30 +00:00
Finn Bock
2b29cb2593
Skipping some tests by adding the usual jython conditional test around:
...
- 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".
2001-12-10 20:57:34 +00:00
Fred Drake
cf72abab8c
Update link to the SAX homepage.
2001-12-10 18:10:37 +00:00
Guido van Rossum
7171f1c8d8
Well what do you know. The Python implementation contained the same
...
bug as the C code. :-(
2001-12-10 18:06:21 +00:00
Guido van Rossum
ba2485f947
Fix the Python property class in a comment right.
2001-12-10 18:03:34 +00:00
Guido van Rossum
b75ba918d6
property_descr_get(): Fix a curious bug in the property() type: when
...
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!
2001-12-10 18:00:15 +00:00
Fred Drake
6048ce95a9
Added documentation for str.decode().
...
This closes SF bug #490823 .
2001-12-10 16:43:08 +00:00
Guido van Rossum
61d3637ff8
SF patch #491183 (Jeff Epler): ScrolledText.grid() doesn't work
...
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.
2001-12-10 16:42:43 +00:00
Michael W. Hudson
fb173cd471
Fix for
...
[ #409430 ] pydoc install broken
2001-12-10 16:15:44 +00:00
Jack Jansen
52306a780b
The new menu initialization code would also add the SIOUX menus if a (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.
2001-12-10 16:08:14 +00:00
Guido van Rossum
1d961f5e5f
New fodder.
2001-12-10 15:46:20 +00:00