Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | These two classes provide bases for more specific content type | Barry Warsaw | 2002-06-01 | 2 | -0/+54 |
| | | | | | | | | | | | | | subclasses. MIMENonMultipart: Base class for non-multipart/* content type subclass specializations, e.g. image/gif. This class overrides attach() which raises an exception, since it makes no sense to attach a subpart to e.g. an image/gif message. MIMEMultipart: Base class for multipart/* content type subclass specializations, e.g. multipart/mixed. Does little more than provide a useful constructor. | ||||
* | The _compat modules now export _floordiv() instead of _intdiv2() for | Barry Warsaw | 2002-06-01 | 1 | -5/+4 |
| | | | | | | better code reuse. _split() Use _floordiv(). | ||||
* | Slightly better docstring | Barry Warsaw | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | _is_unicode(): Use UnicodeType instead of the unicode builtin for | Barry Warsaw | 2002-06-01 | 1 | -1/+3 |
| | | | | Python 2.1 compatibility. | ||||
* | Replaced boolean test with is None | Raymond Hettinger | 2002-06-01 | 3 | -4/+4 |
| | |||||
* | Replace boolean test with is None | Raymond Hettinger | 2002-06-01 | 4 | -5/+5 |
| | |||||
* | Replaced boolean test with 'is None' | Raymond Hettinger | 2002-06-01 | 2 | -5/+5 |
| | |||||
* | Use is None rather than general boolean | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Use is None rather than general boolean | Raymond Hettinger | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Use is None rather than general boolean | Raymond Hettinger | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | SF 560736. Optimize list iteration by filling the tp_iter slot. | Raymond Hettinger | 2002-05-31 | 1 | -0/+1 |
| | |||||
* | SF bug 533625 (Armin Rigo). rexec: potential security hole | Guido van Rossum | 2002-05-31 | 1 | -1/+11 |
| | | | | | | | | | | If a rexec instance allows writing in the current directory (a common thing to do), there's a way to execute bogus bytecode. Fix this by not allowing imports from .pyc files (in a way that allows a site to configure things so that .pyc files *are* allowed, if writing is not allowed). I'll apply this to 2.2 and 2.1 too. | ||||
* | Use string methods, remove import string | Neal Norwitz | 2002-05-31 | 1 | -4/+3 |
| | |||||
* | Use more string methods, remove import string | Neal Norwitz | 2002-05-31 | 3 | -18/+12 |
| | |||||
* | Replace '== None' with 'is None' | Raymond Hettinger | 2002-05-31 | 2 | -2/+2 |
| | |||||
* | Fix printing plural (s or ""). | Neal Norwitz | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Remove import of re, it is not used | Neal Norwitz | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Use string methods where possible, and remove import string | Neal Norwitz | 2002-05-31 | 3 | -13/+11 |
| | |||||
* | Fix SF bug [ 561825 ] Confusing error for "del f()" | Jeremy Hylton | 2002-05-31 | 1 | -0/+34 |
| | | | | In the error message, say del for del and assign for everything else. | ||||
* | Remove unneeded import | Andrew M. Kuchling | 2002-05-30 | 1 | -1/+0 |
| | |||||
* | Verify that the imp can find and load .py files. | Jeremy Hylton | 2002-05-30 | 1 | -0/+5 |
| | |||||
* | Remove comment about inheritance, look one line up | Neal Norwitz | 2002-05-30 | 1 | -5/+1 |
| | |||||
* | Move statement out of comment block | Raymond Hettinger | 2002-05-30 | 1 | -1/+1 |
| | |||||
* | Use floor division where appropriate. | Guido van Rossum | 2002-05-29 | 1 | -2/+2 |
| | |||||
* | Minor cleanup: | Fred Drake | 2002-05-29 | 1 | -5/+11 |
| | | | | | | - Add comment explaining the structure of the stack. - Minor optimization: make stack tuple directly usable as part of return value for enter/exit events. | ||||
* | Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were ↵ | Raymond Hettinger | 2002-05-29 | 9 | -8/+499 |
| | | | | not updated after 2.2). | ||||
* | As discussed on python-dev, add a mechanism to indicate features | Neal Norwitz | 2002-05-29 | 1 | -0/+1 |
| | | | | | that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved. | ||||
* | Whitespace normalization | Neal Norwitz | 2002-05-29 | 1 | -2/+2 |
| | |||||
* | Importing Charset should not fail when Unicode is disabled. (XXX | Guido van Rossum | 2002-05-28 | 1 | -3/+11 |
| | | | | | Using Unicode-aware methods may still die with a NameError on unicode. Maybe there's a more elegant solution but I doubt anybody cares.) | ||||
* | This is a Python 2.1 and 2.2 bugfix candidate: | Christian Tismer | 2002-05-28 | 1 | -11/+5 |
| | | | | | | | | | | | | | | | | | (or how do I "mark" something to be a candidate?) fixed an old buglet that caused bdb to be unable to continue in the botframe, after a breakpoint was set. the key idea is not to set botframe to the bottom level frame, but its f_back, which actually might be None. Additional changes: migrated old exception trick to use sys._getframe(), which exists both in 2.1 and 2.2 . Note: I believe Mark Hammond needs to look over his code now. F5 correctly starts up in the debugger, but later on doesn't stop at a given breakpoint any longer. kind regards - chris | ||||
* | Geiger Ho's patch for better subclassing | Steven M. Gava | 2002-05-27 | 1 | -1/+1 |
| | |||||
* | This is patch | Michael W. Hudson | 2002-05-27 | 1 | -3/+65 |
| | | | | | | | [ 559250 ] more POSIX signal stuff Adds support (and docs and tests and autoconfery) for posix signal mask handling -- sigpending, sigprocmask and sigsuspend. | ||||
* | GvR's rpc patch | Chui Tey | 2002-05-26 | 7 | -94/+1208 |
| | |||||
* | Fix for SF bug 551412. When _PyType_Lookup() is called on a type | Guido van Rossum | 2002-05-24 | 1 | -0/+16 |
| | | | | | | whose tp_mro hasn't been initialized, it would dump core. Fix this by checking for NULL and calling PyType_Ready(). Will fix this in 2.2.1 too. | ||||
* | Don't require Unicode support. | Guido van Rossum | 2002-05-24 | 1 | -2/+9 |
| | |||||
* | Whitespace normalized. | Raymond Hettinger | 2002-05-23 | 1 | -11/+11 |
| | |||||
* | Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings. | Raymond Hettinger | 2002-05-23 | 1 | -0/+81 |
| | |||||
* | 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 | 1 | -0/+11 |
| | | | | | | | | | 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) | ||||
* | 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. | ||||
* | 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 533291. Deprecate None return form of __reduce__. | Raymond Hettinger | 2002-05-21 | 1 | -0/+4 |
| | |||||
* | 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). | ||||
* | Use types.StringTypes instead of explicit (str, unicode) list | Michael W. Hudson | 2002-05-20 | 1 | -1/+1 |
| | |||||
* | Guess what? --disable-unicode proofing. | Michael W. Hudson | 2002-05-20 | 1 | -4/+7 |
| | | | | This is a strange test. |