Commit Graph

983 Commits

Author SHA1 Message Date
Barry Warsaw
6b385b03a4 Bump version string. 2003-08-04 22:52:27 +00:00
Tim Peters
f7e609140e Repair botched release serial number. 2003-07-29 00:21:36 +00:00
Tim Peters
2f99ae5f70 Bump release level to 2.3 (we won't have time for this tomorrow). 2003-07-29 00:05:34 +00:00
Barry Warsaw
ee924cd3b6 Bump the version number 2003-07-25 03:13:02 +00:00
Tim Peters
6560a254ea Update version numbers and dates for 2.3c2 -- we won't be able to do this
during the day tomorrow, so doing it earlier than I'd like.
2003-07-24 00:15:46 +00:00
Tim Peters
29dfcd108d Bump the release number to 2.3c1. 2003-07-17 14:48:26 +00:00
Neal Norwitz
21d896cfa1 Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros 2003-07-01 20:15:21 +00:00
Tim Peters
b346096b65 Bump version string to "2.3b2+". 2003-06-30 02:14:28 +00:00
Andrew MacIntyre
e3454afb2f FreeBSD 5.x uses different wchar_t/win_t guards than earlier versions 2003-06-29 15:46:21 +00:00
Tim Peters
63fd15c3d3 Bump release level to 2.3b2. 2003-06-29 00:57:17 +00:00
Guido van Rossum
b8b6d0c2c6 Add PyThreadState_SetAsyncExc(long, PyObject *).
A new API (only accessible from C) to interrupt a thread by sending it
an exception.  This is not always effective, but might help some people.
Requested by Just van Rossum and Alex Martelli.  It is intentional
that you have to write your own C extension to call it from Python.

Docs will have to wait.
2003-06-28 21:53:52 +00:00
Andrew MacIntyre
1a90117880 fix the curses module build failure on FreeBSD, reported in SF #740234. 2003-06-11 12:26:08 +00:00
Jack Jansen
4eb45e7804 Added functions CFObj_New and CFObj_Convert, general functions to convert
between CF objects and their Python representation. Fixes 734695.
2003-05-27 21:39:58 +00:00
Christian Tismer
661a9e3e5b After Raymond's remark, I changed the Stackless bits to
two fixed bits, position 15 and 16. It is right, why should these
be elsewhere.
2003-05-23 12:47:36 +00:00
Christian Tismer
c26ff41d3d Generalized my type flags structure extension without being specific about
the purpose. Increased my claim to two bits, hoping that nobody
will complain about it. I'm taking the highest two bits, whatever
the integer word size may be.
2003-05-23 03:33:35 +00:00
Jeremy Hylton
4d508adae3 Fix for SF [ 734869 ] Lambda functions in list comprehensions
The compiler was reseting the list comprehension tmpname counter for each function, but the symtable was using the same counter for the entire module.  Repair by move tmpname into the symtable entry.

Bugfix candidate.
2003-05-21 17:34:50 +00:00
Christian Tismer
6695ba89de Preserved one bit in type objects for Stackless.
The presence of this bit controls, whether there
are special fields for non-recursive calls.
2003-05-20 15:14:31 +00:00
Fred Drake
b5662898e7 Fix broken API descriptions in comments. 2003-05-12 21:41:39 +00:00
Martin v. Löwis
a94568a753 Patch #734231: Update RiscOS support. In particular, correct
riscospath.extsep, and use os.extsep throughout.
2003-05-10 07:36:56 +00:00
Martin v. Löwis
5467d4c0e3 Patch #612627: Add encoding attribute to file objects, and determine
the terminal encoding on Windows and Unix.
2003-05-10 07:10:12 +00:00
Raymond Hettinger
930427b892 Add a reference to dictnotes.txt. It does no good if you don't know it's
there or where to find it.
2003-05-03 06:51:59 +00:00
Guido van Rossum
16ec34eefb Mark CVS as 2.3b1+. 2003-04-30 22:14:27 +00:00
Tim Peters
3209410cb5 Bump version number to 2.3b1. 2003-04-24 16:45:34 +00:00
Raymond Hettinger
f4cf76dd5e Revert the previous enhancement to the bytecode optimizer.
The additional code complexity and new NOP opcode were not worth it.
2003-04-24 05:45:23 +00:00
Raymond Hettinger
060641d511 Improved the bytecode optimizer.
* 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.
2003-04-22 06:49:11 +00:00