Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization. | Tim Peters | 2006-08-25 | 3 | -5/+5 |
| | |||||
* | The regular expression engine in '_sre' can segfault when interpreting | Armin Rigo | 2006-08-25 | 1 | -0/+47 |
| | | | | | bogus bytecode. It is unclear whether this is a real bug or a "won't fix" case like bogus_code_obj.py. | ||||
* | Build _ctypes.pyd for win AMD64 into the MSVC project file. | Thomas Heller | 2006-08-25 | 2 | -1/+54 |
| | | | | | | Since MSVC doesn't know about .asm files, a helper batch file is needed to find ml64.exe in predefined locations. The helper script hardcodes the path to the MS Platform SDK. | ||||
* | Add missing file for _ctypes.pyd port to win64 on AMD64. | Thomas Heller | 2006-08-25 | 1 | -0/+156 |
| | |||||
* | Port _ctypes.pyd to win64 on AMD64. | Thomas Heller | 2006-08-25 | 10 | -43/+173 |
| | |||||
* | importing types is not necessary if we use isinstance | Neal Norwitz | 2006-08-25 | 1 | -2/+2 |
| | |||||
* | Patch #1545507: Exclude ctypes package in Win64 MSI file. | Martin v. Löwis | 2006-08-25 | 1 | -0/+8 |
| | | | | Will backport to 2.5. | ||||
* | Fix SF bug #1545837: array.array borks on deepcopy. | Thomas Wouters | 2006-08-24 | 3 | -1/+9 |
| | | | | | array.__deepcopy__() needs to take an argument, even if it doesn't actually use it. Will backport to 2.5 and 2.4 (if applicable.) | ||||
* | Reverting the patch that tried to fix the issue whereby x**2 raises | Alex Martelli | 2006-08-23 | 2 | -17/+4 |
| | | | | | | | OverflowError while x*x succeeds and produces infinity; apparently these inconsistencies cannot be fixed across ``all'' platforms and there's a widespread feeling that therefore ``every'' platform should keep suffering forevermore. Ah well. | ||||
* | Replace dead code with an assert. | Jeremy Hylton | 2006-08-23 | 1 | -4/+1 |
| | | | | | Now that COMMENT tokens are reliably followed by NL or NEWLINE, there is never a need to add extra newlines in untokenize. | ||||
* | Bug fixes large and small for tokenize. | Jeremy Hylton | 2006-08-23 | 3 | -66/+193 |
| | | | | | | | | | | | | | | | | | | | | Small: Always generate a NL or NEWLINE token following a COMMENT token. The old code did not generate an NL token if the comment was on a line by itself. Large: The output of untokenize() will now match the input exactly if it is passed the full token sequence. The old, crufty output is still generated if a limited input sequence is provided, where limited means that it does not include position information for tokens. Remaining bug: There is no CONTINUATION token (\) so there is no way for untokenize() to handle such code. Also, expanded the number of doctests in hopes of eventually removing the old-style tests that compare against a golden file. Bug fix candidate for Python 2.5.1. (Sigh.) | ||||
* | x**2 should about equal x*x (including for a float x such that the result is | Alex Martelli | 2006-08-23 | 2 | -4/+17 |
| | | | | | | inf) but didn't; added a test to test_float to verify that, and ignored the ERANGE value for errno in the pow operation to make the new test pass (with help from Marilyn Davis at the Google Python Sprint -- thanks!). | ||||
* | Baby steps towards better tests for tokenize | Jeremy Hylton | 2006-08-23 | 1 | -3/+46 |
| | |||||
* | Move functional howto into trunk | Andrew M. Kuchling | 2006-08-22 | 1 | -0/+1279 |
| | |||||
* | Expose column offset information in parse trees. | Jeremy Hylton | 2006-08-22 | 2 | -15/+68 |
| | |||||
* | Alexander Belopolsky pointed out that pos is a size_t | Neal Norwitz | 2006-08-22 | 1 | -1/+1 |
| | |||||
* | patch for documentation for recent uuid changes (from ping) | Anthony Baxter | 2006-08-22 | 1 | -15/+15 |
| | |||||
* | Try to get the windows bots working again with the new peephole.c | Neal Norwitz | 2006-08-21 | 1 | -0/+3 |
| | |||||
* | Patch #1541585: fix buffer overrun when performing repr() on | Neal Norwitz | 2006-08-21 | 3 | -12/+34 |
| | | | | | | a unicode string in a build with wide unicode (UCS-4) support. This code could be improved, so add an XXX comment. | ||||
* | Handle a few more error conditions. | Neal Norwitz | 2006-08-21 | 1 | -0/+5 |
| | | | | Klocwork 301 and 302. Will backport. | ||||
* | Patch #1542451: disallow continue anywhere under a finally | Neal Norwitz | 2006-08-21 | 3 | -4/+98 |
| | | | | | | I'm undecided if this should be backported to 2.5 or 2.5.1. Armin suggested to wait (I'm of the same opinion). Thomas W thinks it's fine to go in 2.5. | ||||
* | Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev | Neal Norwitz | 2006-08-21 | 2 | -2/+2 |
| | |||||
* | Add assert to make Klocwork happy (#276) | Neal Norwitz | 2006-08-21 | 1 | -0/+1 |
| | |||||
* | Fix bug #1543303, tarfile adds padding that breaks gunzip. | Neal Norwitz | 2006-08-21 | 2 | -3/+21 |
| | | | | | | Patch # 1543897. Will backport to 2.5 | ||||
* | Move peephole optimizer to separate file. (Forgot .h in previous checkin.) | Jeremy Hylton | 2006-08-21 | 1 | -0/+3 |
| | |||||
* | Move peephole optimizer to separate file. | Jeremy Hylton | 2006-08-21 | 3 | -608/+617 |
| | |||||
* | Patch #1542948: fix urllib2 header casing issue. With new test. | Georg Brandl | 2006-08-20 | 3 | -22/+87 |
| | |||||
* | Handle PyString_FromInternedString() failing (unlikely, but possible). | Neal Norwitz | 2006-08-19 | 1 | -9/+8 |
| | | | | | | Klocwork #325 (I'm not backporting this, but if someone wants to, feel free.) | ||||
* | Move initialization to after the asserts for non-NULL values. | Neal Norwitz | 2006-08-19 | 1 | -2/+4 |
| | | | | | | Klocwork 286-287. (I'm not backporting this, but if someone wants to, feel free.) | ||||
* | SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro | Neal Norwitz | 2006-08-19 | 2 | -5/+4 |
| | |||||
* | Move assert to after NULL check, otherwise we deref NULL in the assert. | Neal Norwitz | 2006-08-19 | 1 | -1/+1 |
| | | | | Klocwork #307 | ||||
* | Move initialization of interned strings to before allocating the | Neal Norwitz | 2006-08-19 | 1 | -11/+15 |
| | | | | | | object so we don't leak op. (Fixes an earlier patch to this code) Klockwork #350 | ||||
* | Add asserts to check for 'impossible' NULL values, with comments. | Thomas Heller | 2006-08-18 | 1 | -0/+16 |
| | | | | | | | | In one place where I'n not 1000% sure about the non-NULL, raise a RuntimeError for safety. This should fix the klocwork issues that Neal sent me. If so, it should be applied to the release25-maint branch also. | ||||
* | Minor edits | Andrew M. Kuchling | 2006-08-18 | 2 | -3/+3 |
| | |||||
* | Typo in tp_clear docs. | Georg Brandl | 2006-08-18 | 1 | -1/+1 |
| | |||||
* | RPM specfile updates | Anthony Baxter | 2006-08-18 | 1 | -3/+3 |
| | |||||
* | Updating IDLE's version number to match Python's (as per python-dev | Anthony Baxter | 2006-08-18 | 2 | -1/+10 |
| | | | | discussion). | ||||
* | Bug #1541682: Fix example in the "Refcount details" API docs. | Georg Brandl | 2006-08-18 | 4 | -22/+24 |
| | | | | | Additionally, remove a faulty example showing PySequence_SetItem applied to a newly created list object and add notes that this isn't a good idea. | ||||
* | More version wibble | Neal Norwitz | 2006-08-18 | 1 | -1/+1 |
| | |||||
* | Set version to 2.6a0, seems more consistent. | Neal Norwitz | 2006-08-18 | 1 | -1/+1 |
| | |||||
* | Try to get Unix bots install working again. | Neal Norwitz | 2006-08-18 | 2 | -12/+12 |
| | |||||
* | Try to get Windows bots working again. Take 2 | Neal Norwitz | 2006-08-18 | 2 | -14/+14 |
| | |||||
* | Try to get Windows bots working again | Neal Norwitz | 2006-08-18 | 1 | -2/+2 |
| | |||||
* | More post-release wibble | Neal Norwitz | 2006-08-18 | 2 | -5/+5 |
| | |||||
* | Add template for 2.6 on HEAD | Neal Norwitz | 2006-08-18 | 1 | -2/+31 |
| | |||||
* | Bug #1541863: uuid.uuid1 failed to generate unique identifiers | Martin v. Löwis | 2006-08-18 | 3 | -3/+14 |
| | | | | on systems with low clock resolution. | ||||
* | Merge 51340 and 51341 from 2.5 branch: | Martin v. Löwis | 2006-08-17 | 2 | -4/+8 |
| | | | | | Leave tk build directory to restore original path. Invoke debug mk1mf.pl after running Configure. | ||||
* | Fix a bug in the ``compiler`` package that caused invalid code to be | Neil Schemenauer | 2006-08-16 | 5 | -9/+26 |
| | | | | generated for generator expressions. | ||||
* | File menu hotkeys: there were three 'p' assignments. Reassign the | Kurt B. Kaiser | 2006-08-16 | 3 | -3/+7 |
| | | | | | | | | | 'Save Copy As' and 'Print' hotkeys to 'y' and 't'. Change the Shell menu hotkey from 's' to 'l'. M Bindings.py M PyShell.py M NEWS.txt | ||||
* | Tutorial: | Thomas Heller | 2006-08-16 | 1 | -29/+48 |
| | | | | | | | | | | | | | Clarify somewhat how parameters are passed to functions (especially explain what integer means). Correct the table - Python integers and longs can both be used. Further clarification to the table comparing ctypes types, Python types, and C types. Reference: Replace integer by C ``int`` where it makes sense. |