| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Jack: I hope I didn't break anything for you!
|
| |
|
|
|
|
| |
Untabified.
|
|
|
|
| |
[ #429329 ] actual-parameters *arg, **kws not doc'd
|
|
|
|
| |
at present.
|
|
|
|
| |
for "online" (as opposed to typeset) formats.
|
|
|
|
| |
Converted to use "".startswith() to avoid slicing (& temp string creation).
|
| |
|
|
|
|
|
|
|
|
| |
docstring.
This closes SF bug #485794.
Additional (very) small details were added.
|
|
|
|
|
| |
on the return values from isleap(). Also checks firstweekday() and
setfirstweekday().
|
|
|
|
|
|
| |
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. :-)
|
| |
|
|
|
|
| |
a little.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Minor, but generates slightly smaller HTML & makes it easier to see what's
happening when debugging the HTML.
|
|
|
|
|
|
|
|
|
|
|
| |
>
> 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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
division functions, and rename to float_floor_div.
|
| |
|
| |
|
|
|
|
| |
an object's deallocator, including an example of how to do this.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
will be replaced shortly. See the comments for more details.
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
searched for a dependency for runtime linking.
This closes SF bug #445902.
|
|
|
|
| |
(SF patch #491418, #491420, #491421.)
|
|
|
|
| |
callback.
|
|
|
|
|
|
| |
references, we do not allow any outstanding exceptions "leak" into the
callback's execution state.
This closes SF bug #478534.
|
|
|
|
|
| |
from a prompt without searching the source code (there was an SF bug
report about this, already closed ... "479568 xxsubtype builtin").
|
|
|
|
|
|
|
|
|
| |
- 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".
|
| |
|
|
|
|
| |
bug as the C code. :-(
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
| |
This closes SF bug #490823.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
[ #409430 ] pydoc install broken
|
|
|
|
| |
(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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
[ #477371 ] build_scripts can use wrong #! line
scripts now get "built" into a directory
build/scripts-$(PYTHON_VERSION)/
|