- 10 Ara, 2001 4 kayıt (commit)
-
-
Finn Bock yazdı
- 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".
-
Guido van Rossum yazdı
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 yazdı
[ #409430 ] pydoc install broken
-
Michael W. Hudson yazdı
[ #477371 ] build_scripts can use wrong #! line scripts now get "built" into a directory build/scripts-$(PYTHON_VERSION)/
-
- 09 Ara, 2001 6 kayıt (commit)
-
-
Finn Bock yazdı
This closes patch "[ #490850 ] Jython and test_StringIO".
-
Fredrik Lundh yazdı
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 yazdı
module and from string methods. This closes patch "[ #490811 ] Jython and test_string".
-
Finn Bock yazdı
the output fails to compare correctly for jython. This change was part of the original patch #403666.
-
Finn Bock yazdı
will fix the remaining Jython issues. This closes patch "[ #490411 ] Jython and test_grammar.py".
-
Finn Bock yazdı
This closes patch "[ #490414 ] Jython and test_socket".
-
- 08 Ara, 2001 4 kayıt (commit)
-
-
Guido van Rossum yazdı
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 yazdı
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".
-
Finn Bock yazdı
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"
-
Guido van Rossum yazdı
pickled and we do *not* expect exceptions from either pickle or cPickle.
-
- 07 Ara, 2001 6 kayıt (commit)
-
-
Fred Drake yazdı
especially since the documentation described it in detail. This partially closes SF bug #490098.
-
Tim Peters yazdı
Don't even try to import _socket when running under Jython.
-
Guido van Rossum yazdı
twice! Fixed this by avoiding the import of test_email, which loads the module a second time in that situation, and fiddled the __main__ section to resemble other test suites using unittest.
-
Finn Bock yazdı
This closes patch "[ #490330 ] String format bug in test_b2."
-
Guido van Rossum yazdı
so that test_sundry won't fail if the bsddb module is absent.
-
Guido van Rossum yazdı
annoying that often you have to hit ^C numerous times before it works. The solution: before the "except:" clause, insert "except KeyboardInterrupt: raise". This propagates KeyboardInterrupt out, stopping the test in its tracks.
-
- 06 Ara, 2001 10 kayıt (commit)
-
-
Fred Drake yazdı
distutils for the library modules built as shared objects. A better solution appears possible, but with the threat that the distutils becomes more magical ("complex"). This closes SF bug #458343.
-
Andrew M. Kuchling yazdı
adjust it when a versioned interpreter is supplied (#!.../python2 ...)
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Thomas Heller yazdı
invalid filenames on Windows when building without specifying a version number in the setup script. See also http://mail.python.org/pipermail/distutils-sig/2001-November/002656.html Bugfix candidate.
-
Fred Drake yazdı
properly set. This fixes that.
-
Fred Drake yazdı
initialized, this will be None, but the functions will still work (there will simply be a bogus parent on the screen). Allowing the parent to be None is useful when testing the functions from an interactive interpreter. Add an optional keyword paramter "show" to the _QueryString class; when given it is used to set the -show option to the entry widget. This allows passing show="*" or the like to askstring(), making it useful for requesting passwords/passphrases from the user. This closes SF bug #438517. Changed a docstring to be less font-lock-hostile.
-
Andrew M. Kuchling yazdı
-
Tim Peters yazdı
Big Hammer to implement -Qnew as PEP 238 says it should work (a global option affecting all instances of "/"). pydebug.h, main.c, pythonrun.c: define a private _Py_QnewFlag flag, true iff -Qnew is passed on the command line. This should go away (as the comments say) when true division becomes The Rule. This is deliberately not exposed to runtime inspection or modification: it's a one-way one-shot switch to pretend you're using Python 3. ceval.c: when _Py_QnewFlag is set, treat BINARY_DIVIDE as BINARY_TRUE_DIVIDE. test_{descr, generators, zipfile}.py: fiddle so these pass under -Qnew too. This was just a matter of s!/!//! in test_generators and test_zipfile. test_descr was trickier, as testbinop() is passed assumptions that "/" is the same as calling a "__div__" method; put a temporary hack there to call "__truediv__" instead when the method name is "__div__" and 1/2 evaluates to 0.5. Three standard tests still fail under -Qnew (on Windows; somebody please try the Linux tests with -Qnew too! Linux runs a whole bunch of tests Windows doesn't): test_augassign test_class test_coercion I can't stay awake longer to stare at this (be my guest). Offhand cures weren't obvious, nor was it even obvious that cures are possible without major hackery. Question: when -Qnew is in effect, should calls to __div__ magically change into calls to __truediv__? See "major hackery" at tail end of last paragraph <wink>.
-
Fred Drake yazdı
the node being added is a fragment node. This closes SF bug #487929.
-
- 05 Ara, 2001 10 kayıt (commit)
-
-
Jack Jansen yazdı
This should probably go into NEWS (who's responsible for that?).
-
Guido van Rossum yazdı
It was easier than I thought, assuming that no other things contribute to the instance size besides slots -- a pretty good bet. With a test suite, no less!
-
Fred Drake yazdı
method. This closes SF patch #486079.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
happy if one could delete the __dict__ attribute of an instance. I love to make Jim happy, so here goes... - New-style objects now support deleting their __dict__. This is for all intents and purposes equivalent to assigning a brand new empty dictionary, but saves space if the object is not used further.
-
Fred Drake yazdı
pertains to the script is now in the if __name__ == "__main__" block. This is in response to a commenton python-dev from Neal Norwitz.
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
-
Tim Peters yazdı
-