Andrew M. Kuchling
d2ee30b485
Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules
2006-10-27 14:54:43 +00:00
Andrew M. Kuchling
5f95870868
[Bug #1542016 ] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring.
...
Backport candidate. Though it's an API change, this is a pretty obscure
portion of the API.
2006-10-27 13:29:41 +00:00
Andrew M. Kuchling
935add1d30
[Bug #1562583 ] Mention the set_reuse_addr() method
2006-10-27 13:06:41 +00:00
Andrew M. Kuchling
35094a6962
[Bug #1583946 ] Reword description of server and issuer
2006-10-27 12:50:55 +00:00
Andrew M. Kuchling
11b69e5c52
[Bug #1585690 ] Note that line_num was added in Python 2.5
2006-10-27 12:18:58 +00:00
Martin v. Löwis
64cd9efd80
Get DBL_MAX from float.h not values.h.
2006-10-27 07:06:59 +00:00
Martin v. Löwis
2ec1df2785
Check for values.h.
2006-10-27 06:43:00 +00:00
Martin v. Löwis
62e58040c1
[Backport of r52452]
...
Patch #1549049 : Rewrite type conversion in structmember.
Fixes #1545696 and #1566140 .
The new warnings have been omitted in the backport.
2006-10-27 06:17:21 +00:00
Andrew M. Kuchling
1121e73536
[Bug #1579796 ] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure.
2006-10-26 19:11:06 +00:00
Georg Brandl
ee23f4bba7
Patch [ 1583506 ] tarfile.py: 100-char filenames are truncated
...
(backport from rev. 52431)
2006-10-24 16:54:23 +00:00
Martin v. Löwis
920fa6a102
Remove passwd.adjunct.byname from list of maps
...
for test_nis.
2006-10-22 13:46:23 +00:00
Martin v. Löwis
63a9b8b067
- Patch #1560695 : Add .note.GNU-stack to ctypes' sysv.S so that
...
ctypes isn't considered as requiring executable stacks.
2006-10-22 10:55:25 +00:00
Martin v. Löwis
e67b3497c9
Patch #1580872 : Remove duplicate declaration of PyCallable_Check.
2006-10-22 10:47:28 +00:00
Thomas Heller
b1a11c54ea
Recorded merge of revisions 51379-51603,51606-52365 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r51379 | thomas.heller | 2006-08-18 16:38:46 +0200 (Fr, 18 Aug 2006) | 6 lines
Add asserts to check for 'impossible' NULL values, with comments.
In one place where I'n not 1000% sure about the non-NULL, raise
a RuntimeError for safety.
This should fix the klocwork issues that Neal sent me. If so,
it should be applied to the release25-maint branch also.
........
r51401 | neal.norwitz | 2006-08-19 06:23:04 +0200 (Sa, 19 Aug 2006) | 4 lines
Move assert to after NULL check, otherwise we deref NULL in the assert.
Klocwork #307
........
r51819 | thomas.heller | 2006-09-07 20:56:28 +0200 (Do, 07 Sep 2006) | 5 lines
Anonymous structure fields that have a bit-width specified did not work,
and they gave a strange error message from PyArg_ParseTuple:
function takes exactly 2 arguments (3 given).
With tests.
........
r51820 | thomas.heller | 2006-09-07 21:09:54 +0200 (Do, 07 Sep 2006) | 4 lines
The cast function did not accept c_char_p or c_wchar_p instances
as first argument, and failed with a 'bad argument to internal function'
error message.
........
r52365 | thomas.heller | 2006-10-17 21:30:48 +0200 (Di, 17 Okt 2006) | 6 lines
ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called. This is a partial fix for #1574584 .
Will backport to release25-maint.
........
2006-10-20 19:59:33 +00:00
Thomas Heller
b2ab729700
Initialized merge tracking via "svnmerge" with revisions "1-51333" from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
(This had to be done with the command line:
svnmerge init -r 1:51333 -F c:\svn\trunk\Modules\_ctypes
because svnmerge isn't able to deduce the branch point r51333 and the
HEAD URL automatically in a subdirectory.)
2006-10-20 07:21:26 +00:00
Andrew M. Kuchling
51c4105617
[Bug #1576348 ] Fix typo in example
2006-10-19 21:56:14 +00:00
Tim Peters
fbbfb4b976
C:\Code\python>type c.txt
...
Merge rev 52377 from trunk:
newIobject(): repaired incorrect cast to quiet MSVC warning.
2006-10-18 05:30:25 +00:00
Thomas Heller
dcbf64d34d
ctypes callback functions only support 'fundamental' result types.
...
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called. This is a partial fix for #1574584 .
Backported from trunk.
2006-10-17 19:41:10 +00:00
Martin v. Löwis
ca362b6937
Forward-port r52358:
...
- Bug #1578513 : Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
2006-10-17 18:59:06 +00:00
Martin v. Löwis
0805f95622
Remove obsolete file.
2006-10-17 18:10:09 +00:00
Martin v. Löwis
bf2f701c1e
Patch #1457736 : Update VC6 to use current PCbuild settings.
2006-10-17 15:22:20 +00:00
Martin v. Löwis
55d3ef9c0e
Mention the bdist_msi module.
2006-10-15 14:30:49 +00:00
Martin v. Löwis
4ed148aa22
Remove binary property on project files, set eol-style
...
to CRLF instead.
2006-10-15 12:04:07 +00:00
Martin v. Löwis
2c7aa634cb
Bug #1567666 : Emulate GetFileAttributesExA for Win95.
2006-10-15 09:44:02 +00:00
Martin v. Löwis
3dee4852d7
Patch #1577551 : Add ctypes and ET build support for VC6.
2006-10-15 08:51:47 +00:00
Martin v. Löwis
6abebb2836
Patch #1576954 : Update VC6 build directory; remove redundant
...
files in VC7.1 pythoncore.vcproj.
2006-10-15 07:55:42 +00:00
Georg Brandl
58bf57fa04
Fix tarfile depending on buggy int('1\0', base) behavior.
...
(backport from rev. 52313)
2006-10-12 12:03:11 +00:00
Georg Brandl
ef11b1ab9c
Small grammar fix, thanks Sjoerd.
...
(backport from rev. 52311)
2006-10-12 11:59:29 +00:00
Georg Brandl
b57ebfb7bc
Bug #1560114 : the Mac filesystem does have accurate information
...
about the case of filenames.
(backport from rev. 52309)
2006-10-12 11:47:00 +00:00
Georg Brandl
197e8052bd
Add a note to fpectl docs that it's not built by default
...
(bug #1556261 ).
(backport from rev. 52307)
2006-10-12 11:41:15 +00:00
Georg Brandl
dd4c398c27
Bug #1545497 : when given an explicit base, int() did ignore NULs
...
embedded in the string to convert.
(backport from rev. 52305)
2006-10-12 11:28:04 +00:00
Georg Brandl
b85509d5ef
Bug #1546628 : add a note about urlparse.urljoin() and absolute paths.
...
(backport from rev. 52303)
2006-10-12 11:14:44 +00:00
Georg Brandl
3c48709e3a
Bug #1548891 : The cStringIO.StringIO() constructor now encodes unicode
...
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.
(backport from rev. 52301)
2006-10-12 09:47:17 +00:00
Georg Brandl
fcf6696255
Bug #1550524 : better heuristics to find correct class definition
...
in inspect.findsource().
(backport from rev. 52299)
2006-10-12 09:20:36 +00:00
Georg Brandl
8984370c06
Bug #1565919 : document set types in the Language Reference.
...
(backport from rev. 52297)
2006-10-12 08:22:57 +00:00
Georg Brandl
f0db92a676
Bug #813342 : Start the IDLE subprocess with -Qnew if the parent
...
is started with that option.
(backport from rev. 52295)
2006-10-12 07:57:24 +00:00
Georg Brandl
bdbb9c62de
Bug #1575746 : fix typo in property() docs.
...
(backport from rev. 52293)
2006-10-12 07:38:08 +00:00
Ronald Oussoren
a1cf44de4c
Macosx: fix permission problem in generated installer
2006-10-10 07:54:24 +00:00
Martin v. Löwis
463a42b5de
Bug #1565150 : Fix subsecond processing for os.utime on Windows.
2006-10-09 20:44:50 +00:00
Barry Warsaw
6bf550138d
List gc.get_count() in the module docstring.
2006-10-09 19:42:33 +00:00
Georg Brandl
7444eda3d6
Patch #1572724 : fix typo ('=' instead of '==') in _msi.c.
...
(backport from rev. 52251)
2006-10-09 19:03:12 +00:00
Andrew M. Kuchling
0037300f15
[Bug #1545341 ] Let the 'classifiers' parameter be a tuple as well as a list.
2006-10-09 17:13:26 +00:00
Ronald Oussoren
e1c6278c06
Backport of r52238
2006-10-08 18:19:28 +00:00
Ronald Oussoren
115930d981
Backport of r52236
2006-10-08 17:52:37 +00:00
Skip Montanaro
bf4358a0a9
Backport libcsv.tex bugfix from rev 52218. (SF ticket 1572471)
2006-10-08 17:51:24 +00:00
Ronald Oussoren
beb82a3772
Backport of r52233
2006-10-08 17:50:26 +00:00
Ronald Oussoren
138478ba26
Backport of r52229
2006-10-08 17:40:52 +00:00
Ronald Oussoren
4d8d8054c8
Backport of r52227.
2006-10-08 17:38:48 +00:00
Hye-Shik Chang
f4fe46d74b
Backport from trunk r52223:
...
Bug #1572832 : fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters. (Submitted by Ray Chason)
2006-10-08 14:01:45 +00:00
Georg Brandl
a5fe3ef8d8
Fix #1569998 : no break inside try statement (outside loop) allowed.
...
(backport from rev. 52129)
2006-10-08 07:12:23 +00:00