Thomas Heller
f4ad4ce5a0
Recompiled the exe and updated bdist_wininst.py.
2002-07-29 12:11:18 +00:00
Andrew M. Kuchling
52f1b76f6c
Add posix.lchown()
2002-07-28 20:29:03 +00:00
Guido van Rossum
ad9eba7a69
Add 'engine' back. IDLE used this, others might have copied it from
...
there.
2002-07-28 19:04:07 +00:00
Martin v. Löwis
301b1cd107
Patch #586999 : Fix multiline string in sendmail example.
2002-07-28 16:52:01 +00:00
Neal Norwitz
88fe4ff5a9
Fix the problem of not raising a TypeError exception when doing:
...
'%g' % '1'
'%d' % '1'
Add a test for these conditions
Fix the test so that if not exception is raise, this is a failure
2002-07-28 16:44:23 +00:00
Martin v. Löwis
673c0a2247
Patch #574867 : Correct list.extend docstring.
2002-07-28 16:35:57 +00:00
Martin v. Löwis
0cec0ffc78
Patch #573770 : Implement lchown.
2002-07-28 16:33:45 +00:00
Martin v. Löwis
ddc6f4748e
Pass length of result structure into setipaddr. Fixes bug #565747 .
...
Committed to 2.2 branch.
2002-07-28 16:10:31 +00:00
Neal Norwitz
2026584016
SF patch #577031 , remove PyArg_NoArgs() since it's deprecated
...
Explicitly use METH_OLDARGS
2002-07-28 15:23:23 +00:00
Neal Norwitz
7beeed5dfd
SF patch #577031 , remove PyArg_Parse() since it's deprecated
2002-07-28 15:19:47 +00:00
Neal Norwitz
77c72bb323
SF patch #577031 , remove PyArg_Parse() since it's deprecated
2002-07-28 15:12:10 +00:00
Neal Norwitz
4ddfd50d85
Fix SF bug 587012, doc mentions inexistent builtin unistr
2002-07-28 13:55:20 +00:00
Neal Norwitz
ce233b462d
Fix last checkin, can't use " inside a string
2002-07-28 13:53:05 +00:00
Martin v. Löwis
fc4c24c142
Patch #571603 : Refer to encodings package explicitly.
2002-07-28 11:31:33 +00:00
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