summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add new material on some markup that will be checked in shortly. ThisFred Drake2001-07-061-34/+137
| | | | | | | | | includes some minor new inline markup and markup to generate hyperlinked grammar productions. Adopt a "style guide" document -- this beats writing our own and means we'll have a chance at consistency, without having to make it all up ourselves.
* Packaged versions of the HTML format need to include any .txt files thatFred Drake2001-07-061-3/+3
| | | | | were generated by the use of the productionlist environment or the \verbatiminput macro.
* More names, yay!Fred Drake2001-07-061-0/+2
|
* Add entries for recently defined markup.Fred Drake2001-07-061-0/+23
|
* Simplification to mirror a better conversion specification and moreFred Drake2001-07-061-6/+1
| | | | powerful latex2esis.py.
* Allow optional arguments to LaTeX macros to span lines. This is legal inFred Drake2001-07-061-1/+1
| | | | | LaTeX and we have at least one occurance of that in the content, so this script needs to support it as well.
* bug #436596Fredrik Lundh2001-07-061-2/+2
| | | | re.findall doesn't take a maxsplit argument
* Once again, attempt to preserve $Revision$Barry Warsaw2001-07-060-0/+0
|
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-0617-98/+105
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* (py-version): Hopefully fixed my XEmacs settings so this doesn't getBarry Warsaw2001-07-061-1/+1
| | | | clobbered on checkin.
* Amazing. A very subtle change in policy in descr-branch actuallyGuido van Rossum2001-07-061-1/+1
| | | | | | | | | | | | | | | | found a bug here. Here's the deal: Class PyShell derives from class OutputWindow. Method PyShell.close() wants to invoke its parent method, but because PyShell long ago was inherited from class PyShellEditorWindow, it invokes PyShelEditorWindow.close(self). Now, class PyShellEditorWindow itself derives from class OutputWindow, and inherits the close() method from there without overriding it. Under the old rules, PyShellEditorWindow.close would return an unbound method restricted to the class that defined the implementation of close(), which was OutputWindow.close. Under the new rules, the unbound method is restricted to the class whose method was requested, that is PyShellEditorWindow, and this was correctly trapped as an error.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-061-4/+6
| | | | | | | | | translation more difficult, as well as reading the English more difficult for non-native speakers. Add an index entry for the Telnet protocol. Always refer to the protocol as Telnet instead of telnet.
* (py-continuation-offset): Update docstring to describe that thisBarry Warsaw2001-07-061-4/+9
| | | | | | | | additional offset is only applied to continuation lines for block opening statements. (py-compute-indentation): Only add py-continuation-offset if py-statement-opens-block-p is true.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-0612-103/+105
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* SF bug #439104: Tuple richcompares has code-typo.Tim Peters2001-07-061-1/+1
| | | | | | Symptom: (1, 2, 3) <= (1, 2) returned 1. This was already fixed in CVS for tuples, but an isomorphic error was in the list richcompare code.