Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | String tests should test 8-bit strings :-) | Marc-André Lemburg | 2002-12-30 | 1 | -1/+1 |
| | |||||
* | Last checkin was missing the tuple comma. | Raymond Hettinger | 2002-12-30 | 1 | -1/+1 |
| | | | | The new "substr in str" feature masked the error. | ||||
* | Restore the test of the random module after including "Random" in the | Raymond Hettinger | 2002-12-30 | 1 | -1/+1 |
| | | | | | | | | ignore tuple. The line, "from _random import Random as CoreGenerator", fools the test code which expects CoreGenerator.__name__ to be "CoreGenerator" instead of "Random". | ||||
* | Minor grammar fix, and clarification | Andrew M. Kuchling | 2002-12-30 | 1 | -2/+2 |
| | |||||
* | Mark up more text | Andrew M. Kuchling | 2002-12-30 | 1 | -117/+148 |
| | |||||
* | Untabify. | Greg Ward | 2002-12-30 | 1 | -106/+106 |
| | |||||
* | Whitespace fixes to conform to coding standards. | Greg Ward | 2002-12-30 | 1 | -18/+18 |
| | |||||
* | Temporarily comment out a test that crashes upon the introduction of | Raymond Hettinger | 2002-12-30 | 1 | -1/+1 |
| | | | | the _random subclass for Random. | ||||
* | Comment fix. | Greg Ward | 2002-12-30 | 1 | -9/+2 |
| | |||||
* | Rename some mixer methods: | Greg Ward | 2002-12-30 | 1 | -16/+16 |
| | | | | | | | | | | | | | * channels() -> devices() * stereochannels() -> stereodevices() * recchannels() -> recdevices() * getvol() -> get() * setvol() -> set() This is for (slightly) more consistency with the OSS ioctl names (READ_DEVMASK, READ_RECMASK, READ_STEREODEVS). Also make sure the C function names correspond more closely to the Python method names for mixer methods. | ||||
* | Remove 'x_' prefix from oss_t and oss_mixer_t struct members. | Greg Ward | 2002-12-30 | 1 | -57/+58 |
| | | | | | | (It added nothing, and served no obvious purpose.) Export SOUND_MIXER_NRDEVICES constant. | ||||
* | This test depends on the exact ordering produced by the WichmannHill | Raymond Hettinger | 2002-12-30 | 1 | -3/+3 |
| | | | | | random number generator. Altered it a bit to use the old generator and restore the test. | ||||
* | Revert the last change. Tim was faster and chose a different route. | Raymond Hettinger | 2002-12-30 | 1 | -2/+0 |
| | |||||
* | Document the _randommodule project for the Windows build. | Raymond Hettinger | 2002-12-30 | 1 | -0/+2 |
| | |||||
* | Taught the Windows build about _randommodule.c. This is compiled | Tim Peters | 2002-12-29 | 2 | -0/+6 |
| | | | | | into the core DLL, since it's not much code and lots of stuff uses it (e.g., try getting a tempfile name without it). | ||||
* | A start at non-trivial (== DST-aware) tests of timezone conversion. | Tim Peters | 2002-12-29 | 1 | -0/+152 |
| | | | | | | | Guido has in mind an easier way for users to code this stuff, but the only tests we have now are for fixed-offset tzinfo classes, and this stuff is extremely delicate in the endcases (read the new test code for why: there are holes in time <wink>). | ||||
* | SF patch 658251: Install a C implementation of the Mersenne Twister as the | Raymond Hettinger | 2002-12-29 | 6 | -322/+983 |
| | | | | core generator for random.py. | ||||
* | Remove some old debugging print statements. | Kurt B. Kaiser | 2002-12-29 | 1 | -10/+0 |
| | |||||
* | M EditorWindow.py | Kurt B. Kaiser | 2002-12-29 | 2 | -16/+20 |
| | | | | | | | | | | | | | | | M PyShell.py 1. PyShell Rev 1.39, EditorWindow Rev 1.37 fix was not handling a multiline prompt. 2. The same fix introduced a bug where hitting <enter> at a previous prompt-only line would copy the prompt to the iomark. 3. Move the setting of sys.ps1 earlier, into PyShell.main(), to allow this code to work before a shell is started up. 4. If cursor is on the input line in the prompt, and you hit <enter>, process the line instead of complaining. 5. If line has no stdin range (this includes the last line before shell restart) strip any prompt before recalling. | ||||
* | Add newsitem for the two new unittest methods. | Raymond Hettinger | 2002-12-29 | 1 | -15/+21 |
| | | | | Also, made some whitespace cleanup. | ||||
* | Patch for bug #659709: bogus computation of float length | Marc-André Lemburg | 2002-12-29 | 4 | -16/+88 |
| | | | | | Python 2.2.x backport candidate. (This bug has been around since Python 1.6.) | ||||
* | Make error message more specific for min() and max(). | Raymond Hettinger | 2002-12-29 | 1 | -1/+1 |
| | | | | Suggested by MvL. | ||||
* | Incorporate Skip's suggestion to use SciPy's validation test near | Raymond Hettinger | 2002-12-29 | 2 | -0/+52 |
| | | | | | | equality. Note, there is another flavor that compares to a given number of significant digits rather than decimal places. If there is a demand, that could be added at a later date. | ||||
* | Demonstrate use of PyType_Ready() in the example. | Raymond Hettinger | 2002-12-29 | 1 | -3/+5 |
| | |||||
* | Bug #599248: strip directories when building Python. Out-of-tree builds ↵ | Andrew M. Kuchling | 2002-12-29 | 1 | -2/+5 |
| | | | | should work again. | ||||
* | Suppress unsafe *Cookie class warnings | Andrew M. Kuchling | 2002-12-29 | 1 | -0/+5 |
| | |||||
* | Patch #655760: add warnings when the unsafe *Cookie classes are instantiated | Andrew M. Kuchling | 2002-12-29 | 1 | -1/+11 |
| | |||||
* | SF patch #659536: Use PyArg_UnpackTuple where possible. | Raymond Hettinger | 2002-12-29 | 11 | -41/+41 |
| | | | | | | | Obtain cleaner coding and a system wide performance boost by using the fast, pre-parsed PyArg_Unpack function instead of PyArg_ParseTuple function which is driven by a format string. | ||||
* | SF Bug 645777: list.extend() works with any iterable and is no longer | Raymond Hettinger | 2002-12-29 | 2 | -4/+2 |
| | | | | experimental. | ||||
* | Apparently FreeBSD enables some HW floating-point exceptions by default. | Tim Peters | 2002-12-28 | 3 | -5/+26 |
| | | | | | | | This can cause core dumps when Python runs. Python relies on the 754- (and C99-) mandated default "non-stop" mode for FP exceptions. This patch from Ben Laurie disables at least one FP exception on FreeBSD at Python startup time. | ||||
* | Gracefully delay runtime error up to 1s. Add .willdispatch(). | Martin v. Löwis | 2002-12-28 | 2 | -12/+32 |
| | |||||
* | astimezone(): document that None is an OK argument. | Tim Peters | 2002-12-27 | 1 | -4/+5 |
| | |||||
* | Added a useful warning to the documentation. | Eric S. Raymond | 2002-12-27 | 1 | -2/+4 |
| | |||||
* | Document killpg. | Martin v. Löwis | 2002-12-27 | 1 | -0/+8 |
| | |||||
* | Patch #657889: Implement posix.getloadavg. | Martin v. Löwis | 2002-12-27 | 5 | -5/+44 |
| | |||||
* | And put back a little code duplication, in the form of asserts. | Tim Peters | 2002-12-27 | 1 | -0/+3 |
| | |||||
* | Squash recently-introduced code duplication. | Tim Peters | 2002-12-27 | 1 | -66/+37 |
| | |||||
* | Make comparison and subtraction of aware objects ignore tzinfo if the | Tim Peters | 2002-12-27 | 3 | -58/+179 |
| | | | | | | operands have identical tzinfo members (meaning object identity -- "is"). I misunderstood the intent here, reading wrong conclusion into conflicting clues. | ||||
* | Changed the input field for the interpreter to use (in the preferences | Jack Jansen | 2002-12-26 | 9 | -10/+52 |
| | | | | window) to a combobox listing the known interpreters. | ||||
* | macfsn is gone. | Jack Jansen | 2002-12-26 | 1 | -1/+1 |
| | |||||
* | Integrated macfsn into macfs, and made the Standard File calls return the | Jack Jansen | 2002-12-26 | 2 | -169/+140 |
| | | | | correct FSSpec implementations. | ||||
* | Return the macfs variation for FSSpec and Alias, not the underlying | Jack Jansen | 2002-12-26 | 1 | -3/+5 |
| | | | | Carbon.File version, so the old method names work. | ||||
* | Second-argument alias methods were generated with a variation on | Jack Jansen | 2002-12-26 | 2 | -53/+53 |
| | | | | MethodGenerator, this should be OSErrMethodGenerator. | ||||
* | Add XXX about Winsock error values | Guido van Rossum | 2002-12-26 | 1 | -0/+1 |
| | |||||
* | Also skip testHostnameRes() if gethostbyaddr() raises an exception. | Guido van Rossum | 2002-12-26 | 1 | -1/+5 |
| | |||||
* | Skip testHostnameRes() if gethostbyname() raises an exception. | Guido van Rossum | 2002-12-26 | 1 | -1/+5 |
| | |||||
* | Fix julian day problem with strptime. Note: XXX about using 0, suggestions? | Neal Norwitz | 2002-12-26 | 2 | -1/+15 |
| | |||||
* | Added tests to ensure that timetz comparison, and datetimetz | Tim Peters | 2002-12-26 | 1 | -9/+67 |
| | | | | | | | | | | | subtraction, work as documented. In the Python implementation, they weren't calling utcoffset() if both operands had the same tzinfo object. That's fine if it so happens that the shared tzinfo object returns a fixed offset (independent of operand), but can give wrong results if that's not so, and the latter obtains in a tzinfo subclass instance trying to model both standard and daylight times. The C implementation was already doing this "correctly", so we're just adding tests to verify it. | ||||
* | Backing out patch #642578 in anticipation of final acceptance of PEP 302. | Just van Rossum | 2002-12-25 | 3 | -168/+0 |
| | |||||
* | If you entered a pathname for a nonexisting file to a FSSpec constructor | Jack Jansen | 2002-12-25 | 2 | -0/+4 |
| | | | | | on OSX then the actual error (file not found) was obscured by the error message that tried to be helpful about the allowed arguments. Fixed. |