- 11 Dec, 2001 7 commits
-
-
Fred Drake authored
will be replaced shortly. See the comments for more details.
-
Martin v. Löwis authored
-
Fred Drake authored
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
-
Jack Jansen authored
-
Just van Rossum authored
-
Fred Drake authored
searched for a dependency for runtime linking. This closes SF bug #445902.
-
Guido van Rossum authored
(SF patch #491418, #491420, #491421.)
-
- 10 Dec, 2001 16 commits
-
-
Fred Drake authored
callback.
-
Fred Drake authored
references, we do not allow any outstanding exceptions "leak" into the callback's execution state. This closes SF bug #478534.
-
Tim Peters authored
from a prompt without searching the source code (there was an SF bug report about this, already closed ... "479568 xxsubtype builtin").
-
Finn Bock authored
- 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".
-
Fred Drake authored
-
Guido van Rossum authored
bug as the C code. :-(
-
Guido van Rossum authored
-
Guido van Rossum authored
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!
-
Fred Drake authored
This closes SF bug #490823.
-
Guido van Rossum authored
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.
-
Michael W. Hudson authored
[ #409430 ] pydoc install broken
-
Jack Jansen authored
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.
-
Guido van Rossum authored
-
Guido van Rossum authored
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.
-
Michael W. Hudson authored
[ #477371 ] build_scripts can use wrong #! line scripts now get "built" into a directory build/scripts-$(PYTHON_VERSION)/
-
Jeremy Hylton authored
-
- 09 Dec, 2001 10 commits
-
-
Jack Jansen authored
The module generator now tells its object generators about the module name (through the new setmodulename() method). If the module name has been set the object generators output it as part of the tp_name field for the object type.
-
Jack Jansen authored
-
Jack Jansen authored
work with Mac OS X Aqua-Tk, all nicely within ifdefs. The process is not for the faint of heart, though: you need to download and install the (alfa) Aqua-Tk, obtain a few needed X11 headers from somewhere else and then everything builds. To run scripts using Tkinter you must build with --enable-framework, build Python.app in Mac/OSX and run your Tkinter scripts with that. Then, about half the tests in Demo/tkinter work (or at least do something). Checking this in anyway because it shouldn't break anything, and newer versions of Aqua-Tk will streamline the process.
-
Jack Jansen authored
any further, yet.
-
Finn Bock authored
This closes patch "[ #490850 ] Jython and test_StringIO".
-
Fredrik Lundh authored
backed out of broken minimal repeat patch from July also fixed a couple of minor potential resource leaks in pattern_subx (Guido had already fixed the big one)
-
Finn Bock authored
module and from string methods. This closes patch "[ #490811 ] Jython and test_string".
-
Finn Bock authored
the output fails to compare correctly for jython. This change was part of the original patch #403666.
-
Finn Bock authored
will fix the remaining Jython issues. This closes patch "[ #490411 ] Jython and test_grammar.py".
-
Finn Bock authored
This closes patch "[ #490414 ] Jython and test_socket".
-
- 08 Dec, 2001 7 commits
-
-
Tim Peters authored
was obviously leaking an int object when whatever the heck it's looking for was found. Repaired that. This accounts for why entering function and class definitions at an interactive prompt leaked a reference to the integer 1 each time. Bugfix candidate.
-
Guido van Rossum authored
type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
-
Guido van Rossum authored
The OSS Programmer's Reference (www.4front-tech.com) states: *Setting Sampling Parameters There are three parameters which affect the sound quality (and therefore memory and bandwidth requirements) of sampled audio data. These are: ** sample format (sometimes called number of bits) ** number of channels (mono or stereo), and ** sampling rate (speed) NOTE: It is important to always set these parameters in the above order. Setting sampling rate before the number of channels doesn't work with all devices.
-
Guido van Rossum authored
open_http(): In urllib.py library module, URLopener.open_https() returns a class instance of addinfourl() with its self.url property missing the protocol. Instead of "https://www.someurl.com", it becomes "://www.someurl.com".
-
Just van Rossum authored
-
Finn Bock authored
1. Acknowledge the welknown difference that jython allows continue in the finally clause. 2. Avoid using _testcapi when running with jython. This closes patch "[ #490417 ] Jython and test_exceptions"
-
Just van Rossum authored
looking worse and worse if you deactivate/activate the window a few times. I don't know how to fix this properly, but I'm beginning to think that it's almost impossible to support the Appearance manager properly due to the way W works. Time for W2?...
-