Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Another / that should be a // (previously not caught because of | Guido van Rossum | 2001-09-05 | 1 | -1/+1 |
| | | | | incomplete coverage of the test suite). | ||||
* | Add a test for the final branch in repr.Repr.repr1(), which deals with | Guido van Rossum | 2001-09-05 | 1 | -0/+5 |
| | | | | a default repr() that's longer than 20 characters. | ||||
* | Return reasonable results for math.log(long) and math.log10(long) (we were | Tim Peters | 2001-09-05 | 3 | -7/+104 |
| | | | | | | getting Infs, NaNs, or nonsense in 2.1 and before; in yesterday's CVS we were getting OverflowError; but these functions always make good sense for positive arguments, no matter how large). | ||||
* | Mechanical fiddling to make this easier to work with in my editor. | Tim Peters | 2001-09-04 | 1 | -18/+12 |
| | | | | Repaired the ldexp docstring (said the name of the func was "ldexp_doc"). | ||||
* | Added prototypes to shut gcc -Wstrict-prototypes up. | Jack Jansen | 2001-09-04 | 1 | -4/+2 |
| | |||||
* | Shut up a few more gcc warnings. | Jack Jansen | 2001-09-04 | 2 | -2/+2 |
| | |||||
* | Added prototypes to silence gcc strict-prototype warnings. | Jack Jansen | 2001-09-04 | 2 | -141/+48 |
| | | | | Fixed a few missing return values. | ||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 17 | -33/+35 |
| | |||||
* | Don't use a default "int" return type, gcc gives a warning about it. | Jack Jansen | 2001-09-04 | 1 | -1/+1 |
| | |||||
* | Added pythonpath.r to the developer distribution. It's | Jack Jansen | 2001-09-04 | 1 | -4/+12 |
| | | | | | useful to people extending Python. Suggested by Alexandre Parenteau. | ||||
* | At Guido's suggestion, here's a new C API function, PyObject_Dir(), like | Tim Peters | 2001-09-04 | 5 | -138/+167 |
| | | | | __builtin__.dir(). Moved the guts from bltinmodule.c to object.c. | ||||
* | On MacOSX built the toolbox extension modules iff we're building with | Jack Jansen | 2001-09-04 | 1 | -25/+31 |
| | | | | | | --enable-framework. Some modules that are also useful outside a fullblown application are always built. | ||||
* | Template for an OSX PythonInterpreter application. | Jack Jansen | 2001-09-04 | 6 | -0/+66 |
| | |||||
* | Correction: the Borland C port isn't fully operational yet | Andrew M. Kuchling | 2001-09-04 | 1 | -3/+4 |
| | |||||
* | Photoshop sources for icon files. Not pretty, but hey! I'm not an | Jack Jansen | 2001-09-04 | 3 | -0/+0 |
| | | | | artist (and a certain artist didn't jump in, yet). | ||||
* | [Bug #444589] Record empty directories in the install_data command | Andrew M. Kuchling | 2001-09-04 | 1 | -4/+12 |
| | | | | Slightly modified version of patch from Jon Nelson (jnelson). | ||||
* | [Bug #436732] install.py does not record a created *.pth file in the | Andrew M. Kuchling | 2001-09-04 | 1 | -2/+5 |
| | | | | | INSTALLED_FILES output. Modified version of a patch from Jon Nelson (jnelson) | ||||
* | Revert one of the "division fixes" in test_long. It intends to try both | Tim Peters | 2001-09-04 | 1 | -2/+2 |
| | | | | | | "/" and "//", and doesn't really care what they *mean*, just that both are tried (and that, whatever they mean, they act similarly for int and long arguments). | ||||
* | Make pprint more locale-friendly; patch contributed by Denis S. Otkidach. | Fred Drake | 2001-09-04 | 1 | -3/+21 |
| | | | | This closes SF patch #451538. | ||||
* | [Bug #457654] bkgd() used a hard-coded A_NORMAL attribute, when it should | Andrew M. Kuchling | 2001-09-04 | 1 | -1/+1 |
| | | | | have used the attribute argument provided as a parameter | ||||
* | Convert docstring to "raw" string. | Fred Drake | 2001-09-04 | 1 | -13/+13 |
| | |||||
* | The first batch of changes recommended by the fixdiv tool. These are | Guido van Rossum | 2001-09-04 | 19 | -38/+38 |
| | | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended. | ||||
* | Added docstrings by Neal Norwitz. This closes SF bug #450980. | Fred Drake | 2001-09-04 | 5 | -3/+89 |
| | |||||
* | Move call_trace(..., PyTrace_CALL, ...) call to top of eval_frame. That | Neil Schemenauer | 2001-09-04 | 1 | -35/+35 |
| | | | | | way it's called each time a generator is resumed. The tracing of normal functions should be unaffected by this change. | ||||
* | Added docstring by Neal Norwitz. This closes SF bug #450981. | Fred Drake | 2001-09-04 | 1 | -35/+86 |
| | |||||
* | Added docstring by Neal Norwitz. This closes SF bug #450979. | Fred Drake | 2001-09-04 | 1 | -4/+10 |
| | |||||
* | Add more detail to the descriptions of the shutil functions. | Fred Drake | 2001-09-04 | 1 | -4/+9 |
| | | | | This closes SF bug #458223. | ||||
* | Added documentation for sys.maxunicode and sys.warnoptions. | Fred Drake | 2001-09-04 | 1 | -1/+14 |
| | | | | | Fixed a markup error which caused an em dash to be presented as a minus sign. This closes SF bug #458350. | ||||
* | HTMLParser is allowed to be more strict than sgmllib, so let's not | Fred Drake | 2001-09-04 | 2 | -37/+17 |
| | | | | | change their basic behavior: When parsing something that cannot possibly be valid in either HTML or XHTML, raise an exception. | ||||
* | - Reverse the meaning of the -m option: warnings about multiple / | Guido van Rossum | 2001-09-04 | 1 | -35/+85 |
| | | | | | | | | | | | | | | operators per line or statement are now on by default, and -m turns these warnings off. - Change the way multiple / operators are reported; a regular recommendation is always emitted after the warning. - Report ambiguous warnings (both int|long and float|complex used for the same operator). - Update the doc string again to clarify all this and describe the possible messages more precisely. | ||||
* | Suppressing all DeprecationWarning messages was a bit of a problem for | Guido van Rossum | 2001-09-04 | 1 | -3/+3 |
| | | | | | the -Qwarnall option, so I've changed this to only filter out the one warning that's a problem in practice. | ||||
* | Suppress the warning about regex here. | Guido van Rossum | 2001-09-04 | 1 | -0/+4 |
| | |||||
* | Enhanced the test for DOCTYPE declarations, added a test for dealing with | Fred Drake | 2001-09-04 | 1 | -14/+23 |
| | | | | broken declaration-like things. | ||||
* | Added reasonable parsing of the DOCTYPE declaration, fixed edge cases | Fred Drake | 2001-09-04 | 1 | -12/+260 |
| | | | | regarding bare ampersands in content. | ||||
* | On the mac some library paths returned were outdated, some were outright funny. | Jack Jansen | 2001-09-04 | 1 | -5/+3 |
| | | | | Fixed. | ||||
* | Disabled _curses modules on MacOSX. The curses version is a 1994 BSD | Jack Jansen | 2001-09-04 | 1 | -1/+2 |
| | | | | curses, far too old for _cursesmodule.c. | ||||
* | Whitespace normalization. | Tim Peters | 2001-09-04 | 5 | -8/+7 |
| | |||||
* | Fixed a typo and added more tests. | Tim Peters | 2001-09-04 | 1 | -1/+12 |
| | |||||
* | Change long/long true division to return as many good bits as it can; | Tim Peters | 2001-09-04 | 3 | -2/+78 |
| | | | | e.g., (1L << 40000)/(1L << 40001) returns 0.5, not Inf or NaN or whatever. | ||||
* | Move int_true_divide next to the other division routines. | Tim Peters | 2001-09-04 | 1 | -6/+6 |
| | |||||
* | Move long_true_divide next to the other division routines (for clarity!). | Tim Peters | 2001-09-04 | 1 | -6/+6 |
| | |||||
* | Raise OverflowError when appropriate on long->float conversion. Most of | Tim Peters | 2001-09-04 | 5 | -23/+76 |
| | | | | | | | the fiddling is simply due to that no caller of PyLong_AsDouble ever checked for failure (so that's fixing old bugs). PyLong_AsDouble is much faster for big inputs now too, but that's more of a happy consequence than a design goal. | ||||
* | PEP 238 documented -Qwarn as warning only for classic int or long | Guido van Rossum | 2001-09-04 | 4 | -7/+11 |
| | | | | | division, and this makes sense. Add -Qwarnall to warn for all classic divisions, as required by the fixdiv.py tool. | ||||
* | Rename the -D option to -Q, to avoid a Jython option name conflict. | Guido van Rossum | 2001-09-04 | 3 | -13/+13 |
| | |||||
* | Introduce new private API function _PyLong_AsScaledDouble. Not used yet, | Tim Peters | 2001-09-04 | 2 | -0/+61 |
| | | | | | | | | | | but will be the foundation for Good Things: + Speed PyLong_AsDouble. + Give PyLong_AsDouble the ability to detect overflow. + Make true division of long/long nearly as accurate as possible (no spurious infinities or NaNs). + Return non-insane results from math.log and math.log10 when passing a long that can't be approximated by a double better than HUGE_VAL. | ||||
* | builtin_dir(): Treat classic classes like types. Use PyDict_Keys instead | Tim Peters | 2001-09-04 | 3 | -28/+52 |
| | | | | | | | | | | | | | | of PyMapping_Keys because we know we have a real dict. Tolerate that objects may have an attr named "__dict__" that's not a dict (Py_None popped up during testing). test_descr.py, test_dir(): Test the new classic-class behavior; beef up the new-style class test similarly. test_pyclbr.py, checkModule(): dir(C) is no longer a synonym for C.__dict__.keys() when C is a classic class (looks like the same thing that burned distutils! -- should it be *made* a synoym again? Then it would be inconsistent with new-style class behavior.). | ||||
* | Don't use dir() to find instance attribute names. | Neil Schemenauer | 2001-09-03 | 1 | -3/+7 |
| | |||||
* | Fix the names of _PyObject_GC_TRACK and _PyObject_GC_UNTRACK when the GC is | Neil Schemenauer | 2001-09-03 | 1 | -2/+2 |
| | | | | disabled. Obviously everyone enables the GC. :-) | ||||
* | Restore a line deleted by mistake. | Tim Peters | 2001-09-03 | 1 | -0/+2 |
| | |||||
* | New restriction on pow(x, y, z): If z is not None, x and y must be of | Tim Peters | 2001-09-03 | 9 | -49/+79 |
| | | | | | integer types, and y must be >= 0. See discussion at http://sf.net/tracker/index.php?func=detail&aid=457066&group_id=5470&atid=105470 |