- 01 Jun, 2006 3 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
Neal Norwitz authored
about extra semi-colons. It may have been the HP C compiler. This file will trigger a bunch of those warnings now.
-
- 31 May, 2006 12 commits
-
-
Tim Peters authored
-
Tim Peters authored
loops here). Assert that size_t is actually big enough, and that f->size is at least one. Wrap a long line.
-
Tim Peters authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
SimpleXMLRPCServer and DocXMLRPCServer don't look at the path of the HTTP request at all; you can POST or GET from / or /RPC2 or /blahblahblah with the same results. Security scanners that look for /cgi-bin/phf will therefore report lots of vulnerabilities. Fix: add a .rpc_paths attribute to the SimpleXMLRPCServer class, and report a 404 error if the path isn't on the allowed list. Possibly-controversial aspect of this change: the default makes only '/' and '/RPC2' legal. Maybe this will break people's applications (though I doubt it). We could just set the default to an empty tuple, which would exactly match the current behaviour.
-
Kristján Valur Jónsson authored
Fixup the PCBuild8 project directory. exceptions.c have moved to Objects, and the functionalmodule.c has been replaced with _functoolsmodule.c. Other minor changes to .vcproj files and .sln to fix compilation
-
Andrew M. Kuchling authored
-
Thomas Heller authored
compatible with that.
-
Neal Norwitz authored
since the deprecation warning wouldn't be raised.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Brett Cannon authored
values cannot be inferred. Closes bug #1496315.
-
- 30 May, 2006 24 commits
-
-
Tim Peters authored
-
Fredrik Lundh authored
-
Bob Ippolito authored
-
Fredrik Lundh authored
-
Tim Peters authored
a new comment) suggests there are almost certainly large input integers in all non-binary input bases for which one Python digit too few is initally allocated to hold the final result. Instead of assert-failing when that happens, allocate more space. Alas, I estimate it would take a few days to find a specific such case, so this isn't backed up by a new test (not to mention that such a case may take hours to run, since conversion time is quadratic in the number of digits, and preliminary attempts suggested that the smallest such inputs contain at least a million digits).
-
Andrew M. Kuchling authored
-
Georg Brandl authored
-
Georg Brandl authored
subclasses of Exception can be supplied keyword args
-
Neal Norwitz authored
I'm not sure this is the best approach, but I can't think of anything better. If this creates problems, feel free to revert, but I think it's safe and should make things a little better.
-
Georg Brandl authored
-
Neal Norwitz authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Tim Peters authored
our lives taking turns rewriting code that works ;-), get rid of casting illusions by declaring a new variable with the obvious type.
-
Tim Peters authored
from a (possibly) wider variable.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Tim Peters authored
I don't have a box with nearly enough RAM, or an OS, that could get close to tickling this, though (requires a dict w/ at least 2**31 entries).
-
Neal Norwitz authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
are run in the order: test_genexps (or any other doctest-based test) test_struct test_doctest The `warnings` module needs an advertised way to save/restore its internal filter list.
-
Bob Ippolito authored
-
- 29 May, 2006 1 commit
-
-
Bob Ippolito authored
struct: modulo math plus warning on all endian-explicit formats for compatibility with older struct usage (ugly)
-