| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Fix for 1.33: urlsplit() should only add '//' if scheme != ''.
[SF bug 620705]
|
| | |
|
| |
|
|
| |
SF bug 585882. Will forward-port.
|
| |
|
|
|
|
|
| |
SF # 539360, webbrowser.py and konqueror, by Andy McKay
Fix Konqueror so it can start when calling open().
The assert needed to be on the raw URL, not openURL 'url...'
|
| |
|
|
| |
MacPython 2.2.
|
| |
|
|
|
| |
Reorganized so the test is skipped if os.popen() doesn't exist (in stead of fail
ing).
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
list(xrange(sys.maxint / 4))
test. Changed 4 to 2.
The belief is that this test intended to trigger a bit of code in
listobject.c's NRESIZE macro that's looking for arithmetic overflow. As
written, it doesn't achieve that, though, and leaves it up to the platform
realloc() as to whether it wants to allocate 2 gigabytes. Some platforms
say "sure!", although they don't appear to mean it, and disaster ensues.
Changing 4 to 2 (just barely) manages to trigger the arithmetic overflow
test instead, leaving the platform realloc() out of it.
|
| |
|
|
|
|
| |
arbitrary versions of Expat.
Not applicable to Python 2.3, which will incorporate an Expat that does not
need this crutch.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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).
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
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.
|
| |
|
|
| |
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.
|
| |
|
|
|
|
|
| |
comment):
Deprecated Random.cunifvariate clearing bug 506647.
Also, added docstrings.
|
| |
|
|
| |
test.test_support
|
| |
|
|
|
|
|
|
| |
some updated modules, updated documentation, and updated tests. Note
that Lib/test/regrtest.py added test_email_codecs to the expected
skips for all platforms. Also note that test_email_codecs.py differs
slightly from its Python 2.3 counterpart due to the difference in
package location for TestSkipped.
|
| |
|
|
| |
'release22-maint'.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
patch #617312, both on the trunk and the 22-maint branch.
Also added a test case, and ported the test_trace I wrote for HEAD
to 2.2.2 (with all those horrible extra 'line' events ;-).
|
| | |
|
| |
|
|
| |
Patch #581705: Catch OSError, termios.error in spawn. 2.2 bugfix candidate.
|
| |
|
|
| |
Closes SF bug #583248.
|
| | |
|
| |
|
|
| |
Oops, must convert hyphens to underscores in keys of aliases dict.
|
| |
|
|
|
| |
being applied. This is portion of that patch that does not add new
functionality.
|
| |
|
|
| |
Closes SF bug #561822.
|