summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merged revisions 58211-58220 via svnmerge fromThomas Wouters2007-09-208-61/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r58211 | facundo.batista | 2007-09-19 19:53:25 +0200 (Wed, 19 Sep 2007) | 4 lines Issue #1772851. Optimization of __hash__ to behave better for big big numbers. ........ r58216 | raymond.hettinger | 2007-09-20 05:03:43 +0200 (Thu, 20 Sep 2007) | 1 line Fit nits ........ r58217 | georg.brandl | 2007-09-20 10:44:59 +0200 (Thu, 20 Sep 2007) | 2 lines alternate -> alternative. ........ r58218 | georg.brandl | 2007-09-20 18:06:07 +0200 (Thu, 20 Sep 2007) | 2 lines Patch #1541463: optimize performance of cgi.FieldStorage operations. ........ r58219 | georg.brandl | 2007-09-20 18:45:27 +0200 (Thu, 20 Sep 2007) | 2 lines #1176: document that string methods don't take keyword args. ........ r58220 | thomas.wouters | 2007-09-20 19:35:10 +0200 (Thu, 20 Sep 2007) | 4 lines Try harder to stay within the 79-column limit. There's still two places that go (way) over, but those are harder to fix without suffering in readability. ........
* Whitespace cleanup.Thomas Wouters2007-09-191-38/+39
|
* Merged revisions 58203-58210 via svnmerge fromThomas Wouters2007-09-195-25/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r58204 | georg.brandl | 2007-09-19 08:37:19 +0200 (Wed, 19 Sep 2007) | 2 lines Fix #1169: remove docstrings in functions for -OO. ........ r58206 | sean.reifschneider | 2007-09-19 09:52:56 +0200 (Wed, 19 Sep 2007) | 2 lines issue1177: Ported Facundo's from urllib2 to urllib, accepting 2xx responses. ........ r58207 | facundo.batista | 2007-09-19 16:02:03 +0200 (Wed, 19 Sep 2007) | 3 lines Annotated the correction to urllib.py, issue #1177 ........ r58208 | facundo.batista | 2007-09-19 17:10:06 +0200 (Wed, 19 Sep 2007) | 7 lines Issue #1772851. Alters long.__hash__ from being *almost* completely predictable to being completely predictable. The value of hash(n) is unchanged for any n that's small enough to be representable as an int, and also unchanged for the vast majority of long integers n of reasonable size. ........ r58209 | thomas.wouters | 2007-09-19 19:27:29 +0200 (Wed, 19 Sep 2007) | 4 lines Fix obvious typo in threaded test. ........ r58210 | thomas.wouters | 2007-09-19 19:27:43 +0200 (Wed, 19 Sep 2007) | 4 lines Whitespace cleanup. ........