| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
array object at all.
|
|
|
|
|
|
|
| |
(1) on a little-endian platform, don't byteswap;
(2) in _patchheader(), there was a missing self._file argument to a
_write_long() call.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Also finally get rid of some obsolete commented-out access statements.
A note about the previous checkin: I believe it's correct, but I found
something strange: the file Lib/test/audiotest.au in the Python
distribution was evidently encoded in u-LAW format but had its
encoding set to 2, i.e. linear-8. I hope that this is a mistake
caused by some conversion program that produced this .au file; I just
found it on a website.
|
| |
|
| |
|
|
|
|
|
|
| |
\\host\mountpoint\dir\file). By Larry Hastings.
Also cleaned up some docstrings.
|
|
|
|
|
| |
"""Sjoerd's version stores unbound methods. that's not good enough ;-)
Here's an alternative implementation of fixdict."""
|
|
|
|
|
|
|
|
|
| |
Fix leaking of instances by removing the elements variable that we
created on closing the parser. The elements variable is now created
in the reset() method, so that the sequence close(); reset();
... works.
Also, add the name of the entity reference that wasn't found to the
error message.
|
| |
|
|
|
|
|
|
|
|
|
| |
from Python 1.5.1:
If after __init__ finishes no new elements variable was created, this
patch will search the instance's namespace for all attributes whose
name start with start_ or end_ and put their value in a new elements
instance variable.
|
|
|
|
|
|
|
|
|
|
|
| |
In the docstring of ConfigParser.py (Python 1.5.2b1):
read(*filenames) -- read and parse the list of named configuration files
should be:
read(filenames) -- read and parse the list of named configuration files
The method accepts a list, not a bunch of positional arguments.
Which is good, the list is much more convenient.
|
|
|
|
| |
second time!
|
| |
|
|
|
|
|
|
|
|
| |
applied to all filenames before they are compared, looked up in the
breaks dictionary, etc. The default implementation does nothing --
it's implented as fast as possible via str(). A useful implementation
would make everything a absolute, e.g. return os.path.normcase(
os.path.abspath(filename)).
|
| |
|
|
|
|
|
| |
With -s only a single test is run. The next test run is chosen
sequentially from the list of all tests.
|
| |
|
| |
|
|
|
|
|
| |
raise an ImportError if not running verbose. This signals to the
regression framework that this test isn't applicable.
|
|
|
|
| |
(It was left in accidentally after a long and arduous 3-way patch session.)
|
| |
|
|
|
|
|
|
|
| |
module myself) to accept an option keyword argument (vars) that is
substituted on top of the defaults that were setup in __init__. The
patch also fixes the problem where you can't have recusive references
inside your configuration file.
|
| |
|
|
|
|
|
|
|
| |
of them. I.e., '<a name="foo"href="bar.html">' will now have two
attributes recognized.
Based on comments from newgroup.
|
|
|
|
| |
happen in restricted mode.
|
| |
|
|
|
|
|
|
|
|
|
| |
clear
clear file:line
clear bpno bpno ...
Also print the breakpoint data after calling set_break(), because the
print statement in set_break() has gone.
|
|
|
|
|
|
|
|
| |
Add new clear_bpbynumber() with single bpno argument. (Adapted from
a patch by Richard Wolff.)
Also some cleanup in error messages and moved some comments into a
docstring.
|
|
|
|
| |
import isfile" and "import os.path".
|
| |
|
|
|
|
| |
Contributed by Blake Winton, but considerably edited.
|
|
|
|
| |
Take opportunity to add more explanatory messages to exceptions.
|
|
|
|
| |
troublesome ones encountered on the c.l.py list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
named header, so that if a message has, e.g. multiple CC: lines, all
will get returned by the call to getaddrlist(). It also correctly
handles addresses which show up in continuation lines.
AdderlistClass.__init__(): Added \n to self.CR which fixes a bug that
sometimes, an address would contain a bogus trailing newline.
Message.getaddress(): In final else clause, added a test for the
character we're at being in self.specials. Without this, such
characters never get consumed and we infloop. Case in point (as
posted to c.l.py):
To: <[smtp:dd47@mail.xxx.edu]_at_hmhq@hdq-mdm1-imgout.companay.com>
----------------------------^
otherwise we'd infloop here
|
|
|
|
| |
empty. Make sure there is a space when there are options.
|
|
|
|
|
| |
This doesn't make a bit of difference on Unix, but apparently on
Windows NT you need write permission before you can set the utime...
|
|
|
|
|
| |
files with (optional) comment stripping, blank line skipping, whitespace
removal, and line joining with trailing backslashes.
|
|
|
|
| |
standard Python library. (Async socket support.)
|
|
|
|
| |
the newsgroup by Raymond Tong Leng Ng <rntl@yahoo.com>.
|
|
|
|
|
| |
installations; it was picking up a stale config.h from an
overwritten installation.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
text/plain for inner parts, but application/x-www-form-urlencoded
for outer parts. Honor any existing content-type header.
Lower down, if the content-type header is something we don't
understand (say because it there was a typo in the header coming from
the client), default to text/plain for inner parts, but
application/x-www-form-urlencoded for outer parts.
|
|
|
|
|
| |
fragment, and/or parameter information.
3 cases added to the test suite to check for this bug.
|
| |
|
| |
|
|
|
|
| |
functions (from comments).
|
|
|
|
|
| |
get_config_h_filename, get_makefile_filename, parse_config_h, and
parse_makefile.
|
|
|
|
|
| |
Doc-string-ified the lead comments.
Added auto call of test() when run as script.
|
| |
|