- 03 Haz, 2006 3 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
- 02 Haz, 2006 6 kayıt (commit)
-
-
Tim Peters yazdı
the output required more than one line. "Small" dicts got displayed in seemingly random order (the hash-induced order produced by dict.__repr__). None of this was documented. Now pprint functions always sort dicts by key, and the docs promise it. This was proposed and agreed to during the PyCon 2006 core sprint -- I just didn't have time for it before now.
-
Martin Blais yazdı
-
Neal Norwitz yazdı
Prevent an invalid memory read from test_coding in case the done flag is set. In that case, the loop isn't entered. I wonder if rather than setting the done flag in the cases before the loop, if they should just exit early. This code looks like it should be refactored. Backport candidate (also the early break above if decoding_fgets fails)
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
- 01 Haz, 2006 10 kayıt (commit)
-
-
Tim Peters yazdı
he didn't know this), so merged in some changes I made during review. Nothing material apart from changing a new `mask` local from int to Py_ssize_t. Mostly this is repairing comments that were made incorrect, and adding new comments. Also a few minor code rewrites for clarity or helpful succinctness.
-
Tim Peters yazdı
but disabled then because str and unicode strings gave different results. The implementations were repaired later during the sprint, but the new test remained disabled.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Armin Rigo yazdı
[ 1456209 ] dictresize() vulnerability ( <- backport candidate ).
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Neal Norwitz yazdı
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 kayıt (commit)
-
-
Tim Peters yazdı
-
Tim Peters yazdı
loops here). Assert that size_t is actually big enough, and that f->size is at least one. Wrap a long line.
-
Tim Peters yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
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 yazdı
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 yazdı
-
Thomas Heller yazdı
compatible with that.
-
Neal Norwitz yazdı
since the deprecation warning wouldn't be raised.
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
-
Brett Cannon yazdı
values cannot be inferred. Closes bug #1496315.
-
- 30 May, 2006 9 kayıt (commit)
-
-
Tim Peters yazdı
-
Fredrik Lundh yazdı
-
Bob Ippolito yazdı
-
Fredrik Lundh yazdı
-
Tim Peters yazdı
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 yazdı
-
Georg Brandl yazdı
-
Georg Brandl yazdı
subclasses of Exception can be supplied keyword args
-
Neal Norwitz yazdı
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.
-