Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF patch #760257: add socket.timeout exception | Raymond Hettinger | 2003-06-29 | 1 | -1/+9 |
| | | | | | | (Contributed by Bob Halley) Add documentation for the new socket.timeout exception. | ||||
* | Minor fixes to punctuation and grammar. | Raymond Hettinger | 2003-06-29 | 1 | -5/+5 |
| | |||||
* | Add missing self. before curNode. This may need to be committed | Neal Norwitz | 2003-06-29 | 1 | -1/+1 |
| | | | | to PyXML, I'm not sure of the procedure. | ||||
* | SF patch #760257: add socket.timeout exception | Raymond Hettinger | 2003-06-29 | 1 | -2/+57 |
| | | | | | | (Contributed by Bob Halley) Add unittests for the new socket.timeout exception. | ||||
* | Fix arguments for instantiating InterpolationSyntaxError | Neal Norwitz | 2003-06-29 | 1 | -3/+3 |
| | |||||
* | Comment out cap, it was unused. | Neal Norwitz | 2003-06-29 | 1 | -1/+2 |
| | | | | Should all the commented out code be removed? | ||||
* | whitespace normalization | Neal Norwitz | 2003-06-29 | 1 | -1/+1 |
| | |||||
* | remove unused import math | Neal Norwitz | 2003-06-29 | 1 | -1/+0 |
| | |||||
* | remove extra parameter from _java_getprop, remove duplicate imports | Neal Norwitz | 2003-06-29 | 1 | -2/+2 |
| | |||||
* | use == like all the other conditionals | Neal Norwitz | 2003-06-29 | 1 | -1/+1 |
| | |||||
* | fix problems found by pychecker | Neal Norwitz | 2003-06-29 | 1 | -2/+3 |
| | |||||
* | SF patch #760257: add socket.timeout exception | Raymond Hettinger | 2003-06-29 | 1 | -0/+3 |
| | |||||
* | Added Bob Halley for work on socket.timeout | Raymond Hettinger | 2003-06-29 | 1 | -0/+1 |
| | |||||
* | Missed a spot where the new optional optionflags argument needed to get | Tim Peters | 2003-06-29 | 1 | -1/+1 |
| | | | | passed on. | ||||
* | SF patch #760257: add socket.timeout exception | Raymond Hettinger | 2003-06-29 | 1 | -38/+113 |
| | | | | | | | | | (Contributed by Bob Halley) Added a new exception, socket.timeout so that timeouts can be differentiated from other socket exceptions. Docs, more tests, and newsitem to follow. | ||||
* | Bump version information for Python 2.3 beta 2. | Fred Drake | 2003-06-29 | 2 | -3/+3 |
| | |||||
* | Document PyThreadState_SetAsyncExc(). | Fred Drake | 2003-06-29 | 1 | -0/+14 |
| | |||||
* | Bump release level to 2.3b2. | Tim Peters | 2003-06-29 | 2 | -6/+6 |
| | |||||
* | Slight clarification on running the examples from the Finder. | Jack Jansen | 2003-06-29 | 1 | -2/+5 |
| | |||||
* | Suggest people visit www.python.org/packman if the default database | Jack Jansen | 2003-06-29 | 1 | -1/+3 |
| | | | | cannot be found. | ||||
* | Use http://www.python.org/packman as the base URL. Also upped the version | Jack Jansen | 2003-06-29 | 1 | -3/+3 |
| | | | | number because of this. | ||||
* | By default build docs, don't download them. | Jack Jansen | 2003-06-28 | 1 | -3/+3 |
| | |||||
* | Add PyThreadState_SetAsyncExc(long, PyObject *). | Guido van Rossum | 2003-06-28 | 3 | -1/+51 |
| | | | | | | | | | A new API (only accessible from C) to interrupt a thread by sending it an exception. This is not always effective, but might help some people. Requested by Just van Rossum and Alex Martelli. It is intentional that you have to write your own C extension to call it from Python. Docs will have to wait. | ||||
* | Added Steven Taschuk for efforts fixing zipfile.py | Raymond Hettinger | 2003-06-28 | 1 | -0/+1 |
| | |||||
* | SF patch 703666: Several objects don't decref tmp on failure in subtype_new | Raymond Hettinger | 2003-06-28 | 4 | -4/+13 |
| | | | | | | Submitted By: Christopher A. Craig Fillin some missing decrefs. | ||||
* | A few minor improvements | Barry Warsaw | 2003-06-28 | 1 | -3/+4 |
| | |||||
* | Rewrote the docs for supporting cyclic garbage collection to reflect | Jim Fulton | 2003-06-28 | 5 | -103/+394 |
| | | | | | | | the new way that once writes types. Deleted the old section and sample code and added a new section building on the Noddy example. | ||||
* | Updated the depenencies to reflect changes in the sample code for | Jim Fulton | 2003-06-28 | 1 | -1/+3 |
| | | | | building new types. | ||||
* | Added tests for sample modules. | Jim Fulton | 2003-06-28 | 1 | -0/+121 |
| | |||||
* | Added s setup module to make it easier to test the sample modules. | Jim Fulton | 2003-06-28 | 1 | -0/+8 |
| | |||||
* | Fixed bug in implementation of tp_init function. It should be an int | Jim Fulton | 2003-06-28 | 2 | -8/+6 |
| | | | | function, not a PyObject *. | ||||
* | Changed the assignment of PyType_GenericNew to tp_new slot. Now do | Jim Fulton | 2003-06-28 | 1 | -17/+1 |
| | | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. | ||||
* | Changed the assignment of PyType_GenericNew to tp_new slot. Now do | Jim Fulton | 2003-06-28 | 1 | -23/+12 |
| | | | | | | | | | this in module initialization before calling PyType_Ready. (Sorry Tim.) This is necessary to compile on cygwin. AFAIK, we support cygwin. If so, then we need to write extentions this way. Fixed bug in implementation of tp_init function. It should be an int function, not a PyObject *. | ||||
* | Correct markup errors that prevented formatting. | Fred Drake | 2003-06-28 | 1 | -2/+2 |
| | |||||
* | Explain source encodings. Fixes #683486. | Martin v. Löwis | 2003-06-28 | 1 | -0/+33 |
| | |||||
* | Patch #758910: Add pthread flag to CXX if possible. | Martin v. Löwis | 2003-06-28 | 2 | -1/+85 |
| | |||||
* | Patch #751916: Check for signals, fix some refcounting errors. | Martin v. Löwis | 2003-06-28 | 1 | -2/+13 |
| | |||||
* | SF 662923: iterator for dbm keys | Raymond Hettinger | 2003-06-28 | 1 | -1/+2 |
| | | | | | When shelve and the bsdbm where expanded to a full mapping interface, this module was missed. | ||||
* | Add take() to examples. Tighten the islice() example | Raymond Hettinger | 2003-06-28 | 2 | -2/+11 |
| | |||||
* | fix markup nits | Fred Drake | 2003-06-28 | 1 | -12/+12 |
| | |||||
* | SF patch #756996: Bare except in ZipFile.testzip() | Raymond Hettinger | 2003-06-27 | 3 | -1/+26 |
| | | | | | | | | | (Contributed by Steven Taschuk) Replaces a bare except that caused all errors to be mis-reported as archive errors. Added a related NEWS item. | ||||
* | SF patch #761519: Fixes for bugs 760703 and 757821 | Raymond Hettinger | 2003-06-27 | 5 | -32/+59 |
| | | | | | | | | | | | | | | | | | | SF bug #760703: SocketHandler and LogRecord don't work well together SF bug #757821: logging module docs Applied Vinay Sajip's patch with a few minor fixups and a NEWS item. Patched __init__.py - added new function makeLogRecord (for bug report 760703). Patched handlers.py - updated some docstrings and deleted some old commented-out code. Patched test_logging.py to make use of makeLogRecord. Patched liblogging.tex to fill documentation gaps (both 760703 and bug 757821). | ||||
* | A hack to ease compatibility with pre-2.3 Pythons: by default, doctest | Tim Peters | 2003-06-27 | 3 | -17/+83 |
| | | | | | | | | | | | | | | now accepts "True" when a test expects "1", and similarly for "False" versus "0". This is un-doctest-like, but on balance makes it much more pleasant to write doctests that pass under 2.2 and 2.3. I expect it to go away again, when 2.2 is forgotten. In the meantime, there's a new doctest module constant that can be passed to a new optional argument, if you want to turn this behavior off. Note that this substitution is very simple-minded: the expected and actual outputs have to consist of single tokens. No attempt is made, e.g., to accept [True, False] when a test expects [1, 0]. This is a simple hack for simple tests, and I intend to keep it that way. | ||||
* | Do not add extra "\n" after bang line. | Gustavo Niemeyer | 2003-06-27 | 1 | -2/+2 |
| | |||||
* | fix typo | Fred Drake | 2003-06-27 | 1 | -1/+1 |
| | |||||
* | add mention of -l, --listfuncs to usage() small part of 542562 | Skip Montanaro | 2003-06-27 | 1 | -0/+3 |
| | |||||
* | Add a trivial test of getargspec() with a method. | Jeremy Hylton | 2003-06-27 | 1 | -16/+21 |
| | |||||
* | A bit o' reformatting and removal of non-_getframe currentframe(). | Jeremy Hylton | 2003-06-27 | 1 | -19/+14 |
| | |||||
* | Don't assume the name of the table of contents will be contents.html; | Fred Drake | 2003-06-27 | 1 | -1/+4 |
| | | | | | | | | | that won't be right when mkhowto is called with --numeric (as it is for the Python Tutorial). Save the actual name we use when we build the table of contents, then use that in the page head metadata. The node2label.pl script will munge this properly when --numeric isn't given, so this works in both cases. Closes SF bug #761830. | ||||
* | Fix for SF bug 620190: getargspec() doesn't work with methods. | Jeremy Hylton | 2003-06-27 | 1 | -3/+10 |
| |