Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improved clarity and thoroughness of docstring. | Raymond Hettinger | 2002-11-13 | 1 | -20/+41 |
| | | | | | | | | Added design notes in comments. Used better variable names. Eliminated the unsavory "pool[-k:]" which was an aspiring bug (for k==0). Used if/else to show the two algorithms in parallel style. Added one more test assertion. | ||||
* | Clarify that PyImport_AddModule() and PyImport_ExecCodeModule() don't | Fred Drake | 2002-11-13 | 1 | -3/+7 |
| | | | | | | add any package support structure even if a dotted-name is passed for the module. Closes SF bug #424106. | ||||
* | Normalize whitespace. | Fred Drake | 2002-11-13 | 1 | -61/+62 |
| | | | | Fix a number of markup consistency buglets. | ||||
* | Fix typo in comment. | Fred Drake | 2002-11-13 | 1 | -2/+2 |
| | |||||
* | Update file | Andrew M. Kuchling | 2002-11-13 | 1 | -10/+14 |
| | |||||
* | Docstring typo fix | Andrew M. Kuchling | 2002-11-13 | 1 | -1/+1 |
| | |||||
* | Fill out the 'Porting' section | Andrew M. Kuchling | 2002-11-13 | 1 | -2/+62 |
| | | | | Add random.sample() | ||||
* | The libsocket/libnsl problem is specific to IRIX 4. Confirmed by Tim Rice. | Martin v. Löwis | 2002-11-13 | 2 | -3/+3 |
| | |||||
* | Fix SF # 464405, freeze doesn't like DOS files on Linux | Neal Norwitz | 2002-11-12 | 1 | -2/+2 |
| | | | | Use universal newline support when opening a file for freezing. | ||||
* | Clarified meaning of \w and \W with respect to the UNICODE and LOCALE flags. | Fred Drake | 2002-11-12 | 1 | -5/+5 |
| | | | | Closes SF bug #635595. | ||||
* | SF # 627900, Bytecode copy bug in freeze | Neal Norwitz | 2002-11-12 | 1 | -1/+2 |
| | | | | | Pass co_freevars and co_cellvars to new.code(). Will backport. | ||||
* | Fix SF # 635969, No error "not all arguments converted" | Neal Norwitz | 2002-11-12 | 3 | -2/+12 |
| | | | | | | | | | When mwh added extended slicing, strings and unicode became mappings. Thus, dict was set which prevented an error when doing: newstr = 'format without a percent' % string_value This fix raises an exception again when there are no formats and % with a string value. | ||||
* | Handle the Content-Type header a little more appropriately: if it | Fred Drake | 2002-11-12 | 1 | -0/+3 |
| | | | | | | contains options, drop them to get the major/minor content type. Modified from the supplied patch to support more whitespace variation. Closes SF patch #613605. | ||||
* | SF patch 637176: list.sort crasher | Tim Peters | 2002-11-12 | 5 | -100/+78 |
| | | | | | | | | | | | Armin Rigo's Draconian but effective fix for SF bug 453523: list.sort crasher slightly fiddled to catch more cases of list mutation. The dreaded internal "immutable list type" is gone! OTOH, if you look at a list *while* it's being sorted now, it will appear to be empty. Better than a core dump. | ||||
* | Clarified documentation of tempnam(). | Fred Drake | 2002-11-12 | 1 | -0/+4 |
| | | | | Closes SF bug #635656. | ||||
* | Update text to refer to 2.2.2 | Andrew M. Kuchling | 2002-11-12 | 1 | -5/+5 |
| | | | | | Remove an XXX item: I'm not going to write a section on the email package at this point | ||||
* | Remove extra word | Andrew M. Kuchling | 2002-11-12 | 1 | -3/+3 |
| | |||||
* | SF patch 629637: Add sample(population, k) method to the random module. | Raymond Hettinger | 2002-11-12 | 3 | -2/+78 |
| | | | | Used for random sampling without replacement. | ||||
* | delete reference to building on Minix, which will be unsupported in 2.3 | Skip Montanaro | 2002-11-12 | 1 | -2/+0 |
| | |||||
* | Use PyInt_AsLong instead of PyInt_AS_LONG after the call to | Walter Dörwald | 2002-11-12 | 1 | -1/+1 |
| | | | | | | | PyNumber_Int, because now PyNumber_Int might return a long, and PyInt_AsLong can handle that, whereas PyInt_AS_LONG can't. This closes SF bug #629989. | ||||
* | Don't define _XOPEN_SOURCE and _POSIX_C_SOURCE on FreeBSD 5.0. Fixes #636318. | Martin v. Löwis | 2002-11-12 | 3 | -44/+43 |
| | |||||
* | Forgot a paren in the MSVC + 64-bit + Intel case. | Tim Peters | 2002-11-11 | 1 | -1/+1 |
| | |||||
* | Added a blurb about the change to sys.version under MSVC. | Tim Peters | 2002-11-11 | 1 | -0/+5 |
| | |||||
* | Some help for SF 614770: MSVC 7.0 compiler support | Tim Peters | 2002-11-11 | 1 | -20/+33 |
| | | | | | | | | | | | | | | | This changes sys.version under Microsoft builds to include the MS compiler version number (_MSC_VER). Since VC 6 and VC 7 are apparently incompatible, and both can be installed on a single box, distutils needs some way to figure out which version of MSVC a given Python was compiled under. As also suggested by MvL, got rid of #ifdef'ery for the defunct _M_ALPHA target. Bugfix candidate? Hard to say. As far as I'm concerned, VC 7 wasn't a supported platform in the 2.2 line. If somebody thinks it should be, they can do the work. | ||||
* | Use new-style CHECK_TYPE to avoid modifying confdefs.h. Include sys/types.h | Martin v. Löwis | 2002-11-11 | 3 | -38/+19 |
| | | | | Fixes #636431. | ||||
* | Protect pyconfig.h from multiple inclusions. | Martin v. Löwis | 2002-11-11 | 3 | -1/+16 |
| | |||||
* | Do not define _XOPEN_SOURCE on OpenBSD 2.x and 3.[012]. Fixes #635034 | Martin v. Löwis | 2002-11-11 | 1 | -2/+25 |
| | |||||
* | Don't define _XOPEN_SOURCE on OpenBSD 2.x and 3.[012]. | Martin v. Löwis | 2002-11-11 | 2 | -5/+27 |
| | |||||
* | Check whether we can take the address of chown, link, and symlink. | Martin v. Löwis | 2002-11-11 | 3 | -13/+175 |
| | |||||
* | - Use imp to find appletrawmain.py in stead of hand-crafting the path | Jack Jansen | 2002-11-11 | 1 | -2/+5 |
| | | | | | to it. - Allow for symlinks in the applet template. | ||||
* | - Building IDE is optional on waste being available, similar to building | Jack Jansen | 2002-11-11 | 1 | -21/+28 |
| | | | | | | IDLE (it was a fatal error before) - Shuffled a few things around to facilitate the experimental building of MacPython for Jaguar's pre-installed python. | ||||
* | Make private functions static so we don't pollute the namespace | Neal Norwitz | 2002-11-10 | 2 | -2/+3 |
| | |||||
* | Allow both string and Unicode objects in levels. | Martin v. Löwis | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | Don't try to convert the test filename to Unicode with -U. | Martin v. Löwis | 2002-11-09 | 1 | -1/+6 |
| | |||||
* | Fix typo. | Martin v. Löwis | 2002-11-09 | 1 | -1/+1 |
| | |||||
* | Look in db4 directories when checking for db4. | Martin v. Löwis | 2002-11-09 | 1 | -4/+4 |
| | |||||
* | Search for tix subdirectories. Fixes #564729. Will backport to 2.2. | Martin v. Löwis | 2002-11-09 | 1 | -9/+14 |
| | |||||
* | Restore to ANSI C. | Michael W. Hudson | 2002-11-09 | 1 | -2/+2 |
| | |||||
* | Install the bz2 DLL on Windows. | Tim Peters | 2002-11-09 | 1 | -0/+10 |
| | |||||
* | I already forgot what I changed -- it wasn't important <wink>. | Tim Peters | 2002-11-09 | 1 | -2/+0 |
| | |||||
* | OK -- all tests pass on Windows now. The rest were due to 3 more | Tim Peters | 2002-11-09 | 1 | -22/+5 |
| | | | | binary-vs-text-mode screwups. | ||||
* | More tests run on Windows now. Something is still wrong here, but no | Tim Peters | 2002-11-09 | 1 | -27/+34 |
| | | | | idea what. Added liberal XXX explanations for the next guy. | ||||
* | Many changes to get this to pass on Windows, and to make it easier to | Tim Peters | 2002-11-09 | 1 | -11/+45 |
| | | | | | | | | figure out what the code was doing. The fixes were a combination of closing open files before deletion, opening files in binary mode, and plain skipping things that can't work on Windows (BaseTest.decompress uses a process gimmick that doesn't exist on Windows, and, even if it did, assumes a "bunzip2" executable is on PATH). | ||||
* | Whitespace normalization. | Tim Peters | 2002-11-09 | 7 | -296/+296 |
| | |||||
* | Comment out the test docstrings so we can at least tell which tests are | Tim Peters | 2002-11-09 | 1 | -28/+28 |
| | | | | failing. | ||||
* | Whitespace normalization. | Tim Peters | 2002-11-09 | 7 | -28/+27 |
| | |||||
* | Start building the bz2 module on Windows. | Tim Peters | 2002-11-09 | 4 | -0/+140 |
| | | | | | | | | | | CAUTION: The Python test still has many failures, but I'm out of time for this now (already took much longer than hoped to get this far). The base bz2 library does pass its own tests (see next). CAUTION: People building on Windows have to download and build tne bz2 compression libraries now. See PCbuild\readme.txt for complete instructions. | ||||
* | Open at least one binary file in binary mode. This allows a few of the | Tim Peters | 2002-11-09 | 1 | -1/+1 |
| | | | | bz2 tests to pass on Windows; most are still failing. | ||||
* | bz2_compress/bz2_decompress: more casting away LONG_LONG for | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| | | | | _PyString_Resize calls. | ||||
* | BZ2Decomp_decompress(): Fixed more long vs LONG_LONG confusions. | Tim Peters | 2002-11-09 | 1 | -2/+2 |
| |