Martin v. Löwis
e567114e47
Patch #543498 : Use License: field instead of Copyright:.
2002-07-28 10:49:37 +00:00
Martin v. Löwis
611a7101ca
Patch #552812 : Better description in "python -h" for -u.
2002-07-28 10:34:08 +00:00
Martin v. Löwis
75d2d94e0f
Patch #554716 : Use __va_copy where available.
2002-07-28 10:23:27 +00:00
Martin v. Löwis
09c35f78fe
Patch #575827 : allow threads inside SSL creation.
2002-07-28 09:57:45 +00:00
Martin v. Löwis
6c611fae53
Patch #581705 : Catch OSError, termios.error in spawn. 2.2 bugfix candidate.
2002-07-28 09:42:57 +00:00
Kurt B. Kaiser
d694c1faf9
Reset the Python execution server environment to its initial value prior
...
to executing Run/F5 from an EditorWindow.
M ScriptBinding.py : add call to clear_the_environment()
M run.py : implemented Executive.clear_the_environment()
2002-07-28 03:35:31 +00:00
Piers Lauder
139bccb2f0
remove redundant import
2002-07-27 07:10:14 +00:00
Piers Lauder
8b6bb4f743
remove redundant code
2002-07-27 07:08:38 +00:00
Piers Lauder
385a77acad
remove o/s dependancy from test
2002-07-27 00:38:30 +00:00
Skip Montanaro
35b37a5c11
tighten up the unicode object's docstring a tad
2002-07-26 16:22:46 +00:00
Jack Jansen
f03c692357
Use os.environ.get() in stead of os.getenv() (which is platform-dependent).
2002-07-26 11:34:49 +00:00
Jack Jansen
aeb6a60e03
Reorganized so the test is skipped if os.popen() doesn't exist (in stead of failing).
2002-07-26 11:33:49 +00:00
Jack Jansen
c7554e28ee
Added a __contains__ method.
2002-07-26 11:32:03 +00:00
Kurt B. Kaiser
b417936d40
Reverse the RPC socket connection: Python execution server connects to
...
Idle client and localhost origin of connection is verified by client.
M PyShell.py
M rpc.py
M run.py
2002-07-26 00:06:42 +00:00
Fred Drake
db40afaabe
Small clarifications when referring to the sys.exc_* variables so that
...
readers are not given the wrong impression that they should be using those
on a regualar basis.
This closes SF bug #585598 .
2002-07-25 21:11:23 +00:00
Fred Drake
fd83374fe2
Remove duplicate checks of the Node.allnodes variable.
2002-07-25 20:40:28 +00:00
Fred Drake
e80c0d3580
Add an XXX comment and a pointer to a full bug report.
2002-07-25 20:13:03 +00:00
Jeremy Hylton
73a088e3fa
Don't be so hasty. If PyInt_AsLong() raises an error, don't set ValueError.
2002-07-25 16:43:29 +00:00
Jeremy Hylton
825e47b655
Put checks for error returns in the right place.
2002-07-25 16:37:51 +00:00
Fred Drake
ead36d7874
- Make number in comment match the targets in that section of the
...
Makefile.
- Update the Python version number so we're using the library built
from the current working sources.
2002-07-25 16:23:21 +00:00
Skip Montanaro
186bec2f8d
typo
2002-07-25 16:10:38 +00:00
Skip Montanaro
3a48ed9481
* runctx - fix a couple typos
...
* globaltrace_lt - handle case where inspect.getmodulename doesn't return
anything useful
* localtrace_trace - handle case where inspect.getframeinfo doesn't return
any context info
I think both of the last two are caused by exec'd or eval'd code
2002-07-25 16:09:35 +00:00
Jeremy Hylton
f20fcf9fed
Complain if __len__() returns < 0, just like classic classes.
...
Fixes SF bug #575773 .
Bug fix candidate.
2002-07-25 16:06:15 +00:00
Jeremy Hylton
c075e197d6
Extended socket.htonl and ntohl to accept longs.
...
Fixes SF bug #568322 .
The code should raise an OverflowError if the long is > 32 bits, even
on platforms where sizeof(long) > 4.
2002-07-25 16:01:12 +00:00
Jeremy Hylton
b8a690d42a
Remove test that was none too picky about whether attributes exist.
2002-07-25 15:37:23 +00:00
Skip Montanaro
21ee37c94e
remove spurious SET_LINENO from com_list_for and com_list_if. All they do
...
is slow things down unnecessarily and make tracing much more verbose.
Something like
def f(n):
return [i for i in range(n) if i%2]
should have at most two SET_LINENO instructions, not four. When tracing,
the current line number should be printed once, not 2*n+1 times.
2002-07-25 06:18:42 +00:00
Guido van Rossum
f8c8cf8a9d
Get rid of _expand() altogether - the match object supports m.expand().
2002-07-24 19:13:08 +00:00
Jeremy Hylton
403e351dfc
Flesh out description of getlogin() and recommend against using it.
2002-07-24 15:32:25 +00:00
Guido van Rossum
77f6ccd1f7
The test for re.engine was misfiring because re.engine is no longer
...
defined and the default was "pre" instead of "sre". Give up on 1.5.2
compatibility, hardcode the sre solution. However, this XXX comment
still applies, AFAIK:
# XXX This code depends on internals of the regular expression
# engine! There's no standard API to do a substitution when you
# have already found the match. One should be added.
2002-07-24 01:49:16 +00:00
Barry Warsaw
9e4e050c59
Use full package paths in imports.
2002-07-23 20:35:58 +00:00
Tim Peters
78e30fb32c
Taught the Windows installer about changes in the structure of the email
...
package, and the loss of the test/data directory.
2002-07-23 19:56:30 +00:00
Barry Warsaw
10d0d595e0
Added a couple of more tests for Header charset handling.
2002-07-23 19:46:35 +00:00
Barry Warsaw
b5da606dfd
Oops, missed an import of test_support.
2002-07-23 19:23:22 +00:00
Barry Warsaw
1bfab7bc01
A few updates about how/where to import test_support from.
2002-07-23 19:13:45 +00:00
Barry Warsaw
04f357cffe
Get rid of relative imports in all unittests. Now anything that
...
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".
This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).
Now Tim and Jack can have at it. :)
2002-07-23 19:04:11 +00:00
Mark Hammond
62b1ab1b31
Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link
...
command line for Windows builds. This should allow MSVC to import and
build the Python MSVC6 project files without error.
2002-07-23 06:31:15 +00:00
Barry Warsaw
92825a9a52
append(): Bite the bullet and let charset be the string name of a
...
character set, which we'll convert to a Charset instance. Sigh.
2002-07-23 06:08:10 +00:00
Barry Warsaw
15d3739446
make_header(): Watch out for charset is None, which decode_header()
...
will return as the charset if implicit us-ascii is used.
2002-07-23 04:29:54 +00:00
Guido van Rossum
2d5389c08f
News about StopIteration as a "sink state".
2002-07-23 03:44:35 +00:00
Guido van Rossum
79f0a106e6
Add news about strptime and socket.setdefaulttimeout().
2002-07-23 03:32:08 +00:00
Neal Norwitz
58b63bf4e3
SF patch #581396 , Canvas "select_item" always returns None
...
Return the selected item, if there is any.
2002-07-23 02:52:58 +00:00
Andrew M. Kuchling
ef5d06bd3f
[Bug #580462 ] Mention changes to GC API
...
Mention portable strptime()
Move C-level sections farther down in the file
2002-07-22 19:21:06 +00:00
Andrew M. Kuchling
a982eb1eb5
Sort changed modules into alphabetical order; no other changes
2002-07-22 18:57:36 +00:00
Andrew M. Kuchling
3c305d966d
Rewrite a paragraph, and use correct mark-up
2002-07-22 18:50:11 +00:00
Mark Hammond
2795dae20d
Remove a strange single quote that didn't seem to upset the compilers!
2002-07-22 13:28:21 +00:00
Mark Hammond
e407e2ac42
Nuke the only DL_* in this directory.
2002-07-22 13:26:41 +00:00
Neal Norwitz
1389f3e059
Move DL_IMPORT/DL_EXPORT to Build section, I think this is the correct place
2002-07-22 13:21:10 +00:00
Neal Norwitz
bba23a897e
SF bug #583894 , add doc for DL_IMPORT/DL_EXPORT deprecation
2002-07-22 13:18:59 +00:00
Mark Hammond
a5083ec3b3
Add note about DL_IMPORT deprecation.
...
[ 583894 ] doc DL_IMPORT/DL_EXPORT changes
2002-07-22 12:53:16 +00:00
Jack Jansen
603e76e882
Fixed potential refcount problems with interned strings, adapted comments, added a bit more trace output if verbose > 1.
2002-07-22 12:35:22 +00:00