| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
poring over the logs. Quite likely I've forgotten some things,
introduced typos, and organized things less than ideally.
|
| |
|
|
| |
This is what was actually used.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Changed new-style class instantiation so that when C's __new__
method returns something that's not a C instance, its __init__ is
not called. [SF bug #537450]
XXX This is arguably a semantic change, but it's hard to imagine a
reason for wanting to depend on the old behavior. If problems with
this are reported within a week of the release of 2.2.2 beta 1, we may
revert this change.
|
| | |
|
| |
|
|
| |
with the standalone mimelib package.
|
| |
|
|
|
|
| |
Extend stripid() to handle strings ending in more than one '>'.
Add resolve() to handle looking up objects and names (fix SF bug 586931).
Add a nicer error message when given a filename that doesn't exist.
|
| |
|
|
|
|
|
|
|
| |
the change in revision 1.11 (test_email.py) in response to SF bug
#609988. We now think that was the wrong fix and that WinZip was the
real culprit there.
This and the Parser.py patch will be forward ported into Python 2.3
and email 2.5.
|
| |
|
|
|
|
|
| |
get_type(). Also, one of the regular expressions is constant so might
as well make it a module global. And, when splitting up digests,
handle lineseps that are longer than 1 character in length
(e.g. \r\n).
|
| |
|
|
|
| |
easier to read for both HTML and typeset renderings. Relies on
../perl/python.perl revision 1.116.4.4.
|
| |
|
|
|
| |
\productioncont: Replace leading spaces with so that it's
possible to control the indentation of continuation lines.
|
| |
|
|
|
|
| |
In both spilldata() functions, pretend that the docstring for
non-callable objects is always None. This makes for less confusing
output and fixes the problem reported in SF patch #550290.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
1.70:
whichmodule() should skip dummy package entries in sys.modules.
This fixes the charming, but unhelpful error message for
>>> pickle.dumps(type.__new__)
Can't pickle <built-in method __new__ of type object at 0x812a440>: it's not the same object as datetime.math.__new__
1.71:
Fiddle comments and variable names in whichmodule().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262
2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162
2002/08/11 12:23:03 lemburg Misc/NEWS 1.461
2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65
2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.
u'%c' will now raise a ValueError in case the argument is an
integer outside the valid range of Unicode code point ordinals.
Closes SF bug #593581.
|
| |
|
|
|
|
|
|
|
| |
* always write the mtime to a .pyc in little endian format
* ensure class's docstrings get attached to the class, not the
enclosing scope!
Rather more fixes are needed for the trunk; these will be done in due
course.
|
| | |
|
| |
|
|
|
|
| |
Clamp code objects' tp_compare result to [-1, 1].
Bugfix candidate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
revision 1.88 of setup.py
revision 1.46 of Lib/distutils/sysconfig.py
When using a Python that has not been installed to build 3rd-party
modules, distutils does not understand that the build version of the
source tree is needed.
This patch fixes distutils.sysconfig to understand that the running
Python is part of the build tree and needs to use the appropriate
"shape" of the tree. This does not assume anything about the current
directory, so can be used to build 3rd-party modules using Python's
build tree as well.
This is useful since it allows us to use a non-installed debug-mode
Python with 3rd-party modules for testing. It as the side-effect that
set_python_build() is no longer needed (the hack which was added to
allow distutils to be used to build the "standard" extension modules).
This closes SF patch #547734.
|
| |
|
|
|
|
| |
[ 617309 ] getframe hook (Psyco #1)
Forward port candidate.
|
| |
|
|
|
|
| |
[ 617311 ] Tiny profiling info (Psyco #2)
Forward port candidate.
|
| |
|
|
|
|
| |
[ 617312 ] debugger-controlled jumps (Psyco #3)
Forward port candidate, I guess.
|
| | |
|
| | |
|
| |
|
|
| |
Add Makefile.pre.in to -devel.
|
| |
|
|
|
|
|
|
| |
Fix bug 439992 - [win32] KeyboardInterrupt Not Caught.
This gets us closer to consistent Ctrl+C behaviour on NT and Win9x.
NT now reliably generates KeyboardInterrupt exceptions for NT when a
file IO operation was aborted. Bugfix candidate
|
| | |
|
| | |
|
| |
|
|
| |
email pkg's distinct test suite.
|
| | |
|
| |
|
|
| |
Update programmer's note on nested functions.
|
| |
|
|
| |
SF # 555779, import user doesn't work with CGIs
|
| |
|
|
|
| |
import run_suite", but the 2.2.2 version requires "from test_support
import run_suite" ... :-(
|
| | |
|
| |
|
|
|
| |
Make sure the email test suite can be run both stand-alone and under
supervision of regrtest.py.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SF #558432: Prevent Annoying ' ' from readline (Holker Krekel).
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.]
|
| |
|
|
| |
Allow abspath to still do something sensisble if the nt module can not be imported.
|
| | |
|
| |
|
|
|
|
| |
Fix a problem in site.py which triggers in case sys.path is empty.
Bugfix candidate for 2.2.2.
|
| |
|
|
|
|
|
|
|
|
|
| |
SF #515021, print the refused list to the DEBUGSTREAM, so the parameter is used
Note: There is a TBD (aka FIXME) for how best to handle the refused addresses.
smtp_RCPT(): Removed a somewhat embarrassing debugging line, found by
Scot Stevenson. Could be a bug fix candidate, but probably doesn't
matter much unless a certain blue-nosed cat suddenly becomes corporeal
and starts emailing some stmp.py (sic) fronted mailer.
|
| |
|
|
|
|
|
|
|
|
| |
Patch #586999: Fix multiline string in sendmail example.
smptlib did not handle empty addresses.
The problem was that it expected rfc822.parseaddr() to return None
upon a parse failure. The actual, documented return value for a
parse failure is (None, None).
Closes SF bug 602029.
|
| |
|
|
|
| |
Treat file://localhost/ as local too (same as file:/ and file:///).
Fixes #607789, bugfix candidate.
|
| |
|
|
| |
Ignore IOError exceptions when writing the message.
|
| |
|
|
| |
SF # 555779, import user doesn't work with CGIs
|
| |
|
|
|
| |
SF #515026, delete global variable that was apparently used only
in a for loop.
|
| |
|
|
| |
module.
|
| |
|
|
| |
module.
|
| |
|
|
| |
module.
|
| |
|
|
| |
package.
|