summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add macros for checking for long double and defining the size of long double ↵Travis E. Oliphant2007-10-123-1/+481
| | | | on the platform. Ctypes and Struct module will both need them.
* Fix Issue 1268 with the array module by backing-out the 'w' addition. All ↵Travis E. Oliphant2007-10-121-18/+36
| | | | builds will continue to use 'u' for unicode.
* Make _load_testfile() use its encoding argument when __loader__ is defined.Brett Cannon2007-10-122-1/+10
|
* Merge r58434:Gregory P. Smith2007-10-122-23/+79
| | | | | | 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.
* Remove self-referential import.Brett Cannon2007-10-111-2/+1
|
* clean out some hotshot-related build turdsFred Drake2007-10-114-17/+0
|
* remove hotshot profiler from Py3kFred Drake2007-10-1113-2383/+14
|
* Two changes that are definitely problem-free and avoid calling print()Guido van Rossum2007-10-102-6/+4
| | | | with a bytes instance (as this will soon print something differently).
* get rid of some more PyString uses.Guido van Rossum2007-10-101-15/+19
| | | | | Only the filename is still a PyString now. (We'll need to deal with the default filesystem encoding to do it right.)
* Minor cleanup of the comment for PyErr_ProgramText() and a tweak to the codeGuido van Rossum2007-10-101-7/+10
| | | | to guarantee the claim that it doesn't set an exception.
* Fix another stray PyString reference that should be PyBytes; and its comment.Guido van Rossum2007-10-101-2/+2
|
* Fix an issue in PyTokenizer_RestoreEncoding() which was treating a PyBytesGuido van Rossum2007-10-101-5/+10
| | | | | object with PyString calls and not checking errors. This caused the display of syntax errors to be deformed.
* Random changes having to do with readline() and bytes.Guido van Rossum2007-10-101-25/+14
|
* the default class attr is needed!Kurt B. Kaiser2007-10-101-0/+1
|
* Don't depend on str8.splitlines() in test_chunkcoding().Guido van Rossum2007-10-101-2/+8
|
* Windows EOL sequence not converted correctly, encoding error.Kurt B. Kaiser2007-10-092-4/+13
| | | | | | | Caused file save to fail. Bug 1130. M idlelib/IOBinding.py M idlelib/NEWS.txt
* PyFile_WriteObject() should use PyObject_Repr(), not _ReprStr8().Guido van Rossum2007-10-091-1/+1
|
* use a reliable hostGregory P. Smith2007-10-091-4/+1
|
* Silly script I'd rather not throw away.Guido van Rossum2007-10-091-0/+93
|
* Patch #1049 by Thomas Lee.Guido van Rossum2007-10-092-7/+9
| | | | | Changes comparisons between PyBytes and PyUnicode to return unequal instead of raising TypeError.
* Replace all (locale-dependent) uses of isupper(), tolower(), etc., byGuido van Rossum2007-10-091-65/+302
| | | | locally-defined macros that assume ASCII and only consider ASCII letters.
* Change the default encoding for ftplib.FTP to latin1 so that bytes can be inBrett Cannon2007-10-081-1/+1
| | | | the range of 255 instead of only 128.
* #1228: new comparison behavior.Georg Brandl2007-10-081-12/+5
|
* Remove buffer() from the docs.Georg Brandl2007-10-081-28/+0
|
* Remove unused variablesNeal Norwitz2007-10-082-2/+0
|
* Remove more traces of bufferobject.[ch] from build files etc.Guido van Rossum2007-10-085-24/+0
|
* Delete bufferobject.[ch].Guido van Rossum2007-10-086-762/+9
| | | | This will undoubtedly require Windows build file changes too.
* Breaking ground for PEP 3137 implementation:Guido van Rossum2007-10-0824-199/+72
| | | | | | Get rid of buffer(). Use memoryview() in its place where possible. In a few places, do things a bit different, because memoryview() can't slice (yet).
* Fix a minor typo.Brett Cannon2007-10-071-1/+1
|
* At least one of the buildbots was complaining about newview being usedNeal Norwitz2007-10-071-3/+2
| | | | | without being initialized. Also make the code conform to the comment and return the new object. This code needs a test!
* Merge 58344: allow BerkeleyDB 4.6.x >= 4.6.21 for the bsddb moduleGregory P. Smith2007-10-061-5/+13
|
* Merge 58343: attempt to fix DBSequence.get_key() to not fail or crash.Gregory P. Smith2007-10-061-1/+7
|
* Get the doc to build.Neal Norwitz2007-10-021-2/+2
|
* #1219: py3k cleanup in standard types docs.Georg Brandl2007-09-281-129/+103
|
* #1211, #1212, #1213: py3k fixes to the tutorial.Georg Brandl2007-09-284-48/+43
|
* Make byext.py really work.Guido van Rossum2007-09-271-7/+5
|
* Revert r58075 (incorrect docs patch).Collin Winter2007-09-271-2/+2
|
* Patch # 1145 by Thomas Lee:Guido van Rossum2007-09-275-16/+28
| | | | | | str.join(...) now applies str() to the sequence elements if they're not strings alraedy, except for bytes, which still raise TypeError (for the same reasons why ""==b"" raises it).
* Clarify the difference between text and binary files. I'm not sure theSkip Montanaro2007-09-261-8/+14
| | | | tutorial is the right place to mention a file object's encoding.
* Whitespace and line lengrth cleanup.Guido van Rossum2007-09-251-47/+50
|
* Delete now-unused static function Array_ass_slice().Guido van Rossum2007-09-251-42/+0
|
* Fix a straggler filter() call.Guido van Rossum2007-09-251-1/+1
|
* #1189: documentation for tp_as_* structs.Georg Brandl2007-09-241-15/+166
|
* Make Modules/_bsddb.c and PC/_winreg.c compile again by renamingThomas Heller2007-09-242-39/+39
| | | | PyBuffer into Py_buffer.
* Update the documentation of the open() builtin function a bit. I believe ISkip Montanaro2007-09-231-26/+24
| | | | | | mostly got the distinction between text and binary modes correct, though someone should proofread my writing. I also sort of guessed at the meaning of the various index:: entries.
* Reformat the open function text so it fits within 80 columns in preparationSkip Montanaro2007-09-231-37/+41
| | | | | for a bit of rewriting. Separating the reformatting from the rewriting should make it easier for people to review the substantive changes.
* Fix turtle module: None and int are not comparable, map returns an iterator.Georg Brandl2007-09-231-5/+5
|
* Change PyBuffer to Py_buffer to be consistent with other non-object ↵Travis E. Oliphant2007-09-2316-85/+145
| | | | structures like Py_complex. Add some more functionality to the memoryview object.
* Use an enum for decoding_state. It makes the code a little moreNeil Schemenauer2007-09-212-12/+18
| | | | understandable.
* Remove more cruft leftover from nb_coerce. Rename nb_coerce toNeil Schemenauer2007-09-2115-66/+20
| | | | nb_reserved.