| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
once if all the temporary files are available from building
a DVI file. This can avoid two runs of pdflatex.
|
|
|
|
| |
not as a user-controlled parameter.
|
| |
|
|
|
|
| |
sub-modules).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
resource files. The gist of the patch is to treat ".rc" and ".mc"
files as source files; ".mc" files are compiled to ".rc" and then
".res", and ".rc" files are compiled to ".res". Wish I knew what
all these things stood for...
|
|
|
|
|
| |
recent changes to ntpath.py and posixmodule.c. Thanks to Guido for
pointing out the inconsistency!
|
|
|
|
| |
create a unix-style sys.argv.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which implements the automatic conversion from Unicode to a string
object using the default encoding.
The new API is then put to use to have eval() and exec accept
Unicode objects as code parameter. This closes bugs #110924
and #113890.
As side-effect, the traditional C APIs PyString_Size() and
PyString_AsString() will also accept Unicode objects as
parameters.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cause was that the replace code necessarily used a PCRE internal
function to to template expansion.
The fix changes the code to use an SRE internal if SRE is used, and a
PCRE internal if SRE is used; in a way that should work with 1.5.2.
The solution can be sped up tremendously under the assumption that the
choice between sre and pre is not changed during the execution of the
program; especially replace-all will be slow.
But I'll leave that to someone else.
|
|
|
|
| |
"a:b", not "a:/b". Similar change was made to posixmodule.c earlier.
|
|
|
|
|
| |
Added new test for new __contains__ method.
Extensive editing to get rid of asserts.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Document the __contains__() method.
(Patch slightly modified by FLD.)
This closes SourceForge patch #101387.
|
| |
|
| |
|
|
|
|
| |
Closes Bug #114775.
|
|
|
|
|
| |
off an existing anchor tag if available (I think it
always is, but am not completely sure).
|
|
|
|
| |
discussion on python-dev.
|
|
|
|
| |
zip(None) tests. Found by Finn Bock a while ago.
|
| |
|
| |
|
|
|
|
|
| |
on other systems, so that data, headers, scripts are included in
the installer.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
When reading a short, sign-extend on platforms where shorts are
bigger than 16 bits.
When reading a long, repair the unportable sign extension that was
being done for 64-bit machines (it assumed that signed right shift
sign-extends).
|
|
|
|
|
|
|
|
|
|
|
|
| |
style conventions. (Ping has checkin privileges but apparently
ignores them at the moment.)
Ping improves a few doc strings and fixes style violations like foo ( bar ).
An addition of my own: rearrange the printing of various items in
test() so that the (long) environment comes at the end. This avoids
having to scroll if you want to see the current directory or command
line arguments.
|
|
|
|
|
|
| |
Macintosh (the latter untested).
This closes Bug #110839.
|
|
|
|
| |
(This avoids defining non-working versions of these on the Mac.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I can't test this, so I'm just checking it in with blind faith in Andy.
I've tested that it doesn't broeak a non-Pth build on Linux.
Changes include:
- There's a --with-pth configure option.
- Instead of _GNU_PTH, we test for HAVE_PTH.
- Better signal handling.
- (The config.h.in file is regenerated in a slightly different order.)
|
| |
|
|
|
|
|
|
|
| |
interface consistent: The client is responsible for closing the
socket, regardless of the amount of data received.
Restore suport for set_debuglevel call.
|
| |
|
|
|
|
| |
Add the new constants to the module docstring.
|
|
|
|
| |
checks.
|
|
|
|
| |
compatibility layer as well as "classic" ndbm.
|
|
|
|
| |
Make the code conform better to the Python style guide.
|
|
|
|
| |
module.
|
|
|
|
| |
Add the constants "printable" and "punctuation" to the string module.
|
|
|
|
|
|
|
| |
Update the module docstring to reflect the actual list of modules in the
xml.sax package.
Make the code better conform to the Python style guide.
|
|
|
|
| |
this module is "import *" safe.
|
|
|
|
|
|
| |
PyObject_Set/GetAttr() calls.
This patch fixes bug #113829.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
objects for the attribute name. Unicode objects are converted to
a string using the default encoding before trying the lookup.
Note that previously it was allowed to pass arbitrary objects as
attribute name in case the tp_getattro/setattro slots were defined.
This patch fixes this by applying an explicit string check first:
all uses of these slots expect string objects and do not check
for the type resulting in a core dump. The tp_getattro/setattro
are still useful as optimization for lookups using interned
string objects though.
This patch fixes bug #113829.
|
|
|
|
|
|
| |
the MD5 methods into the SHA docs (substituting "sha" for "md5", of course,
and changing the stuff that depended on digest size accordingly).
Fred, don't trust me!
|
|
|
|
|
|
|
|
| |
default encoding ("ascii") is changed. This safes quite a few cycles
during startup since the first call to .setdefaultencoding() will
initialize the codec registry and the encodings package.
See python-dev for a discussion (Subject: "[Python-Dev] [comp.lang.python] sys.setdefaultencoding (2.0b1)").
|
| |
|