summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* First version of xmlrpclib docs. Probably has markup errors; is not complete,Eric S. Raymond2001-07-121-0/+237
| | | | | | | | could probably stand to have some of the internal things like Marshaller documented. But I think it does a decent job on the entry points and externally visible things. Fred and Fredrik, do your stuff! You both need to proof this.
* Follow the recommended practices for keystroke representation; thisFred Drake2001-07-123-23/+25
| | | | improves internal consistency in the documentation.
* For \kbd, be more prescriptive regarding how keystrokes should beFred Drake2001-07-121-2/+7
| | | | written.
* Re-do the broken-nice() patch to break less platforms. Hopefully none :PThomas Wouters2001-07-115-9/+86
| | | | | | | Also note that it isn't just Linux nice() that is broken: at least FreeBSD and BSDI also have this problem. os.nice() should probably just be emulated using getpriority()/setpriority(), if they are available, but I'll get to that later.
* SF patch #440170: Tests for fileinput module.Tim Peters2001-07-112-1/+159
| | | | | New test_fileinput.py from Nick Mathewson, fiddled to use TESTFN and sundry style nits.
* SF patch #440144: Tests and minor bugfix for uu module.Tim Peters2001-07-112-1/+124
| | | | | New test_uu.py from Nick Mathewson, fiddled to work on Windows too. Somebody should check that it still works on non-Windows boxes, though!
* Move the section on concrete numeric objects before the section onFred Drake2001-07-111-249/+249
| | | | | | concrete sequence objects, since their API is simpler. This is in response to a comment in SF bug #440037.
* Note addition of xmlrpclibAndrew M. Kuchling2001-07-111-12/+15
| | | | | | Comment out descr-branch section Update e-mail address (Time to begin writing this...)
* Added information about the timeout parameter to the poll() method forFred Drake2001-07-111-1/+5
| | | | | | polling objects. This closes SF bug #439823. Fixed a minor markup bug.
* xmlrpclib for python 2.2; initial checkinFredrik Lundh2001-07-113-0/+1115
|
* Patch #439995 (slightly modified from the uploaded version):Thomas Wouters2001-07-114-286/+317
| | | | | | | Work around Linux's nonstandard nice() systemcall, which does not return the new priority. This closes SF bug #439990.
* The usual...Fred Drake2001-07-111-367/+373
|
* Check for --with-pydebug earlier, and record the result.Fred Drake2001-07-111-15/+21
| | | | | | | When setting up the basic OPT value for GCC, only use optimization if not using debugging mode. Fix a typo in a comment in the IPv6 check.
* SF patch #440144: Tests and minor bugfix for uu moduleTim Peters2001-07-111-1/+1
| | | | | | | | | decode(): While writing tests for uu.py, Nick Mathewson discovered that the 'Truncated input file' exception could never get raised, because its "if not str:" test was actually testing the builtin function "str", not the local string vrbl "s" as intended. Bugfix candidate.
* Initial revisionKurt B. Kaiser2001-07-111-0/+157
|
* Change the way hex type-ins are displayed. The old way was way tooBarry Warsaw2001-07-101-48/+53
| | | | | | | | fragile. Now the leading "0x" on hex numbers are displayed as labels and the type-in entry fields just accept the hex digits. Be sure to strip off the "0x" string when displaying hex values too. Also, de-string-module-ification, and other Python 2.x improvements.
* __init__(), save_views(): Catch ValueError along with IOError andBarry Warsaw2001-07-101-6/+7
| | | | | EOFError so any failures in unmarshalling are just ignored. Use print>> instead of sys.stderr.write().
* Update a comment.Barry Warsaw2001-07-101-2/+4
|
* __init__(): Use augmented assignments.Barry Warsaw2001-07-101-3/+5
|
* De-string-module-ification.Barry Warsaw2001-07-102-10/+11
|
* __version__: Bump to 1.2Barry Warsaw2001-07-101-6/+8
| | | | De-string-module-ification.
* __populate(): Use augmented assignments.Barry Warsaw2001-07-101-1/+1
|
* __delta(): Use augmented assignments.Barry Warsaw2001-07-101-6/+6
|
* De-string-module-ification and other Python 2.x improvements.Barry Warsaw2001-07-101-29/+18
|
* Update a comment.Barry Warsaw2001-07-101-1/+1
|
* Updated documentation, and bump the version number to 1.2.Barry Warsaw2001-07-101-10/+25
|
* - fixed some re usage, partly so it'll still work when re uses pre insteadJust van Rossum2001-07-104-43/+38
| | | | | of sre, and partly fixing re -> regex porting oversights - fixed PyFontify.py so it actually *works* again..
* SF Patch #432457 by Jason Tishler: support for readline 4.2.Guido van Rossum2001-07-105-11/+70
| | | | | | | This patch allows the readline module to build cleanly with GNU readline 4.2 without breaking the build for earlier GNU readline versions. The configure script checks for the presence of rl_completion_matches in libreadline.
* Corrected the refcount information for PyList_SET_ITEM().Fred Drake2001-07-101-1/+1
|
* Document PyObject_New(), PyObject_NewVar(), PyObject_Init(),Fred Drake2001-07-101-24/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PyObject_InitVar(), PyObject_Del(), PyObject_NEW(), PyObject_NEW_VAR(), and PyObject_DEL(). Add notes to PyMem_Malloc() and PyMem_New() about the memory buffers not being initialized. This fixes SF bug #439012. Added explicit return value information for PyList_SetItem(), PyDict_SetItem(), and PyDict_SetItemString(). Corrected return type for PyList_SET_ITEM(). Fixed index entries in the descriptions of PyLong_AsLong() and PyLong_AsUnignedLong(). This fixes the API manual portion of SF bug #440037. Note that the headers properly declare everything as 'extern "C"' for C++ users. Document _Py_NoneStruct. Added links to the Extending & Embedding manual for PyArg_ParseTuple() and PyArg_ParseTupleAndKeywords(). Added note that PyArg_Parse() should not be used in new code. Fix up a few style nits -- avoid "e.g." and "i.e." -- these make translation more difficult, as well as reading the English more difficult for non-native speakers.
* Ported to Windows:Guido van Rossum2001-07-101-5/+6
| | | | | | - Set the host to "localhost" instead of "". - Skip the AF_UNIX tests when socket.AF_UNIX is not defined.
* Added descriptions for some modules that previously did not have anyFred Drake2001-07-101-9/+26
| | | | information about them, based on comments from Jack Jansen.
* A test suite for SocketServer.py that exposes the various bugs justGuido van Rossum2001-07-101-0/+161
| | | | | | | | | fixed. Regrettably, this must be run manually -- somehow the I/O redirection of the regression test breaks the test. When run under the regression test, this raises ImportError with a warning to that effect. Bugfix candidate!
* IMPORTANT FIX: This should definitely go into the 2.1.1 release!!!Guido van Rossum2001-07-101-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix various serious problems: - The ThreadingTCPServer class and its derived classes were completely broken because the main thread would close the request before the handler thread had time to look at it. This was introduced by Ping's close_request() patch. The fix moves the close_request() calls to after the handler has run to completion in the BaseServer class and the ForkingMixIn class; when using the ThreadingMixIn, closing the request is the handler's responsibility. - The ForkingUDPServer class has always been been broken because the socket was closed in the child before calling the handler. I fixed this by simply not calling server_close() in the child at all. - I cannot get the UnixDatagramServer class to work at all. The recvfrom() call doesn't return a meaningful client address. I added a comment to this effect. Maybe it works on other Unix versions. - The __all__ variable was missing ThreadingMixIn and ForkingMixIn. - Bumped __version__ to "0.4". - Added a note about the test suite (to be checked in shortly).
* initregex(): this function is declared void, so the recent change toTim Peters2001-07-091-1/+1
| | | | return NULL in an error case was itself an error.
* Add a little bit more about the XML migration plan. This still needs a lotFred Drake2001-07-091-4/+23
| | | | | of work, but mostly it needs time spent doing the work to make the generated XML useful.
* Add conversion information for the grammar production support (preliminary).Fred Drake2001-07-091-0/+16
|
* Fix for SF bug #436525, reported by Greg Kochanski:Thomas Wouters2001-07-091-2/+2
| | | | | | The block/unblock thread macros are called 'Py_BLOCK_THREADS' and 'Py_UNBLOCK_THREADS', not 'Py_BEGIN_BLOCK_THREADS' and 'Py_BEGIN_UNBLOCK_THREADS'.
* Re-add 'advanced' xrange features, adding DeprecationWarnings as discussedThomas Wouters2001-07-093-18/+221
| | | | | on python-dev. The features will still vanish, however, just one release later.
* initregex(): Check return value of PyErr_Warn() and propagate the exceptionThomas Wouters2001-07-091-2/+4
| | | | (if any.)
* Implemented minimal FSRef support, plus conversion between FSRefs, FSSpecs ↵Jack Jansen2001-07-083-74/+282
| | | | | | | | and pathnames where applicable. PyMac_GetFSSpec and PyMac_BuildFSSpec have moved to macfsmodule from macglue. These mods are untested on OSX.
* map re.sub() to string.replace(), when possibleFredrik Lundh2001-07-082-12/+40
|
* Move & update a comment.Fred Drake2001-07-071-4/+12
| | | | Add support for the \ulink macro.
* Change the way notification mails are sent so people who respond to theFred Drake2001-07-061-1/+5
| | | | | update announcements do not get bounces from trying to send mail to my laptop, which has an identity crisis due to constant relocation.
* More reference count information.Fred Drake2001-07-061-1/+9
|
* Change the grammar productions to use the new productionlist environment;Fred Drake2001-07-065-261/+410
| | | | | this supports a hyperlinked version of the grammar that can make tracking down details and definitions a little easier.
* Update the description of how to start an interpreter and determine theFred Drake2001-07-061-5/+6
| | | | installation prefix and exec_prefix for Windows.
* Add \ulink, grammar production markup.Fred Drake2001-07-061-0/+15
|
* Add support for \ulink and hyperlink grammars.Fred Drake2001-07-061-2/+151
| | | | | | | do_cmd_verbatiminput(): Write out a text file containing the content of the input file with a .txt extension, and add a link to it at the bottom of the presentation. This easier retrieval of example source code for copy & paste use.
* Revise a comment about styles I don't think LaTeX2HTML can generate,Fred Drake2001-07-061-1/+15
| | | | | | but which came from their default stylesheet. Add styles for the new hyperlinked grammar productions.