Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - A new type object, 'string', is added. This is a common base type | Guido van Rossum | 2002-05-24 | 6 | -2/+69 |
| | | | | | | | for 'str' and 'unicode', and can be used instead of types.StringTypes, e.g. to test whether something is "a string": isinstance(x, string) is True for Unicode and 8-bit strings. This is an abstract base class and cannot be instantiated directly. | ||||
* | Add a safeguard against setting the class to something with a | Guido van Rossum | 2002-05-24 | 1 | -0/+10 |
| | | | | different free or alloc slot. | ||||
* | Don't require Unicode support. | Guido van Rossum | 2002-05-24 | 1 | -2/+9 |
| | |||||
* | Move really open-ended XXX items into comments | Andrew M. Kuchling | 2002-05-24 | 1 | -9/+7 |
| | | | | Remove 1.5.2 reference: who cares? | ||||
* | Disambiguate the grammar for backtick. | Guido van Rossum | 2002-05-24 | 5 | -59/+93 |
| | | | | | | The old syntax suggested that a trailing comma was OK inside backticks, but in fact (due to ideosyncrasies of pgen) it was not. Fix the grammar to avoid the ambiguity. Fred: you may want to update the refman. | ||||
* | Add missing \ to macro definition only used when universal newlines | Guido van Rossum | 2002-05-24 | 1 | -1/+1 |
| | | | | are disabled. | ||||
* | Whitespace normalized. | Raymond Hettinger | 2002-05-23 | 1 | -11/+11 |
| | |||||
* | Allow the shared library initialization routine to be overridden with an ↵ | Jack Jansen | 2002-05-23 | 4 | -5/+10 |
| | | | | | | initialize=xxx argument. Should fix #492465. | ||||
* | Added missing dirs to LIBSUBDIRS, and reformatted it so it's easier to read | Jack Jansen | 2002-05-23 | 1 | -3/+14 |
| | | | | and maintain. Fixes #557482. | ||||
* | Markup adjustments; fix the names of modules referenced in an expression. | Fred Drake | 2002-05-23 | 1 | -2/+2 |
| | |||||
* | John Aycock correctly pointed out that the grammar for | Tim Peters | 2002-05-23 | 3 | -4/+4 |
| | | | | "power" was formally ambiguous. Here's his fix. | ||||
* | Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings. | Raymond Hettinger | 2002-05-23 | 2 | -1/+85 |
| | |||||
* | (py-goto-statement-below): Watch out for landing in a triple quoted | Barry Warsaw | 2002-05-23 | 1 | -3/+4 |
| | | | | | string with text in column zero. Skip that stuff when looking for the "first statement following the statement containing point". | ||||
* | Added missing dependency on the refcount data file. | Fred Drake | 2002-05-23 | 1 | -2/+2 |
| | |||||
* | Link with the right C library! This has always been wrong (& my fault). | Tim Peters | 2002-05-23 | 1 | -1/+1 |
| | |||||
* | Use Perl function prototypes to help avoid definition/usage mismatches | Fred Drake | 2002-05-23 | 2 | -102/+106 |
| | | | | | while modifying these files. Minor style changes to make the use of "my" with arrays more consistent. | ||||
* | Add refcount information for PySequence_ITEM(). | Fred Drake | 2002-05-23 | 1 | -0/+4 |
| | |||||
* | Add version annotation for PySequence_ITEM(). | Fred Drake | 2002-05-23 | 1 | -1/+2 |
| | |||||
* | Use function instead of macro spellings for PyObject_memorystuff. | Tim Peters | 2002-05-23 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2002-05-23 | 1 | -7/+7 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2002-05-23 | 20 | -101/+100 |
| | |||||
* | parseaddr(): Fixed in the same way that Message.getaddrlist() was | Barry Warsaw | 2002-05-23 | 2 | -1/+10 |
| | | | | fixed (re: SF bug #555035). Include a unittest. | ||||
* | force gzip module to open files using 'b'inary mode. | Skip Montanaro | 2002-05-23 | 2 | -1/+9 |
| | | | | closes patch #536278. | ||||
* | Closes: #556025 seg fault when doing list(xrange(1e9)) | Neal Norwitz | 2002-05-22 | 2 | -2/+22 |
| | | | | | | | | | A MemoryError is now raised when the list cannot be created. There is a test, but as the comment says, it really only works for 32 bit systems. I don't know how to improve the test for other systems (ie, 64 bit or systems where the data size != addressable size, e.g. 64 bit data, but 48 bit addressable memory) | ||||
* | Remove spurious "()" from the __str__() description. | Fred Drake | 2002-05-22 | 1 | -1/+1 |
| | |||||
* | Jack's documentation for the U mode character on the file() | Barry Warsaw | 2002-05-22 | 2 | -0/+27 |
| | | | | constructor, vetted by Barry. | ||||
* | file_doc: Add some description of the U mode character, but only when | Barry Warsaw | 2002-05-22 | 1 | -0/+10 |
| | | | | WITH_UNIVERSAL_NEWLINES is enabled. | ||||
* | Patch #491107: Cygwin setup.py import workaround patch | Jason Tishler | 2002-05-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mwh wrote: > Jason, feel free to complain if you think this isn't > the right thing to do. I guess that I would like to complain and reopen this issue. :,) I cannot build a Python 2.2.1 with threads under Cygwin without this patch even though I'm using Michael's static _socket workaround. This is due to the Cygwin fork() problem with DLL base address conflicts that are triggered by importing many modules during the setup.py run. Similar problems can also be caused by regrtest.py. Even after my rebase patch is accepted into Cygwin's setup.exe, I feel this patch will still be necessary. This is because during the build process, the shared extensions (i.e., DLLs) will not be rebased yet. Hence, the potential for DLL base address conflicts will exist. One way to obviate this patch is to push the rebase functionality into Cygwin's ld. Unfortunately, I don't think this is likely to happen. Another possible way, is to use the yet to be defined and implemented unload module functionality: http://mail.python.org/pipermail/python-dev/2001-December/019028.html | ||||
* | Regenerated from new Universal Headers. | Jack Jansen | 2002-05-22 | 16 | -261/+717 |
| | |||||
* | Allow the script to have not only a TEXT filetype but also a null filetype ↵ | Jack Jansen | 2002-05-22 | 1 | -1/+3 |
| | | | | (to enable files to be created from the Unix side of OSX to be droppable on the MacPython interpreter). | ||||
* | Replaced lots of PyMem_DEL() calls with PyObject_DEL(). | Jack Jansen | 2002-05-22 | 9 | -16/+16 |
| | |||||
* | Enable WITH_PYMALLOC. | Jack Jansen | 2002-05-22 | 1 | -1/+1 |
| | |||||
* | Added 2 more addresses to send release notifications to. | Jack Jansen | 2002-05-22 | 1 | -0/+2 |
| | |||||
* | Added a version annotation for StringTypes. | Fred Drake | 2002-05-22 | 1 | -0/+7 |
| | | | | Added documentation for BooleanType. | ||||
* | Bump to version 2.0.4 | Barry Warsaw | 2002-05-22 | 1 | -1/+1 |
| | |||||
* | getaddresses(): Like the change in rfc822.py, this one needs to access | Barry Warsaw | 2002-05-22 | 2 | -1/+8 |
| | | | | | | the AddressList.addresslist attribute directly. Also, add a test case for the email.Utils.getaddresses() interface. | ||||
* | Minor typo: Message.getall() -> Message.get_all() | Barry Warsaw | 2002-05-22 | 1 | -1/+1 |
| | |||||
* | add BooleanType | Skip Montanaro | 2002-05-21 | 1 | -0/+1 |
| | |||||
* | In both spilldata() functions, pretend that the docstring for | Guido van Rossum | 2002-05-21 | 1 | -2/+8 |
| | | | | | non-callable objects is always None. This makes for less confusing output and fixes the problem reported in SF patch #550290. | ||||
* | Message.getaddrlist(): Use the AddressList.addresslist attribute | Barry Warsaw | 2002-05-21 | 2 | -2/+21 |
| | | | | | | | | instead of calling the getaddrlist() method, since the latter doesn't work with multiple calls (it will return the empty list for the second and subsequent calls). Closes SF bug #555035. Include a unittest. | ||||
* | Patch 543387. Document deprecation of complex %, //,and divmod(). | Raymond Hettinger | 2002-05-21 | 3 | -10/+21 |
| | |||||
* | Patch 533291. Deprecate None return form of __reduce__. | Raymond Hettinger | 2002-05-21 | 2 | -4/+12 |
| | |||||
* | Patch 543222. Disable script bindings in shell window. | Raymond Hettinger | 2002-05-21 | 3 | -0/+5 |
| | |||||
* | Add additional comments on the use of \deprecated. | Fred Drake | 2002-05-21 | 1 | -1/+4 |
| | |||||
* | Add IS_TRACKED and IS_MOVED macros. This makes the logic a little more clear. | Neil Schemenauer | 2002-05-21 | 1 | -7/+10 |
| | |||||
* | Patch 549187. Improve string formatting error message. | Raymond Hettinger | 2002-05-21 | 2 | -4/+4 |
| | |||||
* | Add availability information for a couple of the types, and notes on writing | Fred Drake | 2002-05-21 | 1 | -5/+10 |
| | | | | string-type tests for versions of Python built without Unicode support. | ||||
* | Another one. | Guido van Rossum | 2002-05-21 | 1 | -0/+1 |
| | |||||
* | Patches 558535. The standard Windows binding for Edit Select All | Raymond Hettinger | 2002-05-21 | 1 | -1/+1 |
| | | | | is Control-A rather than Alt-A. | ||||
* | Munge the RCS keywords to avoid updates, so the version number matches that | Fred Drake | 2002-05-21 | 1 | -1/+1 |
| | | | | | | of the PyUNIT version of the same file. This helps people understand that this version is the same as the version from the independent PyUNIT release (confusion was indicated on the PyUNIT mailing list). |