Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Repaired error in new comment. | Tim Peters | 2006-05-31 | 1 | -4/+4 | |
| | ||||||
* | _range_error(): Speed and simplify (there's no real need for | Tim Peters | 2006-05-31 | 1 | -17/+19 | |
| | | | | | loops here). Assert that size_t is actually big enough, and that f->size is at least one. Wrap a long line. | |||||
* | Trimmed trailing whitespace. | Tim Peters | 2006-05-31 | 1 | -22/+22 | |
| | ||||||
* | Mention SimpleXMLRPCServer change | Andrew M. Kuchling | 2006-05-31 | 1 | -0/+15 | |
| | ||||||
* | [Bug #1473048] | Andrew M. Kuchling | 2006-05-31 | 3 | -0/+41 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | Fixup the PCBuild8 project directory. exceptions.c have moved to Objects, ↵ | Kristján Valur Jónsson | 2006-05-31 | 6 | -334/+30 | |
| | | | | and the functionalmodule.c has been replaced with _functoolsmodule.c. Other minor changes to .vcproj files and .sln to fix compilation | |||||
* | 'functional' module was renamed to 'functools' | Andrew M. Kuchling | 2006-05-31 | 1 | -6/+6 | |
| | ||||||
* | PyTuple_Pack is not available in Python 2.3, but ctypes must stay | Thomas Heller | 2006-05-31 | 1 | -1/+1 | |
| | | | | compatible with that. | |||||
* | On 64-bit platforms running test_struct after test_tarfile would fail | Neal Norwitz | 2006-05-31 | 1 | -0/+6 | |
| | | | | since the deprecation warning wouldn't be raised. | |||||
* | Revert last checkin, it is better to do make distclean | Neal Norwitz | 2006-05-31 | 1 | -10/+1 | |
| | ||||||
* | Calculate smallest properly (it was off by one) and use proper ssize_t types ↵ | Neal Norwitz | 2006-05-31 | 1 | -5/+5 | |
| | | | | for Win64 | |||||
* | Clarify wording on default values for strptime(); defaults are used when better | Brett Cannon | 2006-05-31 | 1 | -1/+2 | |
| | | | | | | values cannot be inferred. Closes bug #1496315. | |||||
* | Whitespace normalization. | Tim Peters | 2006-05-30 | 1 | -4/+4 | |
| | ||||||
* | changed count to return 0 for slices outside the source string | Fredrik Lundh | 2006-05-30 | 2 | -2/+3 | |
| | ||||||
* | Change wrapping terminology to overflow masking | Bob Ippolito | 2006-05-30 | 2 | -21/+21 | |
| | ||||||
* | changed find/rfind to return -1 for matches outside the source string | Fredrik Lundh | 2006-05-30 | 2 | -10/+19 | |
| | ||||||
* | PyLong_FromString(): Continued fraction analysis (explained in | Tim Peters | 2006-05-30 | 1 | -3/+74 | |
| | | | | | | | | | | | | 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). | |||||
* | Add SoC name, and reorganize this section a bit | Andrew M. Kuchling | 2006-05-30 | 1 | -4/+10 | |
| | ||||||
* | Convert test_exceptions to unittest. | Georg Brandl | 2006-05-30 | 2 | -349/+287 | |
| | ||||||
* | Do the check for no keyword arguments in __init__ so that | Georg Brandl | 2006-05-30 | 2 | -4/+4 | |
| | | | | subclasses of Exception can be supplied keyword args | |||||
* | I'm impatient. I think this will fix a few more problems with the buildbots. | Neal Norwitz | 2006-05-30 | 1 | -1/+10 | |
| | | | | | | 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. | |||||
* | Disallow keyword args for exceptions. | Georg Brandl | 2006-05-30 | 2 | -0/+10 | |
| | ||||||
* | Don't fail if the (sub)pkgname already exist. | Neal Norwitz | 2006-05-30 | 1 | -0/+3 | |
| | ||||||
* | Add a test case for exception pickling. args is never NULL. | Georg Brandl | 2006-05-30 | 2 | -11/+21 | |
| | ||||||
* | Restore exception pickle support. #1497319. | Georg Brandl | 2006-05-30 | 1 | -1/+11 | |
| | ||||||
* | dict_print(): So that Neal & I don't spend the rest of | Tim Peters | 2006-05-30 | 1 | -4/+5 | |
| | | | | | | our lives taking turns rewriting code that works ;-), get rid of casting illusions by declaring a new variable with the obvious type. | |||||
* | dict_print(): Explicitly narrow the return value | Tim Peters | 2006-05-30 | 1 | -1/+1 | |
| | | | | from a (possibly) wider variable. | |||||
* | No DOWNCAST is required since sizeof(Py_ssize_t) >= sizeof(int) and ↵ | Neal Norwitz | 2006-05-30 | 1 | -1/+1 | |
| | | | | Py_ReprEntr returns an int | |||||
* | Use Py_SAFE_DOWNCAST for safety. Fix format strings. Remove 2 more stray | ↵ | Neal Norwitz | 2006-05-30 | 1 | -6/+6 | |
| | | | | in comment | |||||
* | Remove stray | in comment | Neal Norwitz | 2006-05-30 | 1 | -1/+1 | |
| | ||||||
* | Convert relevant dict internals to Py_ssize_t. | Tim Peters | 2006-05-30 | 2 | -48/+64 | |
| | | | | | | 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). | |||||
* | Simplify further by using AddStringConstant | Neal Norwitz | 2006-05-30 | 1 | -4/+2 | |
| | ||||||
* | Set a binary svn:mime-type property on this UTF-8 encoded file. | Tim Peters | 2006-05-30 | 0 | -0/+0 | |
| | ||||||
* | Whitespace normalization. | Tim Peters | 2006-05-30 | 3 | -5/+5 | |
| | ||||||
* | deprecated_err(): Stop bizarre warning messages when the tests | Tim Peters | 2006-05-30 | 1 | -2/+6 | |
| | | | | | | | | | | | 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. | |||||
* | Add a length check to aifc to ensure it doesn't write a bogus file | Bob Ippolito | 2006-05-30 | 1 | -0/+2 | |
| | ||||||
* | struct: modulo math plus warning on all endian-explicit formats for ↵ | Bob Ippolito | 2006-05-29 | 2 | -22/+199 | |
| | | | | compatibility with older struct usage (ugly) | |||||
* | fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying on | Fredrik Lundh | 2006-05-29 | 2 | -1/+12 | |
| | | | | the current behaviour ;-) | |||||
* | Whoops. | Georg Brandl | 2006-05-29 | 1 | -2/+6 | |
| | ||||||
* | Convert more modules to METH_VARARGS. | Georg Brandl | 2006-05-29 | 8 | -113/+139 | |
| | ||||||
* | Make use of METH_O and METH_NOARGS where possible. | Georg Brandl | 2006-05-29 | 26 | -404/+186 | |
| | | | | Use Py_UnpackTuple instead of PyArg_ParseTuple where possible. | |||||
* | Add News entry for last commit. | Georg Brandl | 2006-05-29 | 1 | -0/+3 | |
| | ||||||
* | Patches #1497027 and #972322: try HTTP digest auth first, | Georg Brandl | 2006-05-29 | 3 | -9/+66 | |
| | | | | and watch out for handler name collisions. | |||||
* | When adding a module like functools, it helps to let SVN know about the file. | Nick Coghlan | 2006-05-29 | 1 | -0/+26 | |
| | ||||||
* | Correct some value converting strangenesses. | Georg Brandl | 2006-05-29 | 4 | -7/+7 | |
| | ||||||
* | Silence a warning. | Armin Rigo | 2006-05-29 | 1 | -1/+1 | |
| | ||||||
* | simplify the struct code a bit (no functional changes) | Bob Ippolito | 2006-05-29 | 1 | -23/+31 | |
| | ||||||
* | Fix #1494787 (pyclbr counts whitespace as superclass name) | Georg Brandl | 2006-05-29 | 1 | -2/+4 | |
| | ||||||
* | Fix compiler warning. | Georg Brandl | 2006-05-29 | 1 | -1/+1 | |
| | ||||||
* | Handle PyMem_Malloc failure in pystrtod.c. Closes #1494671. | Georg Brandl | 2006-05-29 | 1 | -0/+7 | |
| |