Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF 686323: Minor array module enhancements | Raymond Hettinger | 2003-04-24 | 1 | -4/+6 |
| | | | | Allows use of tuples for the initializer. | ||||
* | Revert the previous enhancement to the bytecode optimizer. | Raymond Hettinger | 2003-04-24 | 5 | -97/+9 |
| | | | | The additional code complexity and new NOP opcode were not worth it. | ||||
* | Fix docstring for URLOpener.retrieve() in regards to opening a local file | Brett Cannon | 2003-04-24 | 1 | -1/+1 |
| | |||||
* | Fixed docs for urlretrieve() to match code in the case of opening a local file. | Brett Cannon | 2003-04-24 | 1 | -13/+13 |
| | | | | Also some typos and removed trailing whitespace on the lines. | ||||
* | fix some markup errors | Fred Drake | 2003-04-23 | 1 | -2/+2 |
| | |||||
* | clarify - restrict version mention to the trunk version | Skip Montanaro | 2003-04-23 | 1 | -6/+6 |
| | |||||
* | added note about character set limitations in passwords. | Skip Montanaro | 2003-04-23 | 1 | -0/+7 |
| | |||||
* | Document the new functions PyInt_AsUnsignedLongMask(), ↵ | Thomas Heller | 2003-04-23 | 1 | -0/+26 |
| | | | | | | PyInt_AsUnsignedLongLongMask(), PyLong_AsUnsignedLongMask(), PyLong_AsUnsignedLongLongMask(). | ||||
* | Max OS X returns "*" as the password in grp.getgrall() | Walter Dörwald | 2003-04-23 | 1 | -22/+37 |
| | | | | | and "" in grep.getgrgid(). Adjust the test to work around this problem. This should fix SF bug #724771. | ||||
* | Clarified new fsync() docs. | Tim Peters | 2003-04-23 | 1 | -4/+5 |
| | |||||
* | Mention the new getargs.c format codes. | Thomas Heller | 2003-04-23 | 1 | -0/+3 |
| | |||||
* | Document the new format codes B, H, I, k, K. | Thomas Heller | 2003-04-23 | 1 | -0/+22 |
| | |||||
* | SF patch 557704: netrc module can't handle all passwords | Raymond Hettinger | 2003-04-23 | 1 | -0/+2 |
| | | | | | | | | | Revised netrc.py to include the additional ascii punctuation characters. Omitted the other logic changes. See Lib/netrc.py 1.17. Since this is more of a feature request than a bug, including in Py2.3 but not recommending for backporting. | ||||
* | SF 557704: netrc module can't handle all passwords | Raymond Hettinger | 2003-04-23 | 1 | -2/+1 |
| | | | | | | Expanded the range of allowable characters to include ascii punctuation. Allows resource files to have a larger character set for passwords. (Idea contributed by Bram Moolenaar.) | ||||
* | SF Patch 685051: fix for 680789: reprs in arraymodule | Raymond Hettinger | 2003-04-23 | 1 | -30/+15 |
| | | | | | | | | | | | | | (contributed by logistix; substantially reworked by rhettinger). To create a representation of non-string arrays, array_repr() was starting with a base Python string object and repeatedly using += to concatenate the representation of individual objects. Logistix had the idea to convert to an intermediate tuple form and then join it all at once. I took advantage of existing tools and formed a list with array_tolist() and got its representation through PyObject_Repr(v) which already has a fast implementation for lists. | ||||
* | Update the package list whenever we build distfiles. | Fred Drake | 2003-04-23 | 2 | -0/+2 |
| | | | | This is used on www.python.org. | ||||
* | some more error-message enhancements | Alex Martelli | 2003-04-23 | 1 | -10/+10 |
| | |||||
* | Fix SF bug #723801, logging.setLoggerClass() doesn't support new-style classes | Neal Norwitz | 2003-04-23 | 1 | -2/+0 |
| | |||||
* | complete and clarify some error messages for range() | Alex Martelli | 2003-04-23 | 1 | -5/+5 |
| | |||||
* | Improve the message about metatype/metaclass conflicts. | Guido van Rossum | 2003-04-23 | 1 | -1/+4 |
| | |||||
* | SF patch #725904, Minor changes to logging from module author (Vinay Sajip) | Neal Norwitz | 2003-04-23 | 2 | -16/+31 |
| | | | | - upgrade to version 0.4.8 | ||||
* | Enable os.fsync() for Windows, mapping it to MS's _commit() there. The | Tim Peters | 2003-04-23 | 3 | -18/+29 |
| | | | | | | docs here are best-guess: the MS docs I could find weren't clear, and some even claimed _commit() has no effect on Win32 systems (which is easily shown to be false just by trying it). | ||||
* | PyObject_IsTrue() can return an error condition. | Raymond Hettinger | 2003-04-23 | 1 | -1/+4 |
| | | | | Adding code to handle it properly. | ||||
* | Add comment on performance. | Raymond Hettinger | 2003-04-23 | 1 | -3/+21 |
| | | | | | Fix missing right parenthesis. Add three examples. | ||||
* | Update to the new PyGILState APIs to simplify and correct thread-state | Mark Hammond | 2003-04-22 | 1 | -2/+15 |
| | | | | | management. Old code still #ifdef'd out - I may remove this in a sec, but for now, let's get it in and things passing the tests again! | ||||
* | Fix by Lars Gustaebel for bug 721871: don't get upset if the prefix | Jack Jansen | 2003-04-22 | 1 | -9/+4 |
| | | | | field contains garbage after the first NUL character. | ||||
* | markup corrections | Fred Drake | 2003-04-22 | 1 | -16/+16 |
| | |||||
* | Do a little more searching for the data file for the test: this allows | Fred Drake | 2003-04-22 | 1 | -1/+12 |
| | | | | | | using a build directory just inside the source directory and saving just one copy of the test data in the source tree, rather than having a copy in each build directory. | ||||
* | Made MAX_UNTIL/MIN_UNTIL code more coherent about mark protection, | Gustavo Niemeyer | 2003-04-22 | 1 | -4/+6 |
| | | | | accordingly to further discussions with Greg Chapman in patch #712900. | ||||
* | Only produce a dotted module name when writing output to a separate | Jeremy Hylton | 2003-04-22 | 1 | -2/+3 |
| | | | | directory. | ||||
* | - explain the start argument to sum() | Fred Drake | 2003-04-22 | 1 | -5/+6 |
| | | | | - various adjustments to sum() markup and explanation | ||||
* | If not icon file is specified use the default Python Applet icons. | Jack Jansen | 2003-04-22 | 1 | -0/+4 |
| | | | | Fixes 719303. | ||||
* | Fix some markup nits. | Fred Drake | 2003-04-22 | 1 | -3/+5 |
| | |||||
* | Only return a warning message about not all files being unpacked if there | Jack Jansen | 2003-04-22 | 1 | -1/+2 |
| | | | | were indeed files that weren't unpacked. | ||||
* | Allow setting the auto dispose flag on window objects. | Jack Jansen | 2003-04-22 | 2 | -3/+42 |
| | |||||
* | Hiding packages was done incorrectly. Fixed. | Jack Jansen | 2003-04-22 | 1 | -9/+16 |
| | |||||
* | PyGILState cleanup was too early - destructors called via module cleanup may ↵ | Mark Hammond | 2003-04-22 | 1 | -5/+5 |
| | | | | use the API. | ||||
* | Change test_pwd and test_grp so they can handle duplicate user | Walter Dörwald | 2003-04-22 | 2 | -3/+7 |
| | | | | and group names. This should fix SF bug #724771. | ||||
* | fixed a potential refcount bug (thanks Raymond!). | Alex Martelli | 2003-04-22 | 1 | -1/+1 |
| | |||||
* | Adding new built-in function sum, with docs and tests. | Alex Martelli | 2003-04-22 | 5 | -1/+98 |
| | |||||
* | Improved the bytecode optimizer. | Raymond Hettinger | 2003-04-22 | 5 | -9/+97 |
| | | | | | | | | | | | | | | * Can now test for basic blocks. * Optimize inverted comparisions. * Optimize unary_not followed by a conditional jump. * Added a new opcode, NOP, to keep code size constant. * Applied NOP to previous transformations where appropriate. Note, the NOP would not be necessary if other functions were added to re-target jump addresses and update the co_lnotab mapping. That would yield slightly faster and cleaner bytecode at the expense of optimizer simplicity and of keeping it decoupled from the line-numbering structure. | ||||
* | minor cleanups and whitespace normalisation | Andrew MacIntyre | 2003-04-22 | 4 | -81/+82 |
| | |||||
* | Get test_capi & test_getargs2 to pass on alphas | Neal Norwitz | 2003-04-22 | 1 | -6/+19 |
| | | | | | | * UINT_MAX -> ULONG_MAX since we are dealing with longs * ParseTuple needs &int for 'i' and &long for 'l' There may be a better way to do this, but this works. | ||||
* | Add helper function to get module name taking packages into account. | Jeremy Hylton | 2003-04-21 | 1 | -1/+22 |
| | |||||
* | Holistic refactoring. | Jeremy Hylton | 2003-04-21 | 1 | -225/+159 |
| | | | | | | | | | | | | | | | | | Remove "." in coverage output for lines with comments. Silence complaints in coverage output about unexecuted docstrings. Eliminate use of inspect module in favor of direct access to frame and code objects. We're in a trace function here: Efficiency counts! Remove unused code. Reflow long lines. Remove backwards compatibility for stored trace output from Zooko's experiment to add calledfuncs to the pickled dict. Move code to generate per-file coverage stats to a separate routine. Replace use of parser module with call to compile. | ||||
* | Add a useful docstring to enumerate. | Jeremy Hylton | 2003-04-21 | 1 | -1/+6 |
| | |||||
* | Makefile & config.c: | Andrew MacIntyre | 2003-04-21 | 3 | -273/+317 |
| | | | | | | | | | | - restructure build for modules now in Python DLL README.os2emx - clean out old cruft no longer appropriate now that EMX port builds from CVS - reflect move of modules into core DLL - add section on building from source | ||||
* | Makefile: | Andrew MacIntyre | 2003-04-21 | 3 | -133/+153 |
| | | | | | | | | | | | - add _csv module to the build list - various cleanups config.c: - various cleanups pyconfig.h: - various cleanups | ||||
* | apply Mark Hammond's PEP 311 changes to the EMX ripoff of the Windows | Andrew MacIntyre | 2003-04-21 | 1 | -51/+6 |
| | | | | popen[234]() code | ||||
* | - DosSetExtLIBPATH objects to a NULL pointer, but a pointer to a NULL | Andrew MacIntyre | 2003-04-21 | 1 | -7/+1 |
| | | | | | | | string does what is expected (ie unset [BEGIN|END]LIBPATH) - set the size of the DosQuerySysInfo buffer correctly; it was safe, but incorrect (allowing a 1 element overrun) |