- 07 Ara, 2001 18 kayıt (commit)
-
-
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.
-
Tim Peters yazdı
Anthony Roach. Release the global interpreter lock around platform spawn calls. Bugfix candidate? Hard to say; I favor "yes, bugfix". These clearly *should* have been releasing the GIL all along, if for no other reason than compatibility with the similar os.system(). But it's possible some program out there is (a) multithreaded, (b) calling a spawn function with P_WAIT, and (c) relying on the spawn call to block all their threads until the spawned program completes. I think it's very unlikely anyone is doing that on purpose, but someone may be doing so by accident.
-
Guido van Rossum yazdı
casts with a variable oself that has the proper type. A smart compiler may put this thing into a register. (I'm not sure what good this does except satisfy my desire to understand this function; I got a report about an uninitialized read from Insure++ about this function and it hurt my eyes to even look at it. I gotta run away or I'll get tempted to reformat the entire file...)
-
Guido van Rossum yazdı
out the for loop at the end intended to zero out new items wasn't doing anything, because sv->ob_size was already equal to newsize. The fix slightly refactors the function, introducing a variable oldsize and doing away with sizediff (which was used only once), and using oldsize and newsize consistently. I also added comments explaining what the two for loops do. (Looking at the CVS annotation of this function, it's no miracle a bug crept in -- this has been patched by many different folks! :-)
-
Fred Drake yazdı
-
Finn Bock yazdı
This closes patch "[ #490330 ] String format bug in test_b2."
-
Guido van Rossum yazdı
-
Tim Peters yazdı
-
Fred Drake yazdı
detector. This closes SF bug #484950.
-
Guido van Rossum yazdı
so that test_sundry won't fail if the bsddb module is absent.
-
Jack Jansen yazdı
Not being able to copy PythonCore to the system-folder is not a fatal error, on OSX the user may not have permission to do so. Also give a more informative message in this case. Fixes bug 475253.
-
Michael W. Hudson yazdı
[ #417634 ] configuring without C++ compiler name by checking that we're not about to try to compile C++ files with "yes". Now we wait for the system where the C++ compiler *is* called yes...
-
Jeremy Hylton yazdı
Bug fix candidate for 2.1 branch. (I imagine the other recent leak patches are bug fix candidates, too, but I forgot to mark mine as such.)
-
Andrew M. Kuchling yazdı
Bump version number
-
Guido van Rossum yazdı
(At least for the repeatable test case that Tim produced.) pattern_subx(): Add missing DECREF(filter) in both exit branches (normal and error return). Also fix a DECREF(args) that should certainly be a DECREF(match) -- because it's inside if (!args) and right after allocation of match.
-
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.
-
Tim Peters yazdı
obnoxious to compute and easier to explain. No compromise on safety.
-
- 06 Ara, 2001 22 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
I was squashing spurious overflows in the implementation, I got hung up on this point).
-
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.
-
Jack Jansen yazdı
still fail on importing modules that link with libraries that fail their initialization code (such as windowing libraries when we don't have access to the window server) and that is what I really wanted to fix.
-
Jack Jansen yazdı
-
Fred Drake yazdı
-
Jack Jansen yazdı
-
Jack Jansen yazdı
as OSX HFS+) and if so add an extension to the python executable, but only in the build directory, not on the installed python.
-
Andrew M. Kuchling yazdı
adjust it when a versioned interpreter is supplied (#!.../python2 ...)
-
Guido van Rossum yazdı
Had nothing to do with rich comparisons -- some stack cleanup code was lost as a result of merging in Neil Schemenauer's generators patch. Reinserted the stack cleanup code, skipping it when yielding.
-
Jack Jansen yazdı
-
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ı
This closes SF bug #489872.
-
Tim Peters yazdı
check it. Added an assert() to that effect.
-
Guido van Rossum yazdı
This is best reproduced by while 1: class U(unicode): pass U(u"xxxxxx") The unicode_dealloc() code wasn't properly freeing the str and defenc fields of the Unicode object when freeing a subtype instance. Fixed this by a subtle refactoring that actually reduces the amount of code slightly.
-
Martin v. Löwis yazdı
Fixes #486099.
-
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ı
-
Andrew M. Kuchling yazdı
-