- 20 Agu, 2002 12 kayıt (commit)
-
-
Guido van Rossum yazdı
These were reported and fixed by Inyeol Lee in SF bug 595350. The endswith() bug was already fixed in 2.3, but this adds some more test cases.
-
Michael W. Hudson yazdı
-
Michael W. Hudson yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
2045, section 5.2 states that if the Content-Type: header is syntactically invalid, the default type should be text/plain. Implement minimal sanity checking of the header -- it must have exactly one slash in it. This closes SF patch #597593 by Skip, but in a different way. Note that these methods used to raise ValueError for invalid ctypes, but now they won't.
-
Barry Warsaw yazdı
get the MIME main and sub types, instead of getting the whole ctype and splitting it here. The two more specific methods now correctly implement RFC 2045, section 5.2.
-
Tim Peters yazdı
signed vs unsigned).
-
Fred Drake yazdı
Closes SF bug #597177.
-
Barry Warsaw yazdı
email 2.2 but fails in email 1.0.
-
Andrew M. Kuchling yazdı
(There's a link to PEP218; has PEP218 been updated to match the actual module implementation?)
-
Andrew M. Kuchling yazdı
the list is getting awfully long Mention Karatsuba multiplication and some other items
-
- 19 Agu, 2002 18 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Fred Drake yazdı
dict.items/keys/values/iteritems/iterkeys/itervalues().
-
Guido van Rossum yazdı
interning. I modified Oren's patch significantly, but the basic idea and most of the implementation is unchanged. Interned strings created with PyString_InternInPlace() are now mortal, and you must keep a reference to the resulting string around; use the new function PyString_InternImmortal() to create immortal interned strings.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
in LOAD_GLOBAL. Besides saving a C function call, it saves checks whether f_globals and f_builtins are dicts, and extracting and testing the string object's hash code is done only once. We bail out of the inlining if the name is not exactly a string, or when its hash is -1; because of interning, neither should ever happen. I believe interning guarantees that the hash code is set, and I believe that the 'names' tuple of a code object always contains interned strings, but I'm not assuming that -- I'm simply testing hash != -1. On my home machine, this makes a pystone variant with new-style classes and slots run at the same speed as classic pystone! (With new-style classes but without slots, it is still a lot slower.)
-
Guido van Rossum yazdı
comments everywhere that bugged me: /* Foo is inlined */ instead of /* Inline Foo */. Somehow the "is inlined" phrase always confused me for half a second (thinking, "No it isn't" until I added the missing "here"). The new phrase is hopefully unambiguous.
-
Guido van Rossum yazdı
to _PyType_Lookup().
-
Guido van Rossum yazdı
Should save 4% on slot lookups.
-
Michael W. Hudson yazdı
Move some debugging checks inside Py_DEBUG. They were causing cache misses according to cachegrind.
-
Guido van Rossum yazdı
This causes a modest speedup.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
convert the doc strings to LaTeX, be my guest.)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
expensive and overly general PyObject_IsInstance(), call PyObject_TypeCheck() which is a macro that often avoids a call, and if it does make a call, calls the much more efficient PyType_IsSubtype(). This saved 6% on a benchmark for slot lookups.
-
Raymond Hettinger yazdı
-
Jack Jansen yazdı
There's really no point in a separate list of thank-you notes.
-
Raymond Hettinger yazdı
all operators having a counterpart in the operator module. Closes SF bug #577513.
-
Tim Peters yazdı
popen2() and popen3() created text-mode pipes even when binary mode was asked for. This was specific to Windows.
-
- 18 Agu, 2002 8 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Jack Jansen yazdı
This is a silly workaround for a rather serious bug in MacOSX: if you take a long filename and convert it to an FSSpec the fsspec gets a magic cooky (containing a #, indeed). If you then massage the extension of this fsspec and convert back to a pathname you may end up referring to the same file. This could destroy your sourcefile. The problem only occcurs in MacPython-OS9, not MacPython-OSX (I think). Closes bug #505562.
-
Raymond Hettinger yazdı
Jeremy reported that this is not allowed by RFC 2396; however, other tools support unescaped @'s so we should also. Apply SF patch 596581 closing bug 581529.
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
- update DLL version number - add files required for 2.3 (no changes to modules though) - restructure build of pgen.exe NOTE: As I don't have the VACPP compiler, these changes are untested. Apart from slightly re-ordering some file lists, and matching file name casing, I believe these changes are the minimum necessary to build 2.3 with VACPP.
-
Andrew MacIntyre yazdı
-
Andrew MacIntyre yazdı
- the security fixes to tempfile have lead to test_tempfile wanting to create 100 temporary files. as the EMX default is only 40, the number of file handles has been bumped (up to 250). - changes to pgen have required restructuring its build support.
-
- 17 Agu, 2002 2 kayıt (commit)
-
-
Guido van Rossum yazdı
Also, don't call gettempdir() in the default expression for the 'dir' argument to various functions; use 'dir=None' for the default and insert 'if dir is None: dir = gettemptir()' in the bodies. That way the work done by gettempdir is postponed until needed.
-
Guido van Rossum yazdı
subprocess that does the right checks. This now works on Windows as well.
-