65 Commits (fffc25da8388b4bcea4c81e1b3dff4e4f4e85b0a)

Author SHA1 Message Date
Georg Brandl 02524629f3 #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. 15 years ago
Victor Stinner b64d0eba50 Merged revisions 81474 via svnmerge from 16 years ago
Victor Stinner a92ad7ee2c Merged revisions 81471-81472 via svnmerge from 16 years ago
Victor Stinner 37b8200608 Merged revisions 81461 via svnmerge from 16 years ago
Victor Stinner 3fed0870a6 Merged revisions 81459 via svnmerge from 16 years ago
Ka-Ping Yee f44c7e8996 Make TextIOWrapper's seek/tell work properly with stateful decoders; 18 years ago
Ka-Ping Yee e84b6336db Document the expected convention for getstate() (as explained to me by Guido). 18 years ago
Georg Brandl 1a3284ed69 #1535: rename __builtin__ module to builtins. 18 years ago
Walter Dörwald ca8a8d0b3f Make the BOM constants in codecs.py bytes. 19 years ago
Guido van Rossum ef87d6ed94 Rip out all the u"..." literals and calls to unicode(). 19 years ago
Georg Brandl a18af4e7a2 PEP 3114: rename .next() to .__next__() and add next() builtin. 19 years ago
Walter Dörwald 3abcb013b8 Apply SF patch #1698994: Add getstate() and setstate() 19 years ago
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter: 19 years ago
Thomas Wouters 89f507fe8c Four months of trunk changes (including a few releases...) 19 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Thomas Wouters a977329b6f Merge part of the trunk changes into the p3yk branch. This merges from 43030 20 years ago
Walter Dörwald ca199432c2 If size is specified, try to read at least size characters. 20 years ago
Tim Peters 536cf99536 Whitespace normalization. 20 years ago
Martin v. Löwis 4ed673877d Patch #1268314: Cache lines in StreamReader.readlines for performance. 21 years ago
Walter Dörwald c5238b8288 SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it reads 21 years ago
Martin v. Löwis 56066d2e55 Return complete lines from codec stream readers 21 years ago
Walter Dörwald c9878e1b22 Make attributes and local variables in the StreamReader str objects instead 21 years ago
Walter Dörwald a4eb2d56a4 Fix comment. 21 years ago
Walter Dörwald bc8e642c1b If the data read from the bytestream in readline() ends in a '\r' read one more 21 years ago
Walter Dörwald 714f87821f Fix typos. 21 years ago
Walter Dörwald 7a6dc139de Fix for SF bug #1175396: readline() will now read one more character, if 21 years ago
Skip Montanaro 9f5f9d943d typo 21 years ago
Walter Dörwald 71fd90da87 Add default value for "whence" argument. 21 years ago
Walter Dörwald 729c31f5c3 Reset internal buffers when seek() is called. This fixes SF bug #1156259. 21 years ago
Martin v. Löwis e2713becd8 Build with --disable-unicode again. Fixes #1158607. 21 years ago
Walter Dörwald 9fa0946771 Fix and test for SF bug #1098990: codec readline() splits lines apart. 21 years ago
Walter Dörwald e57d7b179a The changes to the stateful codecs in 2.4 resulted in StreamReader.readline() 21 years ago
Hye-Shik Chang af5c7cff56 SF #1048865: Fix a trivial typo that breaks StreamReader.readlines() 22 years ago
Walter Dörwald 69652035bc SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support 22 years ago
Marc-André Lemburg d594849c42 Ignore sizehint argument. Fixes SF #844561. 22 years ago
Walter Dörwald 7f3ed74643 Fix typos. 23 years ago
Neal Norwitz 6ec0a8ab93 sys was already imported, remove second import 23 years ago
Marc-André Lemburg b28de0d79f Patch to make _codecs a builtin module. This is necessary since 23 years ago
Walter Dörwald 7f82f7955e Add missing documentation for the PEP 293 functionality to 23 years ago
Walter Dörwald 4dbf192f2b Add next() and __iter__() methods to StreamReader, StreamReaderWriter 23 years ago
Walter Dörwald 3aeb632c31 PEP 293 implemention (from SF patch http://www.python.org/sf/432401) 24 years ago
Walter Dörwald 474458da48 Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE, 24 years ago
Raymond Hettinger 54f0222547 SF 563203. Replaced 'has_key()' with 'in'. 24 years ago
Martin v. Löwis b786e61b1c Set default value for readlines.sizehint to None. Change needed for 2.2.1 24 years ago
Marc-André Lemburg aa32c5aa7c Added new helpers for easy access to codecs. Docs will follow. 25 years ago
Andrew M. Kuchling 97c56357b1 Fix typo in comment 25 years ago
Martin v. Löwis 02d893cfae Patch #444359: Remove unused imports. 25 years ago
Martin v. Löwis 6cd441d129 Add dead imports of modules that are "magically" imported. 25 years ago
Tim Peters 3a2ab1ab69 Whitespace normalization. 25 years ago
Marc-André Lemburg 716cf91839 Moved the encoding map building logic from the individual mapping 25 years ago