| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
The bufsize parameter is no longer used.
|
| |
|
|
|
|
|
|
|
|
| |
Backported issues #19619: encode() and decode() methods and constructors
of str, unicode and bytearray classes now emit deprecation warning for known
non-text encodings when Python is ran with the -3 option.
Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the
internal codec marking system added to emit deprecation warning for known non-text
encodings at stream construction time when Python is ran with the -3 option.
|
| |
|
|
| |
Thanks Vajrasky Kok and Zachary Ware.
|
| |
|
|
| |
fileinput.hook_encoded.
|
| | |
|
| | |
|
| |
|
|
| |
You might want to review this change as it's my first time. Be gentle. :-)
|
| | |
|
| |
|
|
|
| |
ascii seems like the safest bet that it will exist. I wonder if utf-8
would be a better choice? This should get test_fileinput passing on OpenBSD.
|
| |
|
|
|
| |
implicit assumptions that there's no difference
between text and binary modes.
|
| |
|
|
| |
be used to control how files are opened.
|
| |
|
|
| |
specifying the file mode input files should be opened with.
|
| |
|
|
| |
current file number.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
|
|
|
New test_fileinput.py from Nick Mathewson, fiddled to use TESTFN and sundry
style nits.
|