Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * Markup nits for the Invoking Descriptors section | Raymond Hettinger | 2003-06-27 | 1 | -7/+121 |
| | | | | | | | * Documented __slots__ * Documented __metaclass__ Shamelessly plagarized from Guido's tutorial. | ||||
* | Don't call constructor() from pickle(). | Jeremy Hylton | 2003-06-26 | 1 | -3/+3 |
| | | | | | | | The constructor() call only made sense when it registered the constructor as safe for unpickling. We should probably remove the module-global function, but need to worry about backwards compatibility. | ||||
* | SF patch #760792: "wo" in "word" now valid but not documented as such | Raymond Hettinger | 2003-06-26 | 1 | -4/+7 |
| | | | | | | Revised version of a contribution from Gerrit Holl. Update the docs for the extended behavior of __contains__ | ||||
* | Portion of SF patch #761104. Fixes a minor docstring error. | Raymond Hettinger | 2003-06-26 | 1 | -4/+3 |
| | | | | _TemporarilyImmutableSet is in fact a subclass of BaseSet | ||||
* | * Fixed an unmatched parenthesis early in the text. | Raymond Hettinger | 2003-06-26 | 1 | -2/+10 |
| | | | | | * Clarified the meaning of lexicographic sequence ordering as discussed on comp.lang.python: http://groups.google.com/groups?th=e163c9f9ba114493 | ||||
* | Enable tracing of multi-threaded applications. | Jeremy Hylton | 2003-06-26 | 1 | -1/+6 |
| | | | | | Fix bug in computation of coverage percentage: Only count a line if it was executed or if we print the >>>>>> marker. | ||||
* | Fixing bug described in patch #756032, where SRE reads invalid data | Gustavo Niemeyer | 2003-06-26 | 1 | -1/+1 |
| | | | | due to a corrupted end pointer. | ||||
* | markup consistency nits | Fred Drake | 2003-06-26 | 1 | -9/+10 |
| | |||||
* | remove _ from label: LaTeX rejects this due to all the magic we use to | Fred Drake | 2003-06-26 | 1 | -1/+1 |
| | | | | get the _ character to format like a normal character | ||||
* | Removed useless intra-section references which jump to the top of the | Raymond Hettinger | 2003-06-25 | 1 | -4/+2 |
| | | | | section instead of the specific item being referenced. | ||||
* | SF bug #696777: How to make a class iterable using a member generator. | Raymond Hettinger | 2003-06-25 | 1 | -0/+6 |
| | | | | | * Added a note that a container class can implement the iterator protocol by defining its __iter__() method as a generator. | ||||
* | * Document how descriptors are invoked. | Raymond Hettinger | 2003-06-25 | 1 | -3/+63 |
| | | | | * Fix minor parenthesis matching errors in ref3.tex. | ||||
* | SF bug #757822: Additional index items, other minor details | Raymond Hettinger | 2003-06-25 | 1 | -2/+2 |
| | | | | * Minor grammatical fix. | ||||
* | Whitespace normalization. | Walter Dörwald | 2003-06-25 | 1 | -3/+3 |
| | |||||
* | SF bug #759889: Pickling of Random is broken | Raymond Hettinger | 2003-06-24 | 2 | -0/+10 |
| | | | | | * Implement __reduce__() to support pickling. * Add a test case to prove a successful roundtrip through pickle. | ||||
* | _make_boundary(): A minor optimization suggested by the Timbot. | Barry Warsaw | 2003-06-24 | 1 | -1/+1 |
| | |||||
* | Deal with a couple XXX comments which asked questions. | Greg Stein | 2003-06-24 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | In response to "shouldn't the client close the file?", the answer is "no". The original design behind HTTPConnection is that the client did not have to worry about it. The response would close itself when you read the last of the data from it. This closing also dealt with allowing the connection to perform another request/response (if it was a persistent connection). However... the auto-close behavior broke compatibility with the classic httplib.HTTP class' behavior when a zero-length response body was present. In that situation, the HTTPResponse object was auto-closing it since there was no data present, and for an HTTP/1.0 connection-close socket (or an HTTP/0.9 request) connection, that also ended up closing the socket. When an httplib.HTTP user went to read the socket... boom. A patch to correct the auto-close (for compat with old httplib users) was added in rev 1.22. But for non-zero-length *chunked* bodies, we should keep the auto-close behavior. The library user is not reading the socket (they can't cuz of the chunked response we just got done handling), so they should be immune to the response closing the socket. In fact, I would like to see (one day) the auto-close restored, and the HTTP subclass would simply have a flag to disable that behavior (for back-compat purposes). | ||||
* | SF patch #736962. Converted test_compile to unittest format. | Raymond Hettinger | 2003-06-23 | 2 | -167/+140 |
| | |||||
* | Idlefork patch #682347: convert Unicode strings from readline to | Martin v. Löwis | 2003-06-22 | 2 | -4/+15 |
| | | | | | IOBinding.encoding. Also set sys.std{in,out,err}.encoding, for both the local and the subprocess case. | ||||
* | 2.3b2 on Windows will ship with Tcl/Tk 8.4.3. Note: this still didn't | Tim Peters | 2003-06-22 | 2 | -11/+16 |
| | | | | | | | fix the hangs on Win98SE when starting IDLE via "python" from a DOS box, but did appear to make them harder to provoke. I closed that bug report as being hopeless (and if someone wants to open it again, don't dare assign it to me again <0.1 wink>). | ||||
* | Give compileall a -d option so it works correctly in the face of | Jack Jansen | 2003-06-21 | 1 | -2/+2 |
| | | | | DESTDIR being non-null. | ||||
* | Better error message | Jeremy Hylton | 2003-06-21 | 1 | -1/+7 |
| | |||||
* | some old changes to this unused module | Just van Rossum | 2003-06-21 | 1 | -13/+6 |
| | |||||
* | changed 8-space indentation to 4 | Just van Rossum | 2003-06-21 | 4 | -1935/+1935 |
| | |||||
* | Patch #640236: Better eplain unused data. | Martin v. Löwis | 2003-06-21 | 1 | -7/+12 |
| | |||||
* | Patch #755087: Deal with emptied dumbdbm files correctly. | Martin v. Löwis | 2003-06-21 | 1 | -3/+3 |
| | |||||
* | Patch #755683: Document that there might be a maximum indentation limit. | Martin v. Löwis | 2003-06-21 | 1 | -1/+3 |
| | | | | Fixes #700827 | ||||
* | Set -d in compileall, to get proper path in case DESTDIR is not empty. | Martin v. Löwis | 2003-06-21 | 1 | -0/+4 |
| | | | | | Also add force, to recompile string.pyc in DESTDIR (which would normally compiled by running compileall.py). | ||||
* | Added a field that allows the user to set sys.argv-style arguments | Jack Jansen | 2003-06-20 | 9 | -5/+21 |
| | | | | to the script. Fixes #757544. | ||||
* | Add some documentation which describes how to use the email package | Barry Warsaw | 2003-06-20 | 1 | -1/+35 |
| | | | | instead of rfc822 as the Message factory. | ||||
* | - do the right thing with symlinks inside directories we're copying | Just van Rossum | 2003-06-20 | 1 | -6/+13 |
| | | | | | - move the normpath stuff around a bit - added dubious special case to addPythonFramework() | ||||
* | Cop out, and set things to be group-writeable recursively. The various | Jack Jansen | 2003-06-20 | 3 | -1/+7 |
| | | | | | xxxMODE flags don't cut it. Also set the umask to 2 before doing the compileall on the destination system. | ||||
* | make sure paths to dirs don't end in a / | Just van Rossum | 2003-06-20 | 1 | -2/+2 |
| | |||||
* | Reworked --strip option: it will now look at _any_ file that's marked | Just van Rossum | 2003-06-20 | 1 | -13/+24 |
| | | | | executable in the bundle. Therefore got rid of the "binaries" attribute. | ||||
* | Set the executable bits when installing the shared library in a MacOSX | Jack Jansen | 2003-06-20 | 1 | -1/+1 |
| | | | | framework. Fixes #758112. | ||||
* | register the library inside Python.framework as eligable for stripping | Just van Rossum | 2003-06-20 | 1 | -2/+4 |
| | |||||
* | Add initial standalone support for Python.framework | Just van Rossum | 2003-06-20 | 1 | -2/+32 |
| | |||||
* | Added regression test for SF #757818 | Raymond Hettinger | 2003-06-20 | 1 | -0/+5 |
| | |||||
* | SF #757229, fix libsocket.tex typo | Neal Norwitz | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Removed bytecode transformation for sequence packing/unpacking. | Raymond Hettinger | 2003-06-20 | 1 | -28/+0 |
| | | | | | | | It depended on the previously removed basic block checker to prevent a jump into the middle of the transformed block. Clears SF 757818: tuple assignment -- SystemError: unknown opcode | ||||
* | Updated. | Jack Jansen | 2003-06-20 | 1 | -45/+37 |
| | |||||
* | At startup, test that PythonLauncher is the default application for files | Jack Jansen | 2003-06-20 | 3 | -18/+44 |
| | | | | of type .py, .pyw and .pyc. If not, post a warning. | ||||
* | Installation of PythonLauncher has been failing silently, probably since | Jack Jansen | 2003-06-20 | 1 | -2/+2 |
| | | | | the DESTDIR patch. Fixed. | ||||
* | Remove heading from orphan section. | Fred Drake | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Update link to Python book information. | Fred Drake | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | minor __doc__ string tweakage | Skip Montanaro | 2003-06-20 | 1 | -5/+5 |
| | |||||
* | typo | Skip Montanaro | 2003-06-20 | 1 | -1/+1 |
| | |||||
* | Many new tests, based on gcov's coverage information. | Gustavo Niemeyer | 2003-06-20 | 1 | -0/+172 |
| | | | | | | From gcov's output (based on a locally changed _sre.c): 82.07% of 1372 source lines executed in file ./Modules/_sre.c | ||||
* | Install Demo and Tools too. | Jack Jansen | 2003-06-19 | 1 | -0/+1 |
| | |||||
* | MacPython-2.3 has progressed so far that building a set of Mac 2.3 | Jack Jansen | 2003-06-19 | 3 | -252/+0 |
| | | | | extensions on top of Python 2.2 no longer seems feasible. |