- 09 Apr, 2007 3 commits
-
-
Guido van Rossum authored
bytes objects can now be compared to anything that supports the buffer API.
-
Guido van Rossum authored
-
Guido van Rossum authored
(The new I/O library revealed the problem.)
-
- 08 Apr, 2007 2 commits
-
-
Guido van Rossum authored
Add closed attribute. Support int argument to open() -- wrapping a file descriptor. For b/w compat, support readline(n). Support readlines() and readlines(n). Flush on __del__. Added some XXX comments.
-
Guido van Rossum authored
instead of a filename. Add a 'closed' attribute.
-
- 07 Apr, 2007 3 commits
-
-
Guido van Rossum authored
"import exceptions" to behave bizarrely.
-
Guido van Rossum authored
(Should be backported to 2.6, really.)
-
Guido van Rossum authored
This now appears to work when io.open is substituted for the real open in fileinput.py -- at least the latter's unit tests pass.
-
- 06 Apr, 2007 3 commits
-
-
Guido van Rossum authored
Some cleanup of test_io.py and io.py. Added seeking to buffered reader and writer, but no tests yet.
-
Guido van Rossum authored
-
Guido van Rossum authored
This is essentially a checkpoint.
-
- 29 Mar, 2007 2 commits
-
-
Fred Drake authored
mystery italics
-
Guido van Rossum authored
-
- 28 Mar, 2007 4 commits
-
-
Collin Winter authored
Make readonly members defined in C throw an AttributeError on modification. This brings them into sync with Python-level attributes. Fixes bug #1687163.
-
Guido van Rossum authored
-
Guido van Rossum authored
(There was also a segfault but it disappeared when the tests stopped erroring out; I presume the segfault is a pre-existing problem somewhere in a destructor.)
-
Guido van Rossum authored
-
- 27 Mar, 2007 3 commits
-
-
Guido van Rossum authored
NotImplemented. (Is this worth backporting to 2.6? It seems so useful...!)
-
Guido van Rossum authored
-
Collin Winter authored
-
- 23 Mar, 2007 1 commit
-
-
Collin Winter authored
-
- 21 Mar, 2007 7 commits
-
-
Brett Cannon authored
inappropriately from ``e[0]`` to ``e.message`` instead of ``e.args[0]``. The reason it needs to be the last option is the dichotomy of 'message' and 'args': 'message' can be the empty string but args[0] can have a value if more than one argument was passed.
-
Guido van Rossum authored
(A symbol table entry was leaked every time a class was compiled.)
-
Collin Winter authored
-
Neal Norwitz authored
* make some module variables static to prevent name pollution * Add some comments to clarify what's going on and some XXXs to address * Add a space after "for" before ( * exc_value and tb can be NULL in some cases * Get working on Windows (I think)
-
Collin Winter authored
Patch #1680961: remove sys.exitfunc and replace it with a private C API. Also, reimplement atexit in C so it can take advantage of this private API.
-
Collin Winter authored
Use the local python binary to build the docs, not whatever 'python' is on the PATH (which is probably Python 2.x, and we need 3.x).
-
Collin Winter authored
-
- 19 Mar, 2007 4 commits
-
-
Guido van Rossum authored
incorrectly assuming that err.message was the Py3k way of writing err[0] in 2.x. The correct spelling is err.args[0].
-
Guido van Rossum authored
-
Georg Brandl authored
import_stmt accept ELLIPSes and DOTs.
-
Guido van Rossum authored
(It is still broken w.r.t. the new nonlocal keyword.) Remove a series of debug prints I accidentally left in test_ast.py.
-
- 18 Mar, 2007 8 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
PyFloat_FromString. (fixes bug #1650903)
-
Guido van Rossum authored
-
Guido van Rossum authored
The compiler package hasn't been updated yet; test_compiler.py fails. Otherwise all tests seem to be passing now. There are no occurrences of __metaclass__ left in the standard library. Docs have not been updated.
-
Guido van Rossum authored
_seekable.
-
Guido van Rossum authored
-