Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get email test to pass. Barry, hope this is what you had in mind | Neal Norwitz | 2002-06-02 | 2 | -6/+6 |
| | |||||
* | Make test_mhlib run again. | Michael W. Hudson | 2002-06-02 | 1 | -1/+1 |
| | | | | | | | | | There's some wierdness here, but the test ran before and not after, so I'm just hacking the change out. Someone more motivated than me can work out what's really happening. Raymond: *PLEASE* run the test suite before checking things like this in! | ||||
* | Patch #552060: Add SSLFakeSocket.sendall. Also committed for 2.2 maint. | Martin v. Löwis | 2002-06-02 | 1 | -0/+2 |
| | |||||
* | Replaced boolean tests with is None. | Raymond Hettinger | 2002-06-02 | 5 | -14/+14 |
| | |||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-02 | 6 | -10/+10 |
| | |||||
* | Use somewhat longer C++ program to detect whether linking requires the C++ | Martin v. Löwis | 2002-06-01 | 2 | -3/+3 |
| | | | | compiler. Fixes #559429. 2.2 bugfix candidate. | ||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 18 | -79/+59 |
| | |||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-01 | 7 | -12/+12 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -3/+3 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 54 | -222/+243 |
| | |||||
* | Bump to version 2.0.5, and also use absolute import paths. | Barry Warsaw | 2002-06-01 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | A bogus assert in the new listiter code prevented starting Python in a | Tim Peters | 2002-06-01 | 1 | -10/+12 |
| | | | | | debug build. Repaired that, and rewrote other parts to reduce long-winded casting. | ||||
* | _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 |
| | |||||
* | Remove unused static function | Neal Norwitz | 2002-05-31 | 1 | -19/+0 |
| | |||||
* | SF 560736. Optimize list iteration by filling the tp_iter slot. | Raymond Hettinger | 2002-05-31 | 3 | -18/+126 |
| | |||||
* | SF bug 533625 (Armin Rigo). rexec: potential security hole | Guido van Rossum | 2002-05-31 | 2 | -1/+23 |
| | | | | | | | | | | 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. | ||||
* | Explain that tp_basicsize must provide alignment for the items. | Guido van Rossum | 2002-05-31 | 1 | -0/+8 |
| | |||||
* | 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 |
| | |||||
* | Fix typo | Neal Norwitz | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Implement the intention of SF patch 472523 (but coded differently). | Guido van Rossum | 2002-05-31 | 1 | -15/+67 |
| | | | | | | | | | | | | | | | | | | In the past, an object's tp_compare could return any value. In 2.2 the docs were tightened to require it to return -1, 0 or 1; and -1 for an error. We now issue a warning if the value is not in this range. When an exception is raised, we allow -1 or -2 as return value, since -2 will the recommended return value for errors in the future. (Eventually tp_compare will also be allowed to return +2, to indicate NotImplemented; but that can only be implemented once we know all extensions return a value in [-2...1]. Or perhaps it will require the type to set a flag bit.) I haven't decided yet whether to backport this to 2.2.x. The patch applies fine. But is it fair to start warning in 2.2.2 about code that worked flawlessly in 2.2.1? | ||||
* | Change name from string to basestring | Neal Norwitz | 2002-05-31 | 3 | -6/+6 |
| | |||||
* | Update links and information on PyQt/PyKDE. | Fred Drake | 2002-05-31 | 1 | -6/+13 |
| | |||||
* | Replace '== None' with 'is None' | Raymond Hettinger | 2002-05-31 | 2 | -2/+2 |
| | |||||
* | Add definition of Py_IgnoreEnvironmentFlag (needed at least in debug | Guido van Rossum | 2002-05-31 | 1 | -0/+1 |
| | | | | mode). | ||||
* | 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 | 2 | -2/+40 |
| | | | | In the error message, say del for del and assign for everything else. | ||||
* | Py_IgnoreEnvironmentFlag should be extern, since it is declared in pythonrun.c | Neal Norwitz | 2002-05-31 | 1 | -1/+1 |
| | |||||
* | Remove unneeded import | Andrew M. Kuchling | 2002-05-30 | 1 | -1/+0 |
| | |||||
* | imp_load_module(): correct and comment the sense of the test for '+' | Guido van Rossum | 2002-05-30 | 1 | -2/+7 |
| | | | | in the mode (it's forbidden). | ||||
* | Cover a few corners in the 'U' mode integration to make imp work. | Jeremy Hylton | 2002-05-30 | 1 | -8/+14 |
| | | | | | | | | | get_file() must convert 'U' to "r" PY_STDIOTEXTMODE before calling fopen(). imp_load_module() must accept 'r' or 'U' or something with '+'. Also reflow some long lines. | ||||
* | Verify that the imp can find and load .py files. | Jeremy Hylton | 2002-05-30 | 1 | -0/+5 |
| | |||||
* | Typo fixes. | Fred Drake | 2002-05-30 | 1 | -2/+2 |
| | |||||
* | Add the pymemcompat.h header as discussed on python-dev. | Michael W. Hudson | 2002-05-30 | 1 | -0/+86 |
| | | | | Now we just need to make sure people know about it... | ||||
* | Holger Krekel. | Guido van Rossum | 2002-05-30 | 1 | -0/+1 |
| | |||||
* | SF #558432: Prevent Annoying ' ' from readline (Holker Krekel). | Guido van Rossum | 2002-05-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | readline in all python versions is configured to append a 'space' character for a successful completion. But for almost all python expressions 'space' is not wanted (see coding conventions PEP 8). For example if you have a function 'longfunction' and you type 'longf<TAB>' you get 'longfunction ' as a completion. note the unwanted space at the end. The patch fixes this behaviour by setting readline's append_character to '\0' which means don't append anything. This doesn't work with readline < 2.1 (AFAIK nowadays readline2.2 is in good use). An alternative approach would be to make the append_character accessable from python so that modules like the rlcompleter.py can set it to '\0'. [Ed.: I think expecting readline >= 2.2 is fine. If a completer wants another character they can append that to the keyword in the list.] | ||||
* | 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 |
| |