Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Fix segfault with invalid coding. | Neal Norwitz | 2005-10-02 | 1 | -1/+4 |
| | | | | | | | - SF Bug #772896, unknown encoding results in MemoryError, which is not helpful I will only backport the segfault fix. I'll let Anthony decide if he wants the other changes backported. I will do the backport if asked. | ||||
* | Apply SF patch #1101726: Fix buffer overrun in tokenizer.c when a source file | Walter Dörwald | 2005-07-12 | 1 | -27/+45 |
| | | | | with a PEP 263 encoding declaration results in long decoded line. | ||||
* | Patch #802188: better parser error message for non-EOL following line cont. | Martin v. Löwis | 2005-03-03 | 1 | -1/+1 |
| | |||||
* | SF #941229: Decode source code with sys.stdin.encoding in interactive | Hye-Shik Chang | 2004-08-04 | 1 | -0/+61 |
| | | | | | | | modes like non-interactive modes. This allows for non-latin-1 users to write unicode strings directly and sets Japanese users free from weird manual escaping <wink> in shift_jis environments. (Reviewed by Martin v. Loewis) | ||||
* | PEP-0318, @decorator-style. In Guido's words: | Anthony Baxter | 2004-08-02 | 1 | -0/+2 |
| | | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728. | ||||
* | Getting rid of all the code inside #ifdef macintosh too. | Jack Jansen | 2003-11-20 | 1 | -11/+0 |
| | |||||
* | Add URL for PEP to the source code encoding warning. | Marc-André Lemburg | 2003-02-17 | 1 | -6/+12 |
| | | | | | | Remove the usage of PyErr_WarnExplicit() since this could cause sensitive information from the source files to appear in e.g. log files. | ||||
* | patch 680474 that fixes bug 679880: compile/eval/exec refused utf-8 bom | Just van Rossum | 2003-02-09 | 1 | -2/+2 |
| | | | | mark. Added unit test. | ||||
* | Fix [ 665014 ] files with long lines and an encoding crash. | Mark Hammond | 2003-01-14 | 1 | -1/+2 |
| | | | | | Ensure that the 'size' arg is correctly passed to the encoding reader to prevent buffer overflows. | ||||
* | Constify filenames and scripts. Fixes #651362. | Martin v. Löwis | 2002-12-11 | 1 | -3/+5 |
| | |||||
* | Fix compiler warning on HP-UX. | Neal Norwitz | 2002-11-02 | 1 | -2/+2 |
| | | | | Cast param to isalnum() to int. | ||||
* | Patch #512981: Update readline input stream on sys.stdin/out change. | Martin v. Löwis | 2002-10-26 | 1 | -2/+2 |
| | |||||
* | Removed reliance on gcc/C99 extension. | Tim Peters | 2002-09-03 | 1 | -1/+3 |
| | |||||
* | Ignore encoding declarations inside strings. Fixes #603509. | Martin v. Löwis | 2002-09-03 | 1 | -1/+16 |
| | |||||
* | Squash a few calls to the hideously expensive PyObject_CallObject(o,a) | Guido van Rossum | 2002-08-16 | 1 | -3/+14 |
| | | | | | | | -- replace then with slightly faster PyObject_Call(o,a,NULL). (The difference is that the latter requires a to be a tuple; the former allows other values and wraps them in a tuple if necessary; it involves two more levels of C function calls to accomplish all that.) | ||||
* | provide less mysterious error messages when seeing end-of-line in | Skip Montanaro | 2002-08-15 | 1 | -3/+6 |
| | | | | | single-quoted strings or end-of-file in triple-quoted strings. closes patch 586561. | ||||
* | Use Py_FatalError instead of abort. | Martin v. Löwis | 2002-08-07 | 1 | -2/+3 |
| | |||||
* | Fix PEP 263 code --without-unicode. Fixes #591943. | Martin v. Löwis | 2002-08-07 | 1 | -0/+18 |
| | |||||
* | Added a cast to shut up a compiler warning. | Jack Jansen | 2002-08-05 | 1 | -1/+1 |
| | |||||
* | Add 1 to lineno in deprecation warning. Fixes #590888. | Martin v. Löwis | 2002-08-05 | 1 | -1/+3 |
| | |||||
* | Make pgen compile with pydebug. Duplicate normalized names, as it may | Martin v. Löwis | 2002-08-04 | 1 | -2/+6 |
| | | | | be longer than the old string. | ||||
* | Group statements properly. | Martin v. Löwis | 2002-08-04 | 1 | -6/+12 |
| | |||||
* | Repaired a fatal compiler error in the debug build: it's not clear what | Tim Peters | 2002-08-04 | 1 | -1/+1 |
| | | | | this was trying to assert, but the name it referenced didn't exist. | ||||
* | Squash compiler wng about signed-vs-unsigned mismatch. | Tim Peters | 2002-08-04 | 1 | -1/+1 |
| | |||||
* | Patch #534304: Implement phase 1 of PEP 263. | Martin v. Löwis | 2002-08-04 | 1 | -8/+440 |
| | |||||
* | Mass checkin of universal newline support. | Jack Jansen | 2002-04-14 | 1 | -4/+5 |
| | | | | | | | | Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details. | ||||
* | SF patch #455966: Allow leading 0 in float/imag literals. | Tim Peters | 2001-08-30 | 1 | -3/+22 |
| | | | | Consequences for Jython still unknown (but raised on Jython-Dev). | ||||
* | SF bug [#455775] float parsing discrepancy. | Tim Peters | 2001-08-27 | 1 | -5/+8 |
| | | | | PyTokenizer_Get: error if exponent contains no digits (3e, 2.0e+, ...). | ||||
* | Implement PEP 238 in its (almost) full glory. | Guido van Rossum | 2001-08-08 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces: - A new operator // that means floor division (the kind of division where 1/2 is 0). - The "future division" statement ("from __future__ import division) which changes the meaning of the / operator to implement "true division" (where 1/2 is 0.5). - New overloadable operators __truediv__ and __floordiv__. - New slots in the PyNumberMethods struct for true and floor division, new abstract APIs for them, new opcodes, and so on. I emphasize that without the future division statement, the semantics of / will remain unchanged until Python 3.0. Not yet implemented are warnings (default off) when / is used with int or long arguments. This has been on display since 7/31 as SF patch #443474. Flames to /dev/null. | ||||
* | SF but #417587: compiler warnings compiling 2.1. | Tim Peters | 2001-04-21 | 1 | -3/+0 |
| | | | | Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported. | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -9/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Support for three-token characters (**=, >>=, <<=) which was written by | Thomas Wouters | 2000-08-24 | 1 | -0/+94 |
| | | | | | Michael Hudson, and support in general for the augmented assignment syntax. The graminit.c patch is large! | ||||
* | Mass ANSIfication. | Thomas Wouters | 2000-07-22 | 1 | -25/+12 |
| | | | | | | Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to 'Py_AddPendingCall' by providing a (static) wrapper function that has the right number of arguments. | ||||
* | Create two new exceptions: IndentationError and TabError. These are | Fred Drake | 2000-07-11 | 1 | -9/+5 |
| | | | | | | | used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856. | ||||
* | Nuke all remaining occurrences of Py_PROTO and Py_FPROTO. | Tim Peters | 2000-07-09 | 1 | -4/+4 |
| | |||||
* | Change copyright notice - 2nd try. | Guido van Rossum | 2000-06-30 | 1 | -6/+0 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Trent Mick: familiar simple Win64 patches | Guido van Rossum | 2000-06-28 | 1 | -3/+3 |
| | |||||
* | Vladimir Marangozov's long-awaited malloc restructuring. | Guido van Rossum | 2000-05-03 | 1 | -6/+7 |
| | | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.) | ||||
* | Only write message about changed Tab size with -v. | Guido van Rossum | 2000-04-03 | 1 | -1/+2 |
| | |||||
* | Fix by Eric Raymond: make the code that looks for various bits of | Guido van Rossum | 2000-03-31 | 1 | -15/+30 |
| | | | | | tab-setting magic much smarter, more correct, and more easily extensible. | ||||
* | Marc-Andre Lemburg: add new string token types u"..." and ur"..." | Guido van Rossum | 2000-03-10 | 1 | -0/+10 |
| | | | | (Unicode and raw Unicode). | ||||
* | One more fprintf bites the dist -- use PySys_WriteStderr | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | |||||
* | Replace all calls to fprintf(stderr, ...) with PySys_WriteStderr(...). | Guido van Rossum | 1998-08-25 | 1 | -5/+6 |
| | |||||
* | Add checking for inconsistent tab usage | Guido van Rossum | 1998-04-09 | 1 | -3/+43 |
| | |||||
* | Swap two statements in the dedent check loop. This makes absolutely | Guido van Rossum | 1998-02-16 | 1 | -1/+1 |
| | | | | | no difference, but avoids triggering an optimizer bug in the AIX compiler where the loop unrolling does the wrong thing... | ||||
* | Fixed the bug in searching for triple quotes -- change the 'quote2' | Guido van Rossum | 1998-02-16 | 1 | -2/+2 |
| | | | | | variable from a pointer to an index, so a realloc() of the buffer won't disturb it. Problem found by Vladimir Marangozov. | ||||
* | tok_nextc() should return unsigned characters, to avoid mistaking | Guido van Rossum | 1998-01-19 | 1 | -2/+10 |
| | | | | '\377' for EOF. | ||||
* | Another directory quickly renamed. | Guido van Rossum | 1997-04-29 | 1 | -25/+27 |
| | |||||
* | Now that the string-sig has settled on r"obin" strings, restrict the | Guido van Rossum | 1997-04-25 | 1 | -3/+7 |
| | | | | <letter><string> notation to 'r' and 'R'. |