Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bug 1234979 addition | Georg Brandl | 2005-07-09 | 1 | -2/+2 |
| | |||||
* | bug [ 1234979 ] Lock.acquire treats only 1 as True | Georg Brandl | 2005-07-08 | 1 | -1/+1 |
| | |||||
* | Fix signedness of various char variables to stop causing a warning under gcc 4. | Brett Cannon | 2005-06-25 | 3 | -12/+12 |
| | |||||
* | Add comments about PyThreadState and the usage of its fields. | Brett Cannon | 2005-06-25 | 1 | -0/+4 |
| | |||||
* | Fix bug: | Michael W. Hudson | 2005-06-20 | 1 | -15/+53 |
| | | | | | | | | [ 1163563 ] Sub threads execute in restricted mode basically by fixing bug 1010677 in a non-broken way. Backport candidate. | ||||
* | You can have more than one thread state for a thread if they | Michael W. Hudson | 2005-06-16 | 1 | -1/+1 |
| | | | | | correspond to different interpreters (I hope, please revert if this is wrong :). | ||||
* | Fix bug | Michael W. Hudson | 2005-06-13 | 1 | -0/+4 |
| | | | | | | | | [ 1180997 ] lax error-checking in new-in-2.4 marshal stuff which I'd assigned to Martin, but actually turned out to be easy to fix. Also, a test. | ||||
* | Remove extraneous format character from PyArg_ParseTuple call in | Michael W. Hudson | 2005-06-13 | 1 | -1/+1 |
| | | | | | | marshal_loads. Bugfix candidate. | ||||
* | Fix a couple of crashing-on-malformed data marshal bugs. | Michael W. Hudson | 2005-06-03 | 1 | -6/+8 |
| | |||||
* | This is my patch: | Michael W. Hudson | 2005-06-03 | 2 | -66/+177 |
| | | | | | | | | | [ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails. | ||||
* | This is my patch: | Michael W. Hudson | 2005-05-27 | 1 | -0/+2 |
| | | | | | | | | | | | | | | [ 1181301 ] make float packing copy bytes when they can which hasn't been reviewed, despite numerous threats to check it in anyway if noone reviews it. Please read the diff on the checkin list, at least! The basic idea is to examine the bytes of some 'probe values' to see if the current platform is a IEEE 754-ish platform, and if so _PyFloat_{Pack,Unpack}{4,8} just copy bytes around. The rest is hair for testing, and tests. | ||||
* | Patch #1197318: Cygwin case-sensitive import patch | Jason Tishler | 2005-05-20 | 1 | -17/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | A problem regarding importing symlinked modules was recently reported on the Cygwin mailing list: http://cygwin.com/ml/cygwin/2005-04/msg00257.html The following test case demonstrates the problem: $ ls -l total 1 lrwxrwxrwx 1 jt None 6 Apr 23 13:32 bar.py -> foo.py -rw-r--r-- 1 jt None 24 Apr 18 20:13 foo.py $ python -c 'import bar' Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named bar Since Cygwin's case_ok() uses a modified version of the Windows's version, the symlinked bar module actually resolves to file foo.py instead of bar.py. This obviously causes the matching code to fail (regardless of case). The patch fixes this problem by making Cygwin use the Mac OS X case_ok() instead of a modified Window's version. | ||||
* | Fix: | Michael W. Hudson | 2005-04-18 | 1 | -1/+1 |
| | | | | | | | | [ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate. | ||||
* | Make a handy macro, Py_DEFAULT_RECURSION_LIMIT to allow to define | Hye-Shik Chang | 2005-04-04 | 1 | -2/+5 |
| | | | | | a default value of recursion limit from build systems. 1000 levels are still too high for some 64bit systems. | ||||
* | I suppose a bug report or even a fix would be a better response, but | Michael W. Hudson | 2005-03-30 | 1 | -1/+2 |
| | | | | | commit a yelp about a noted flaw the error messages for METH_KEYWORDS functions under some circumstances. | ||||
* | Move exception finalisation later in the shutdown process - this | Anthony Baxter | 2005-03-29 | 1 | -7/+8 |
| | | | | fixes the crash seen in bug #1165761 | ||||
* | Add 0 to _POSIX_SEMAPHORES. Will backport to 2.4. | Martin v. Löwis | 2005-03-28 | 1 | -1/+3 |
| | |||||
* | Patch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no | Anthony Baxter | 2005-03-16 | 1 | -0/+4 |
| | | | | support for posix semaphores. | ||||
* | Add two new functions, any() and all(). | Raymond Hettinger | 2005-03-11 | 1 | -0/+65 |
| | |||||
* | Allow classes to be defined with empty parentheses. This means that | Brett Cannon | 2005-03-05 | 2 | -8/+10 |
| | | | | ``class C(): pass`` is no longer a syntax error. | ||||
* | Patch #1115086: support PY_LONGLONG in structmember. | Martin v. Löwis | 2005-03-03 | 1 | -0/+32 |
| | |||||
* | Revert previous checkin on getargs 'L' code. Try to convert all | Martin v. Löwis | 2005-03-03 | 1 | -1/+0 |
| | | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4. | ||||
* | Patch #802188: better parser error message for non-EOL following line cont. | Martin v. Löwis | 2005-03-03 | 1 | -0/+3 |
| | |||||
* | Clear internal call error in 'L' format. Fixes #723201. | Martin v. Löwis | 2005-03-03 | 1 | -0/+1 |
| | | | | Backported to 2.4. | ||||
* | Silence a gcc warning about putting in parentheses around && expressions mixed | Brett Cannon | 2005-03-03 | 1 | -5/+6 |
| | | | | with || expressions. Also clarifies intend of 'if' conditional. | ||||
* | Preserve sign of -0.0 when result is run through marshal. | Raymond Hettinger | 2005-02-23 | 1 | -2/+4 |
| | |||||
* | Document how the pattern recognizer keeps all of its references in bounds. | Raymond Hettinger | 2005-02-21 | 1 | -0/+8 |
| | | | | | | Add a test in case the underlying assumptions ever change (i.e. the compiler starts generating code blocks that are not punctuated by RETURN_VALUE). | ||||
* | Teach the peepholer to fold unary operations on constants. | Raymond Hettinger | 2005-02-20 | 1 | -0/+62 |
| | | | | | Afterwards, -0.5 loads in a single step and no longer requires a runtime UNARY_NEGATIVE operation. | ||||
* | Remove the set conversion which didn't work with: [] in (0,) | Raymond Hettinger | 2005-02-10 | 1 | -53/+1 |
| | |||||
* | Have set conversion replace existing constant if not used elsewhere. | Raymond Hettinger | 2005-02-09 | 1 | -1/+7 |
| | |||||
* | Close the discussion in SF bug 1069160. | Guido van Rossum | 2005-02-08 | 1 | -1/+3 |
| | |||||
* | Adopt Skip's idea to optimize lists of constants in the context | Raymond Hettinger | 2005-02-07 | 1 | -7/+13 |
| | | | | of a "in" or "not in" test. | ||||
* | Transform "x in (1,2,3)" to "x in frozenset([1,2,3])". | Raymond Hettinger | 2005-02-06 | 1 | -1/+48 |
| | | | | | Inspired by Skip's idea to recognize the throw-away nature of sequences in this context and to transform their type to one with better performance. | ||||
* | Fix bug that allowed future statements virtually anywhere in a module. | Jeremy Hylton | 2005-02-04 | 1 | -2/+1 |
| | | | | | | | If we exit via the break here, we need to set ff_last_lineno or FUTURE_POSSIBLE() will remain true. The bug affected statements containing a variety of expressions, but not all expressions. It has been present since Python 2.2. | ||||
* | Partially revert #1074011; don't try to fflush stdin. | Martin v. Löwis | 2005-01-27 | 1 | -1/+10 |
| | | | | Backported to 2.3 and 2.4. | ||||
* | Do not fold a constant if a large sequence will result. | Raymond Hettinger | 2005-01-26 | 1 | -5/+15 |
| | | | | Saves space in the presence of code like: (None,)*10000 | ||||
* | happy new year! (on the trunk) | Anthony Baxter | 2005-01-25 | 1 | -1/+1 |
| | |||||
* | Flush std{in,out,err} before closing it. Fixes #1074011. | Martin v. Löwis | 2005-01-23 | 1 | -3/+10 |
| | | | | Will backport to 2.4 and 2.3. | ||||
* | Change the name of the macro used by --with-tsc builds to the less | Michael W. Hudson | 2005-01-18 | 1 | -29/+32 |
| | | | | inscrutable READ_TIMESTAMP. | ||||
* | -X died some time ago; remove a tiny bit of associated cruft. | Michael W. Hudson | 2005-01-18 | 1 | -4/+0 |
| | |||||
* | make thread stack size compile-time tunable on OS/2 | Andrew MacIntyre | 2005-01-17 | 1 | -1/+5 |
| | |||||
* | remove unused variable | Fred Drake | 2005-01-12 | 1 | -1/+0 |
| | |||||
* | SF 1098985: set objects cannot be marshalled | Raymond Hettinger | 2005-01-11 | 1 | -1/+66 |
| | |||||
* | comment tweak | Skip Montanaro | 2005-01-08 | 1 | -1/+1 |
| | |||||
* | Re-running python with/without the -Qnew flag uses incorrectly optimized | Armin Rigo | 2005-01-07 | 1 | -6/+3 |
| | | | | | bytecodes from the previously saved .pyc files. Fixed by disabling the static optimization of BINARY_DIVIDE between two constants. | ||||
* | Teach the peephole optimizer to fold simple constant expressions. | Raymond Hettinger | 2005-01-02 | 1 | -1/+118 |
| | |||||
* | Any call to marshal.dumps() with the new optional argument 'version' just | Armin Rigo | 2004-12-20 | 1 | -1/+1 |
| | | | | | immediately segfaults, due to a typo! This was obviously never tested... Added a test for it, and also fixed the documentation. | ||||
* | Put parentheses around the assignment in the 'while' loop conditional | Brett Cannon | 2004-12-07 | 1 | -1/+1 |
| | | | | expression in min_max() to shut gcc up. | ||||
* | SF patch #1077353: add key= argument to min and max | Raymond Hettinger | 2004-12-03 | 1 | -39/+71 |
| | | | | (First draft of patch contributed by Steven Bethard.) | ||||
* | Hye-Shik Chang's fix for Bug 875692. | Kurt B. Kaiser | 2004-11-23 | 1 | -0/+6 |
| | | | | | | | | | Improve signal handling, especially when using threads, by forcing an early re-execution of PyEval_EvalFrame() "periodic" code when things_to_do is not cleared by Py_MakePendingCalls(). M Misc/NEWS M Python/ceval.c |