- 22 Oct, 2007 4 commits
-
-
Georg Brandl authored
-
Guido van Rossum authored
-
Georg Brandl authored
-
Guido van Rossum authored
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 Oct, 2007 1 commit
-
-
Brett Cannon authored
-
- 20 Oct, 2007 4 commits
-
-
Brett Cannon authored
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 authored
was PyMem_MALLOC'ed.
-
Brett Cannon authored
Also tweak a comparison that was going farther than needed.
-
Guido van Rossum authored
-
- 19 Oct, 2007 4 commits
-
-
Guido van Rossum authored
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 authored
Make PyString's indexing and iteration return integers. (I changed a few of Alexandre's decisions -- GvR.)
-
Guido van Rossum authored
changes to codecs.c and structmember.c to use PyUnicode instead of PyString.
-
Gregory P. Smith authored
-
- 18 Oct, 2007 1 commit
-
-
Gregory P. Smith authored
in random rowid strings, pass txn using a keyword where possible.
-
- 16 Oct, 2007 3 commits
-
-
Guido van Rossum authored
I like this because it makes the code shorter! :-)
-
Gregory P. Smith authored
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 authored
-
- 15 Oct, 2007 7 commits
-
-
Brett Cannon authored
'newline' argument is not a jumbled mess of newlines.
-
Neal Norwitz authored
-
Guido van Rossum authored
-
Guido van Rossum authored
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 authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 14 Oct, 2007 4 commits
-
-
Guido van Rossum authored
-
Neal Norwitz authored
Also fix some indentation.
-
Alexandre Vassalotti authored
returned by 'et' need to be freed after usage.
-
Alexandre Vassalotti authored
fix the error message of the 't' format unit, in getargs.c, so that it asks for bytes, instead of string.
-
- 13 Oct, 2007 4 commits
-
-
Gregory P. Smith authored
Adds a DBShelf __repr__ method to not raise an exception when the DB is closed.
-
Travis E. Oliphant authored
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 authored
-
Neal Norwitz authored
-
- 12 Oct, 2007 5 commits
-
-
Travis E. Oliphant authored
Fix problems with memoryview object. There is still more to do to finish PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified.
-
Travis E. Oliphant authored
Add macros for checking for long double and defining the size of long double on the platform. Ctypes and Struct module will both need them.
-
Travis E. Oliphant authored
Fix Issue 1268 with the array module by backing-out the 'w' addition. All builds will continue to use 'u' for unicode.
-
Brett Cannon authored
-
Gregory P. Smith authored
Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append was useless due to inverted logic. Also adds a test case for RECNO dbs to test_dbshelve.
-
- 11 Oct, 2007 3 commits
-
-
Brett Cannon authored
-
Fred Drake authored
-
Fred Drake authored
-