summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make the test pass now that 10**-15 returns a float instead of raisingGuido van Rossum2001-07-121-3/+1
| | | | an exception.
* Enable nested scopes by default.Guido van Rossum2001-07-121-1/+1
| | | | | | | | | | | Although this is a one-character change, more work needs to be done: the compiler can get rid of a lot of non-nested-scopes code, the documentation needs to be updated, the future statement can be simplified, etc. But this change enables the nested scope semantics everywhere, and that's the important part -- we can now test code for compatibility with nested scopes by default.
* Add xmlrpc.Guido van Rossum2001-07-121-0/+5
| | | | | | | (Tim & I should agree on where to add new additions: I add them at the top, Tim adds them at the bottom. I like the top better because folks who occasionally check out the NEWS file will see the latest news first.)
* On int/long to the negative int/long power, let float handle itGuido van Rossum2001-07-121-7/+10
| | | | | | | instead of raising an error. This was one of the two issues that the VPython folks were particularly problematic for their students. (The other one was integer division...) This implements (my) SF patch #440487.
* On long to the negative long power, let float handle it instead ofGuido van Rossum2001-07-121-8/+7
| | | | | | raising an error. This was one of the two issues that the VPython folks were particularly problematic for their students. (The other one was integer division...) This implements (my) SF patch #440487.
* On int to the negative integral power, let float handle it instead ofGuido van Rossum2001-07-121-7/+5
| | | | | | raising an error. This was one of the two issues that the VPython folks were particularly problematic for their students. (The other one was integer division...) This implements (my) SF patch #440487.
* py-cvs merge, python 1.5.2 compatabilitySteven M. Gava2001-07-121-2/+18
|
* py-cvs merge, better error dialogSteven M. Gava2001-07-121-3/+7
|
* py-cvs merge, additionsSteven M. Gava2001-07-121-0/+6
|
* py-cvs merge, correct indentationSteven M. Gava2001-07-121-1/+1
|
* py-cvs merge, correct typoSteven M. Gava2001-07-121-2/+2
|
* py-cvs merge, update colour changing infoSteven M. Gava2001-07-121-1/+2
|
* PEP 250: Add lib/site-packages to sys.path on Windows; also sys.prefixTim Peters2001-07-121-3/+1
| | | | to sys.path if os.sep == ':' (Macs?). See PEP 250.
* py-cvs merge, idle_dir loading changedSteven M. Gava2001-07-121-1/+1
|
* py-cvs merge, version updateSteven M. Gava2001-07-121-1/+1
|
* 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.