Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Finally added a -h option to print the module docstring and exit. ;) | Barry Warsaw | 2003-04-20 | 1 | -2/+6 |
| | |||||
* | - Fixed bug #672491. This change restores the behavior of lastindex/lastgroup | Gustavo Niemeyer | 2003-04-20 | 1 | -5/+4 |
| | | | | | | to be compliant with previous python versions, by backing out the changes made in revision 2.84 which affected this. The bugfix for backtracking is still maintained. | ||||
* | Patch #553171: Add writeback parameter. Also add protocol parameter. | Martin v. Löwis | 2003-04-19 | 4 | -50/+193 |
| | |||||
* | handle_system_exit(): This leaked the current exception info, in | Tim Peters | 2003-04-19 | 1 | -4/+16 |
| | | | | | | | particular leaving the traceback object (and everything reachable from it) alive throughout shutdown. The patch is mostly from Guido. Bugfix candidate. | ||||
* | Docstring clarifications. | Tim Peters | 2003-04-19 | 1 | -7/+12 |
| | |||||
* | - bool() called without arguments now returns False rather than | Guido van Rossum | 2003-04-19 | 4 | -2/+18 |
| | | | | | | | raising an exception. This is consistent with calling the constructors for the other builtin types -- called without argument they all return the false value of that type. (SF patch #724135) Thanks to Alex Martelli. | ||||
* | - Several methods of nntplib.NNTP have grown an optional file argument | Guido van Rossum | 2003-04-19 | 4 | -22/+69 |
| | | | | | | which specifies a file where to divert the command's output (already supported by the body() method). (SF patch #720468) Thanks to Terry Carroll. | ||||
* | New PyGILState_ API - implements pep 311, from patch 684256. | Mark Hammond | 2003-04-19 | 10 | -131/+395 |
| | |||||
* | Mention the bz2 module | Andrew M. Kuchling | 2003-04-19 | 1 | -25/+30 |
| | | | | Various rewrites | ||||
* | New file. | Martin v. Löwis | 2003-04-19 | 1 | -0/+90 |
| | |||||
* | Fully support 32-bit codes. Enable BIGCHARSET in UCS-4 builds. | Martin v. Löwis | 2003-04-19 | 4 | -35/+90 |
| | |||||
* | Patch #681152: Support escaped Unicode characters in classes. Fixes #612074. | Martin v. Löwis | 2003-04-19 | 2 | -1/+5 |
| | | | | Will backport to 2.2. | ||||
* | Patch #716969: Detect thread creation failure. Will backport to 2.2. | Martin v. Löwis | 2003-04-19 | 2 | -9/+9 |
| | |||||
* | Make _strptime escape regex syntax in format string to prevent use in ↵ | Brett Cannon | 2003-04-19 | 2 | -1/+24 |
| | | | | internal regex. | ||||
* | as_string(): Added some text to the docstring to make it clear that | Barry Warsaw | 2003-04-18 | 1 | -0/+4 |
| | | | | | it's a convenience only and give hints on what to do for more flexibility. | ||||
* | Added some more documentation to as_string() to make it clear that | Barry Warsaw | 2003-04-18 | 1 | -0/+14 |
| | | | | | it's a convenience only. Give an example of what to do for more flexibility. | ||||
* | Change email address. | Martin v. Löwis | 2003-04-18 | 7 | -8/+8 |
| | |||||
* | Fix spelling of cedillas. | Martin v. Löwis | 2003-04-18 | 2 | -4/+4 |
| | |||||
* | Correct methoddesc environments. | Martin v. Löwis | 2003-04-18 | 1 | -2/+2 |
| | |||||
* | Add lib/libstringprep.tex lib/libdocxmlrpc.tex. | Martin v. Löwis | 2003-04-18 | 1 | -0/+2 |
| | |||||
* | Patch #536883: SimpleXMLRPCServer auto-docing subclass. | Martin v. Löwis | 2003-04-18 | 5 | -0/+418 |
| | |||||
* | Skip nameprep test 3.43, as we do allow unassigned characters. The test | Martin v. Löwis | 2003-04-18 | 1 | -2/+4 |
| | | | | fails only in UCS-2 mode, since it tests a non-BMP character. | ||||
* | Don't double-space the "??? new object ..." messages. | Guido van Rossum | 2003-04-18 | 1 | -1/+1 |
| | |||||
* | Patch #718049: Setting exe_extension for cygwin | Jason Tishler | 2003-04-18 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | On cygwin, the setup.py script uses unixccompiler.py for compiling and linking C extensions. The unixccompiler.py script assumes that executables do not get special extensions, which makes sense for Unix. However, on Cygwin, executables get an .exe extension. This causes a problem during the configuration step (python setup.py config), in which some temporary executables may be generated. As unixccompiler.py does not know about the .exe extension, distutils fails to clean up after itself: it does not remove _configtest.exe but tries to remove _configtest instead. The attached patch to unixccompiler.py sets the correct exe_extension for cygwin by checking if sys.platform is 'cygwin'. With this patch, distutils cleans up after itself correctly. Michiel de Hoon University of Tokyo, Human Genome Center. | ||||
* | - accepted (slightly) modified version of docs for the OptionGroup | Fred Drake | 2003-04-18 | 1 | -71/+108 |
| | | | | | | | | class; closes SF patch #697941 - use em-dashes intead of en-dashes - section references: use a "tie" between the word "section" and the section number, use quotation marks around section titles - other minor markup corrections/cleanups | ||||
* | Patch #711835: Remove unnecessary lock operations. Will backport to 2.2. | Martin v. Löwis | 2003-04-18 | 1 | -8/+4 |
| | |||||
* | Patch #714957: Explain ADDMODULE MARKER. | Martin v. Löwis | 2003-04-18 | 1 | -2/+2 |
| | |||||
* | Implement IDNA (Internationalized Domain Names in Applications). | Martin v. Löwis | 2003-04-18 | 12 | -9/+1671 |
| | |||||
* | Heh -- I checked in an old version of this, at a time I documented the | Tim Peters | 2003-04-18 | 1 | -3/+1 |
| | | | | internal read() as being a generator but hadn't yet changed it into one. | ||||
* | _Py_PrintReferenceAddresses(): also print the type name. In real use | Tim Peters | 2003-04-18 | 4 | -2/+139 |
| | | | | | | | | | I'm finding some pretty baffling output, like reprs consisting entirely of three left parens. At least this will let us know what type the object is (it's not str -- there's no quote character in the repr). New tool combinerefs.py, to combine the two output blocks produced via PYTHONDUMPREFS. | ||||
* | Delete the 'h' test -- 'h' is no longer unsigned so the machinery here | Guido van Rossum | 2003-04-18 | 1 | -16/+1 |
| | | | | can't test it. It's unchanged so why would we test it anyway... | ||||
* | Roll back changes to 'h' format code -- too much breaks. Other | Guido van Rossum | 2003-04-18 | 1 | -5/+5 |
| | | | | changes stay. | ||||
* | Use True in a few more places. | Neal Norwitz | 2003-04-17 | 2 | -8/+6 |
| | | | | Use isinstance(somestring, basestring) instead of type() as per PEP 8 | ||||
* | Oops, missed updating doc to correct version for split | Neal Norwitz | 2003-04-17 | 1 | -1/+1 |
| | |||||
* | Get test to work under regrtest when running whole suite | Neal Norwitz | 2003-04-17 | 1 | -1/+6 |
| | |||||
* | Added documentation for the handle_pi() method, based on SF patch #662464. | Fred Drake | 2003-04-17 | 1 | -1/+15 |
| | | | | Closes SF bug #659188, patch #662464. | ||||
* | SF Feature #: 719429, Get the SSL module to build on RedHat 9. | Neal Norwitz | 2003-04-17 | 1 | -0/+4 |
| | | | | krb5.h is in it's own directory | ||||
* | Add test that demonstrates SGML-style handling of processing | Fred Drake | 2003-04-17 | 1 | -0/+3 |
| | | | | instructions. | ||||
* | - use Tue/False for booleans | Fred Drake | 2003-04-17 | 1 | -9/+8 |
| | | | | - some very minor cleanups | ||||
* | dded missing k and K format specifiers to Py_BuildValue and friends. | Jack Jansen | 2003-04-17 | 1 | -0/+6 |
| | |||||
* | markup banalities | Fred Drake | 2003-04-17 | 1 | -18/+18 |
| | |||||
* | Implemented posix-mode parsing support in shlex.py, as dicussed in | Gustavo Niemeyer | 2003-04-17 | 4 | -47/+416 |
| | | | | mailing list, and in patch #722686. | ||||
* | Oops, 'k' is the new format code for un unchecked 32 bit quantity, | Jack Jansen | 2003-04-17 | 2 | -6/+6 |
| | | | | not 'K'. | ||||
* | Converted manually written code to the new K format specifier. | Jack Jansen | 2003-04-17 | 3 | -8/+8 |
| | | | | Untested, but at least it still compiles. | ||||
* | _Py_PrintReferences(): Changed to print object address at start of each | Tim Peters | 2003-04-17 | 3 | -3/+26 |
| | | | | | | | | | | | | | | | new line. New pvt API function _Py_PrintReferenceAddresses(): Prints only the addresses and refcnts of the live objects. This is always safe to call, because it has no dependence on Python's C API. Py_Finalize(): If envar PYTHONDUMPREFS is set, call (the new) _Py_PrintReferenceAddresses() right before dumping final pymalloc stats. We can't print the reprs of the objects here because too much of the interpreter has been shut down. You need to correlate the addresses displayed here with the object reprs printed by the earlier PYTHONDUMPREFS call to _Py_PrintReferences(). | ||||
* | SF # 595026: support for masks in getargs.c. | Thomas Heller | 2003-04-17 | 7 | -27/+596 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New functions: unsigned long PyInt_AsUnsignedLongMask(PyObject *); unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *); unsigned long PyLong_AsUnsignedLongMask(PyObject *); unsigned PY_LONG_LONG) PyLong_AsUnsignedLongLongMask(PyObject *); New and changed format codes: b unsigned char 0..UCHAR_MAX B unsigned char none ** h unsigned short 0..USHRT_MAX H unsigned short none ** i int INT_MIN..INT_MAX I * unsigned int 0..UINT_MAX l long LONG_MIN..LONG_MAX k * unsigned long none L long long LLONG_MIN..LLONG_MAX K * unsigned long long none Notes: * New format codes. ** Changed from previous "range-and-a-half" to "none"; the range-and-a-half checking wasn't particularly useful. New test test_getargs2.py, to verify all this. | ||||
* | - New C API PyGC_Collect(), same as calling gc.collect(). | Guido van Rossum | 2003-04-17 | 4 | -2/+37 |
| | | | | | - Call this in Py_Finalize(). - Expand the Misc/NEWS text on PY_LONG_LONG. | ||||
* | Changes in support of PEP 269. | Guido van Rossum | 2003-04-17 | 1 | -0/+5 |
| | |||||
* | A missing piece of the PEP 269 patch: add PyParser_SetError(), a | Guido van Rossum | 2003-04-17 | 1 | -0/+9 |
| | | | | wrapper around err_input(). | ||||
* | Trimmed trailing whitespace. | Tim Peters | 2003-04-17 | 1 | -10/+10 |
| |