Commit Graph

32114 Commits

Author SHA1 Message Date
Jack Jansen 8ceeaba012 Added support for optional modifiers to functions/methods (such as C++ const,
static for methods, inline, etc).
2005-06-21 20:54:51 +00:00
Raymond Hettinger da99d1cbfe SF bug #1224621: tokenize module does not detect inconsistent dedents 2005-06-21 07:43:58 +00:00
Kurt B. Kaiser 8fa7eb563b Remove dead code
M IdleHistory.py
M PyShell.py
2005-06-21 02:42:17 +00:00
Michael W. Hudson 188d4366be Fix bug:
[ 1163563 ] Sub threads execute in restricted mode

basically by fixing bug 1010677 in a non-broken way.

Backport candidate.
2005-06-20 16:52:57 +00:00
Michael W. Hudson fb662972e0 Add a(nother) warning about mixing Py_NewInterpreter and the
PyGILState_* functions.
2005-06-20 16:37:03 +00:00
Michael W. Hudson 7390942aa1 test_asynchat is no longer expected to produce output.
also, wait for threads to finish before proceeding.
2005-06-20 13:45:34 +00:00
Michael W. Hudson 7b279078c0 fix some silly whitespace stuff (must have hit M-q or something?) 2005-06-20 12:12:45 +00:00
Raymond Hettinger e5a0a9609f Apply the _is_special guard. 2005-06-20 09:49:42 +00:00
Kurt B. Kaiser a7daba6866 <Enter> when cursor is on a previous command retrieves that command. Instead
of replacing the input line, the previous command is now appended to the
input line. Indentation is preserved, and undo is enabled.
Patch 1196917  Jeff Shute

Modified Files:
	NEWS.txt PyShell.py
2005-06-19 18:56:15 +00:00
Raymond Hettinger bff60aeb93 Insert missing flag. 2005-06-19 08:42:20 +00:00
Raymond Hettinger bb999b5925 SF patch #1200018: Restore GC support to set objects
Reverts 1.26 and 1.27.
And adds cycle testing.
2005-06-18 21:00:26 +00:00
Georg Brandl f33f5e9d6e Bug #1209560: spurious blank page in dist.pdf 2005-06-18 20:11:40 +00:00
Georg Brandl 2e36f450f4 Patch #1180012: add documentation for modulefinder 2005-06-18 20:06:15 +00:00
Neil Schemenauer c49322951f Fix grammar (it's -> its). 2005-06-18 17:54:13 +00:00
Neil Schemenauer 3b1cbf9ba0 Add missing INCREF.
Backport candidate.
2005-06-18 17:37:06 +00:00
Raymond Hettinger 610d9dd38d Fix typo. 2005-06-17 10:25:33 +00:00
Skip Montanaro 9847000267 Add tests for posix O_SHLOCK & O_EXLOCK. Missed checking this in with
posixmodule.c 2.335.  Really should be considered part of patch #1103951.
2005-06-17 01:14:49 +00:00
Jack Jansen 2ab0ae6a54 More factorization. 2005-06-16 21:26:24 +00:00
Gregory P. Smith 8966d3de70 remove c++ style comment 2005-06-16 19:01:42 +00:00
Michael W. Hudson fad4640142 Update URL. 2005-06-16 15:51:20 +00:00
Michael W. Hudson 867f2d45cd You can have more than one thread state for a thread if they
correspond to different interpreters (I hope, please revert if this is
wrong :).
2005-06-16 11:35:00 +00:00
Andrew M. Kuchling b5e7ff4aeb Fix check for error condition 2005-06-15 18:46:50 +00:00
Andrew M. Kuchling d1badac99c [Patch #1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite 2005-06-15 18:44:23 +00:00
Raymond Hettinger ed65c3ad76 Fix nits. 2005-06-15 16:53:31 +00:00
Skip Montanaro 32c5d424fd Michael Hudson pointed out that the Dialect_Type object isn't INCREF'd. Why
this worked is a bit mystical.  Perhaps it never gets freed because the
object just happens never to be DECREF'd (but that seems unlikely).
2005-06-15 13:35:08 +00:00
Michael W. Hudson 2368b3c41b Consistently use hard tabs for indentation.
Slightly de-Fultonize two bits of C layout.

No semantic changes.
2005-06-15 12:48:40 +00:00
Michael W. Hudson 64e0814798 Add a missing incref.
Backport candidate.
2005-06-15 12:25:20 +00:00
Michael W. Hudson 0e21be71da Update version.
I wonder if there's a way to fix this Makefile to be slightly less
totally unreliable.
2005-06-15 11:46:27 +00:00
Michael W. Hudson 744ff388ff Missed this documentation change about my marshal-floats-binarywise
change.
2005-06-15 11:38:01 +00:00
Skip Montanaro d60fbd469e Leak fix from Michael Hudson. Fix memory leak when dialect doesn't
validate.  Closes 1220242.
2005-06-15 01:33:30 +00:00
Jack Jansen d6d2c0d08b More tweaks for C++ support. Still doesn't seem to break anything:-) 2005-06-14 21:32:51 +00:00
Andrew M. Kuchling 8960c7e7e4 [Bug #1219862] Document correct argument range for pair_content() 2005-06-14 14:45:24 +00:00
Michael W. Hudson 1a7285250b yet another cache to clear when leak hunting. 2005-06-14 09:31:28 +00:00
Raymond Hettinger eeed58cd25 SF bug #1219448: small output bug 2005-06-14 08:57:28 +00:00
Raymond Hettinger 24d7521985 SF bug #1215887: String and list methods documentation deeply hidden
Make doc on specific types easier to find by listing them in the headings
for the abstract types.
2005-06-14 08:45:43 +00:00
Walter Dörwald a00215983b Port test_long.py to unittest. 2005-06-13 21:44:48 +00:00
Michael W. Hudson f2ca5af439 Fix bug
[ 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.
2005-06-13 18:28:46 +00:00
Michael W. Hudson 01fca11080 Remove extraneous format character from PyArg_ParseTuple call in
marshal_loads.

Bugfix candidate.
2005-06-13 17:50:18 +00:00
Raymond Hettinger f9d88ab39e SF bug #1219361 Fix typo 2005-06-13 01:10:15 +00:00
Kurt B. Kaiser ca7329c9c1 1. Clarify "tab/space" Error Dialog and "Tab Width" Dialog associated with
the Untabify command.
2. Corrected "tab/space" Error Dialog to show correct menu for Untabify.
   Patch 1196980 Jeff Shute

M EditorWindow.py
M NEWS.txt
M ScriptBinding.py
2005-06-12 05:19:23 +00:00
Kurt B. Kaiser df506ea98b 1. Patch 1196895 Jeff Shute:
New files are colorized by default, and colorizing is removed when
   saving as non-Python files. Patch 1196895 Jeff Shute
   Closes Python Bugs 775012 and 800432, partial fix IDLEfork 763524

2. Update help.txt for left/right word delete

M CREDITS.txt
M ColorDelegator.py
M EditorWindow.py
M NEWS.txt
M help.txt
2005-06-12 04:33:30 +00:00
Gregory P. Smith 2e23e08f04 fix typo. \var vs \variable 2005-06-11 08:16:04 +00:00
Georg Brandl debd3710b6 Clarify docs about os.popen[234]. 2005-06-10 19:55:35 +00:00
Georg Brandl e537d6e93e Patch #1171150: add a newline to py_compile error output 2005-06-10 17:15:18 +00:00
Armin Rigo d6ebb5172e The functions audioop.lin2adpcm3() and audioop.adpcm32lin() were removed from
this module in Jan 1994, but still documented.
2005-06-10 15:29:22 +00:00
Raymond Hettinger 68c0453418 Add untokenize() function to allow full round-trip tokenization.
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
2005-06-10 11:05:19 +00:00
Jack Jansen bf7255fffb Minor tweaks, to allow some (out-of-tree, until successful) tinkering
with C++.
2005-06-10 10:46:40 +00:00
Andrew M. Kuchling 52a14c3cdc [Bug #1200134] Fix buffer overflow by constraining size of .getstr(), .instr() to size of allocated buffer 2005-06-09 17:53:27 +00:00
Andrew M. Kuchling 4aef245827 [Bug #1079134] Mention change to date comparisons; bump version info and release date to 2.4.1 2005-06-09 15:57:32 +00:00
Andrew M. Kuchling ca69f0248c [Patch #1002763] Allow long ints as terminator values; also, treat a terminator of 0 like the empty string or None 2005-06-09 14:59:45 +00:00