- 11 Jul, 2001 4 commits
-
-
Fred Drake authored
-
Fred Drake authored
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.
-
Tim Peters authored
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.
-
Kurt B. Kaiser authored
-
- 10 Jul, 2001 19 commits
-
-
Barry Warsaw authored
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.
-
Barry Warsaw authored
EOFError so any failures in unmarshalling are just ignored. Use print>> instead of sys.stderr.write().
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
De-string-module-ification.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Just van Rossum authored
of sre, and partly fixing re -> regex porting oversights - fixed PyFontify.py so it actually *works* again..
-
Guido van Rossum authored
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.
-
Fred Drake authored
-
Fred Drake authored
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.
-
Guido van Rossum authored
- Set the host to "localhost" instead of "". - Skip the AF_UNIX tests when socket.AF_UNIX is not defined.
-
Fred Drake authored
information about them, based on comments from Jack Jansen.
-
Guido van Rossum authored
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!
-
Guido van Rossum authored
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).
-
- 09 Jul, 2001 6 commits
-
-
Tim Peters authored
return NULL in an error case was itself an error.
-
Fred Drake authored
of work, but mostly it needs time spent doing the work to make the generated XML useful.
-
Fred Drake authored
-
Thomas Wouters authored
The block/unblock thread macros are called 'Py_BLOCK_THREADS' and 'Py_UNBLOCK_THREADS', not 'Py_BEGIN_BLOCK_THREADS' and 'Py_BEGIN_UNBLOCK_THREADS'.
-
Thomas Wouters authored
on python-dev. The features will still vanish, however, just one release later.
-
Thomas Wouters authored
(if any.)
-
- 08 Jul, 2001 2 commits
-
-
Jack Jansen authored
Implemented minimal FSRef support, plus conversion between FSRefs, FSSpecs and pathnames where applicable. PyMac_GetFSSpec and PyMac_BuildFSSpec have moved to macfsmodule from macglue. These mods are untested on OSX.
-
Fredrik Lundh authored
-
- 07 Jul, 2001 1 commit
-
-
Fred Drake authored
Add support for the \ulink macro.
-
- 06 Jul, 2001 8 commits
-
-
Fred Drake authored
update announcements do not get bounces from trying to send mail to my laptop, which has an identity crisis due to constant relocation.
-
Fred Drake authored
-
Fred Drake authored
this supports a hyperlinked version of the grammar that can make tracking down details and definitions a little easier.
-
Fred Drake authored
installation prefix and exec_prefix for Windows.
-
Fred Drake authored
-
Fred Drake authored
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.
-
Fred Drake authored
but which came from their default stylesheet. Add styles for the new hyperlinked grammar productions.
-
Fred Drake authored
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.
-