- 23 Eki, 2007 7 kayıt (commit)
-
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
characters as mapping keys and invalid mapping keys are recognized and raise an error.
-
Georg Brandl yazdı
-
- 22 Eki, 2007 6 kayıt (commit)
-
-
Guido van Rossum yazdı
Add md5module.c and sha1module.c to the project files, and in some cases bytes_methods.c and related .h files.
-
Brett Cannon yazdı
Code that has been returning str8 becomes much more apparent thanks to this (e.g., struct module returning str8 for all string-related formats or sqlite3 passing in str8 instances when converting objects that had a __conform__ method). One also has to watch out in C code when making a key from char * using PyString in the C code but a str instance in Python code as that will not longer compare equal. Once str8 gains a constructor like the current bytes type then test_modulefinder needs a cleanup as the fix is a little messy in that file. Thanks goes to Thomas Lee for writing the patch for the change giving an initial run-down of why most of the tests were failing.
-
Georg Brandl yazdı
-
Guido van Rossum yazdı
-
Georg Brandl yazdı
-
Guido van Rossum yazdı
Additional patch by Christian Heimes to deal more cleanly with the FILE* vs file-descriptor issues. I cleaned up his code a bit, and moved the lseek() call into import.c.
-
- 21 Eki, 2007 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 20 Eki, 2007 4 kayıt (commit)
-
-
Brett Cannon yazdı
beginning of a file through a file pointer is not reflected when reading from a file descriptor. Using both fflush() and fpurge() does not solve it. One must use lseek() directly on the file descriptor to get the desired effect. This might suggest that we standardize on either file pointers (FILE) or file descriptors (int) for all C code used.
-
Brett Cannon yazdı
was PyMem_MALLOC'ed.
-
Brett Cannon yazdı
Also tweak a comparison that was going farther than needed.
-
Guido van Rossum yazdı
-
- 19 Eki, 2007 4 kayıt (commit)
-
-
Guido van Rossum yazdı
Move the initialization of sys.std{in,out,err} and __builtin__.open to C code. This solves the problem that "python -S" wouldn't work.
-
Guido van Rossum yazdı
Make PyString's indexing and iteration return integers. (I changed a few of Alexandre's decisions -- GvR.)
-
Guido van Rossum yazdı
changes to codecs.c and structmember.c to use PyUnicode instead of PyString.
-
Gregory P. Smith yazdı
-
- 18 Eki, 2007 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
in random rowid strings, pass txn using a keyword where possible.
-
- 16 Eki, 2007 3 kayıt (commit)
-
-
Guido van Rossum yazdı
I like this because it makes the code shorter! :-)
-
Gregory P. Smith yazdı
to be called a buffer). Shares code with stringobject when possible. Adds unit tests with common code that should be usable to test the PEPs mutable buffer() and immutable bytes() types. http://bugs.python.org/issue1261
-
Alexandre Vassalotti yazdı
-
- 15 Eki, 2007 7 kayıt (commit)
-
-
Brett Cannon yazdı
'newline' argument is not a jumbled mess of newlines.
-
Neal Norwitz yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Changes to make __file__ a proper Unicode object, using the default filesystem encoding. This is a bit tricky because the default filesystem encoding isn't set by the time we import the first modules; at that point we fudge things a bit. This is okay since __file__ isn't really used much except for error reporting. Tested on OSX and Linux only so far.
-
Kurt B. Kaiser yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 14 Eki, 2007 4 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Neal Norwitz yazdı
Also fix some indentation.
-
Alexandre Vassalotti yazdı
returned by 'et' need to be freed after usage.
-
Alexandre Vassalotti yazdı
fix the error message of the 't' format unit, in getargs.c, so that it asks for bytes, instead of string.
-
- 13 Eki, 2007 3 kayıt (commit)
-
-
Gregory P. Smith yazdı
Adds a DBShelf __repr__ method to not raise an exception when the DB is closed.
-
Travis E. Oliphant yazdı
Eliminate use of PyBUF_CHARACTER flag which is no longer part of the buffer interface. Fix up array module to export the correct format for wide-builds.
-
Guido van Rossum yazdı
-