[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Removed 2.7 as too late, can we get this into 3.2? -- nosy: +BreamoreBoy versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue1

[issue1079] decode_header does not follow RFC 2047

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: needs patch -> patch review versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/iss

[issue1128] msilib.Directory.make_short only handles file names with a single dot in them

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian/Tim do have have any input on this? Also note that a similar patch exists on issue7639. -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker <http://bugs.python.org/issue1

[issue1159] os.getenv() not updated after external module uses C putenv()

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone please comment on whether or not this issue is still valid. -- nosy: +BreamoreBoy resolution: postponed -> ___ Python tracker <http://bugs.python.org/iss

[issue1195] Problems on Linux with Ctrl-D and Ctrl-C during raw_input

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: There's a one line patch in msg59242, could someone please take a look. Apparantly py3k is not affected by this issue although I haven't tried it myself. -- nosy: +BreamoreBoy stage: unit test needed -> patch review versions: +Python 2.

[issue1215] Python hang when catching a segfault

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: There are several suggestions inline as how how the docs should be changed. -- assignee: -> d...@python nosy: +BreamoreBoy, d...@python ___ Python tracker <http://bugs.python.org/iss

[issue1250] Building external modules using Sun Studio 12

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is anyone out there using Sun Studio who can comment on this? If there are no responses within a couple of weeks I'll close. -- status: open -> pending ___ Python tracker <http://bugs.python.or

[issue1257] atexit errors should result in nonzero exit code

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone please review the attached patch with a view to committing, it contains doc and unit test changes. -- nosy: +BreamoreBoy stage: -> patch review versions: -Python 2.6 ___ Python tracker &l

[issue1274] doctest fails to run file based tests with 8bit paths

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : Removed file: http://bugs.python.org/file8527/bug_3740_1.patch ___ Python tracker <http://bugs.python.org/issue1274> ___ ___ Python-bugs-list m

[issue1274] doctest fails to run file based tests with 8bit paths

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: The patch simply changes test_doctest, is it acceptable or not? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1

[issue1322] platform.dist() has unpredictable result under Linux

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/issue1322> ___ ___

[issue1348] httplib closes socket, then tries to read from it

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: No reply to msg114602 so I'll close in a couple of weeks unless anyone objects. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker <http://bugs.python.or

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: >From msg84550 "The added functionality is useful, but this patch is not the >way to go". Can this be closed as rejected, would the OP like to supply an >updated patch, or what? -- nosy: +BreamoreBoy, terry.reedy versions: +Pyt

[issue1423] wave sunau aifc 16bit errors

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still valid? -- nosy: +BreamoreBoy -gvanrossum versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/issue1

[issue1429] FD leak in SocketServer

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: This will go nowhere unless a patch is provided that contains code, doc and unit test changes. -- nosy: +BreamoreBoy stage: -> unit test needed type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Pyth

[issue1441] Cycles through ob_type aren't freed

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still valid? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1441> ___ ___ Python-bugs-list mailin

[issue1452] subprocess's popen.stdout.seek(0) doesn't raise an error

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian/Tim what would you expect to happen here? -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker <http://bugs.python.org/issue1

[issue1458] installer crashes on attempted cancellation

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: No reply to msg85633. -- nosy: +BreamoreBoy status: open -> closed ___ Python tracker <http://bugs.python.org/issue1458> ___ _

[issue1483] xml.sax.saxutils.prepare_input_source ignores character stream in InputSource

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: There's a one line patch in msg57749 and some unit tests are attached so would a committer take a look please. Also note that #2174 and #2175 are related. -- nosy: +BreamoreBoy stage: -> patch review type: -&g

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : Removed file: http://bugs.python.org/file10269/BaseHTTPServer_continue.patch ___ Python tracker <http://bugs.python.org/issue1491> ___ ___ Pytho

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : Removed file: http://bugs.python.org/file10278/BaseHTTPRequestHandlerTestCase.py ___ Python tracker <http://bugs.python.org/issue1491> ___ ___

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : Removed file: http://bugs.python.org/file10684/BaseHTTPServer_continue_2.patch ___ Python tracker <http://bugs.python.org/issue1491> ___ ___

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker <http://bugs.python.org/iss

[issue1504] Add 2to3 fixer for (un)bound methods

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: No reply to msg71746. -- nosy: +BreamoreBoy status: open -> closed ___ Python tracker <http://bugs.python.org/issue1504> ___ _

[issue1518] Fast globals/builtins access (patch)

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as recommended in msg101239. -- nosy: +BreamoreBoy status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue1532] Refleak run of test_tcl fails

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: I don't believe that this can still be an issue. -- nosy: +BreamoreBoy status: open -> closed ___ Python tracker <http://bugs.python.or

[issue1540] Refleak tests: test_doctest and test_gc are failing

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have an update on this please as it seems important. -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1

[issue1554] socketmodule cleanups: allow the use of keywords in socket functions

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Could someone please review the latest patch, I'd like to see the OP's work rewarded with the patch getting into 3.2. -- ___ Python tracker <http://bugs.python.

[issue1574] Touchpad 2 Finger scroll does not work in IDLE on Mac (But scroll wheel of external mouse does)

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +taleinat, terry.reedy stage: unit test needed -> needs patch versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/iss

[issue1584] Mac OS X: building with X11 Tkinter

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: This will go nowhere unless someone supplies a patch. -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/issue1

[issue1602] windows console doesn't print utf8 (Py30a2)

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: @Brian/Tim what's your take on this? -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker <http://bugs.python.org/i

[issue1605] Semi autogenerated _types module

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is this ever likely to go anywhere? My understanding is that this would be difficult to do (or have I simply misread something?). If I'm correct, wouldn't it be better to use our limited resources elsewhere? -- nosy: +B

[issue1615] descriptor protocol bug

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: This is still an issue with the latest trunk. -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1

[issue7225] fwrite() compiler warnings

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: See also #1616 and #1621. -- ___ Python tracker <http://bugs.python.org/issue7225> ___ ___ Python-bugs-list mailing list Unsub

[issue1616] compiler warnings

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: How many warnings are we now getting on the buildbots? -- nosy: +BreamoreBoy versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1

[issue1686] string.Template.safe_substitute fail when overriding pattern attribute

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: Well what is the decision? FWIW I sway towards the +0 from msg112156 rather than the -0 from msg63791, but then what do I know? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1

[issue1708] improvements for linecache

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: @umaxx are you interested in taking this forward? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1

[issue1722] Undocumented urllib functions

2010-09-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker <http://bugs.python.org/issue1722> ___ ___ Python-

[issue9896] Introspectable range objects

2010-09-18 Thread Mark Lawrence
Mark Lawrence added the comment: What is the use case for this? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue9896> ___ ___ Python-bug

[issue1738] filecmp.dircmp does exact match only

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: Patch worked fine with 2.7. I reworked it for SVN trunk but got this failure. FAILED (failures=1) Traceback (most recent call last): File "test_filecmp.py", line 179, in test_main() File "test_filecmp.py", li

[issue1744] readline module - set/get quote delimiters

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: Can a committer review this please. Can't test it myself as I don't have a *NIX box, sorry. -- nosy: +BreamoreBoy stage: -> patch review ___ Python tracker <http://bugs.pyth

[issue1763] Winpath module - easy access to Windows directories like My Documents

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: No reply to msg110596. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue1763> ___ ___ Python-bugs-lis

[issue1778] SyntaxError.offset sometimes wrong

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: This will go nowhere until someone supplies a patch. I'm assuming unit tests can be built using the attached test file. -- nosy: +BreamoreBoy stage: unit test needed -> needs patch versions: +Python 2.7, Python 3.2 -Py

[issue1783] nonexistent data items declared as exports in sysmodule.h

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: The 1st declaration still exists, the 2nd has been removed. -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1

[issue1785] "inspect" gets broken by some descriptors

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: I can't apply the patch to any current SVN version. -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/i

[issue1794] Hot keys must work in any keyboard layout

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: >From msg86386 "Nevertheless, after reading your comments I came to the >conclusion that doing what you want is very unlikely to happen." so closing. -- nosy: +BreamoreBoy ___ Python tracker <htt

[issue1800] ctypes callback fails when called in Python with array argument

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: Anybody? -- ___ Python tracker <http://bugs.python.org/issue1800> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1827] svnversion_init() doesn't support svn urls in sandbox/trunk

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: Is this ever likely to happen given the switch to Mercurial, or is that a different scenario to this? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue1

[issue1838] Ctypes C-level infinite recursion

2010-09-19 Thread Mark Lawrence
Mark Lawrence added the comment: I'm not convinced that this needs doing, so I'll close in a couple of weeks unless anyone objects. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker <http://bugs.pyth

[issue1859] textwrap doesn't linebreak on "\n"

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Anyone interested in picking this up? I've tried and fell flat on my face :( -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/i

[issue1865] Bytes alias for 2.6

2010-09-20 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker <http://bugs.python.org/issue1865> ___ ___ Python-

[issue1866] const arg for PyInt_FromString

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Any opinions as to whether the patch should be reworked for 3.2 or not? -- nosy: +BreamoreBoy versions: -Python 2.7 ___ Python tracker <http://bugs.python.org/issue1

[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

2010-09-20 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +r.david.murray versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1874> ___ ___ Python-bugs-list mailin

[issue1875] "if 0: return" not raising SyntaxError

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: msg81023 indicates that more work is needed on this. -- nosy: +BreamoreBoy stage: -> needs patch type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker

[issue1887] distutils doesn't support out-of-source builds

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: There's been no reply to msg109822, so should this be closed with the Superseder field updated or what? -- nosy: +BreamoreBoy, eric.araujo ___ Python tracker <http://bugs.python.org/i

[issue1927] raw_input behavior incorrect if readline not enabled

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Any *NIX gurus who can sort this one? -- nosy: +BreamoreBoy versions: +Python 2.7 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue1

[issue1943] improved allocation of PyUnicode objects

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: No reply to msg110599, I'll close this in a couple of weeks unless anyone objects. -- status: open -> pending ___ Python tracker <http://bugs.python.or

[issue1944] Documentation for PyUnicode_AsString (et al.) missing.

2010-09-20 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker <http://bugs.python.org/issue1944> ___ ___ Python-

[issue1953] Compact int and float freelists

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: I've set the stage to patch review becasue I think this reflects the accepted resolution. I don't understand why this hasn't been committed, anyone? -- nosy: +BreamoreBoy stage: -> patch review

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Is this ever likely to happen, given that there's been 2.75 years since the request without a response? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/i

[issue1975] signals not always delivered to main thread, since other threads have the signal unmasked

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still an issue? If yes can a *NIX type person action it. If no can we close it? -- nosy: +BreamoreBoy -gvanrossum ___ Python tracker <http://bugs.python.org/issue1

[issue1977] Python reinitialization test

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Quote msg83564 "This is still a good idea.", in which case shouldn't someone push this forward, failing that close as out of date? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.py

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: I'm assuming that this has never been implemented, am I correct? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/i

[issue2016] Crash when modifying the **kwargs passed to a function.

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone please backport this to 2.7 so we can get this closed, thanks. -- nosy: +BreamoreBoy versions: +Python 2.7 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue2

[issue2027] Module containing C implementations of common text algorithms

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close this as suggested in msg106281 in a couple of weeks unless someone objects. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker <http://bugs.python.or

[issue2039] Pymalloc patch for int and float objects

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: If my reading of this is correct there is little or nothing to be gained by applying any patch, hence can this be closed? -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/issue2

[issue2052] Allow changing difflib._file_template character encoding.

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: difflib._file_template is still hard-coded in py3k SVN. I'm unsure as to whether this is a feature request, a behaviour issue or not an issue at all, can someone please advise, thanks. -- nosy: +Breamo

[issue2057] difflib: add patch capability

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Is this really needed? TortoiseSVN is a cracking bit of kit, and I'm hoping that in the future TortoiseHG is as good if not better. -- nosy: +BreamoreBoy ___ Python tracker <http://bugs.python.org/i

[issue2091] file accepts 'rU+' as a mode

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is now way out of date to the extent that I can't find the code in fileobject.c, perhaps I'm just blind Can someone please provide a new patch, thanks. -- nosy: +BreamoreBoy versions: +Python 3.1, Python 3.2 -

[issue2123] ctypes pointer not always keeping target alive

2010-09-20 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/issue2123> ___ ___ Python-bugs-list mailin

[issue2175] Expat sax parser silently ignores the InputSource protocol

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: As nobody appears to be interested I'll close this in a couple of weeks unless someone objects. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker <http://bugs.python.or

[issue2180] tokenize: mishandles line joining

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Nobody appears to be interested so I'll close this in a couple of weeks unless someone objects, unless a patch is provided. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker <http://bugs

[issue2193] Cookie Colon Name Bug

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Is this a bug or isn't it, so should it be behaviour or feature request or what? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker <http://bugs.python.org/i

[issue2200] find_executable fails to find .bat files on win32

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: I think distutils changes should be aimed at several versions, please correct them if I'm wrong. -- nosy: +BreamoreBoy, eric.araujo versions: +Python 2.5, Python 2.6, Python 3.1, Python 3.2 ___ Python tracker

[issue2213] build_tkinter.py does not handle paths with spaces

2010-09-20 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still valid? -- nosy: +BreamoreBoy, gpolo, taleinat, terry.reedy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker <http://bugs.python.org/issue2

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Martin v. Löwis To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 16:28:

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Antoine Pitrou To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 16:43:

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Martin v. Löwis To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 16:53:

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Sébastien Sablé To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 17:36:

[issue678250] test_mmap failling on AIX

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Martin v. Löwis To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 18:16:

[issue1962] ctypes feature request: Automatic type conversion of input arguments to C functions

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Amaury Forgeot d'Arc To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 1

[issue766910] fix one or two bugs in trace.py

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Alexander Belopolsky To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 19:30:

[issue766910] fix one or two bugs in trace.py

2010-09-21 Thread Mark Lawrence
Mark Lawrence added the comment: Please ensure tha I'm taken off of the email list as I've been banned from contributing to Python by Raymond Hettinger From: Alexander Belopolsky To: breamore...@yahoo.co.uk Sent: Tue, 21 September, 2010 19:35:

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the report. This looks like it's probably a bug (not a particularly serious one, but worth reporting) on AIX. The 'tanh' configure test diagnoses a similar wrong-sign-of-zero problem on FreeBSD; it looks as though AIX is happy

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: P.S. Was the test with a debug build of Python? If not, could you see if the test failure still occurs with a debug build (i.e., when --with-pydebug is passed as a configure argument)? That would help eliminate compiler optimization bugs as a possible

[issue9920] test_cmath on atan fails on AIX

2010-09-22 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry---one more question: could you tell me what the following gives on the AIX machine? Python 2.7 (r27:82500, Aug 15 2010, 14:21:15) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or

[issue9920] test_cmath on atan fails on AIX

2010-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks; so it's probably not an optimization bug, but rather a math library bug somewhere. And thanks for the tanh result; unfortunately I asked the wrong question---I meant to ask about atanh(complex(-0.0, 0.0)) :( Analysis: atan(z) is com

[issue9930] Incorrect semantics of __radd__ method for builtin types

2010-09-23 Thread Mark Shannon
New submission from Mark Shannon : Attached program fails. See comments in file for details and possible diagnosis -- files: binary_op_mimic.py messages: 117216 nosy: Mark.Shannon priority: normal severity: normal status: open title: Incorrect semantics of __radd__ method for builtin

[issue9930] Incorrect semantics of __radd__ method for builtin types

2010-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: If I understand correctly, the complaint is that (for example) in Python 3.x, we have: Python 3.1.2 (r312:79147, Aug 20 2010, 20:06:00) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or

[issue9930] Incorrect semantics of __radd__ method for builtin types

2010-09-23 Thread Mark Dickinson
Changes by Mark Dickinson : -- versions: +Python 3.2 -Python 2.5, Python 2.6, Python 2.7 ___ Python tracker <http://bugs.python.org/issue9930> ___ ___ Python-bug

[issue9930] Incorrect semantics of __radd__ method for builtin types

2010-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: > PyNumber_Add ends up calling compare_add with the float as its first > argument, which is impossible to do from Python. [Assuming you mean complex_add.] I think this bit is expected, though. complex_add (or float_add, or whatever) provides bo

[issue9930] Incorrect semantics of __radd__ method for builtin types

2010-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: It looks like Mark is right: the wrap_binaryfunc_r subtype check should just be removed. The corresponding check in 2.x only occurs for types which don't have the Py_TPFLAGS_CHECKTYPES flag set. As of 2.7, *all* of the numeric types have this flag se

[issue9930] Incorrect semantics of __radd__ method for builtin types

2010-09-23 Thread Mark Dickinson
Mark Dickinson added the comment: Fixed in r84984 (py3k), r84986 (release31-maint). Thanks for the report! -- assignee: -> mark.dickinson resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tr

[issue9869] long_subtype_new segfault in pure-Python code

2010-09-26 Thread Mark Dickinson
Mark Dickinson added the comment: > Right. In practice, returning a long instead of an int can produce bugs, > mainly because some C functions will only accept ints and refuse longs. I'd say 'in theory' rather than 'in practice' here. In this particular case, I

[issue9869] long_subtype_new segfault in pure-Python code

2010-09-26 Thread Mark Dickinson
Mark Dickinson added the comment: Committed in r85016. I'll take responsibility for any broken 3rd party code... -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python

[issue9959] int(math.log(4,2)) == 1 instead of 2

2010-09-27 Thread Mark Dickinson
Mark Dickinson added the comment: No, it's not really a bug: math.log(x, 2) isn't an atomic operation: it's computed internally as something like log(x) / log(2), and since each of the three steps (computation of the logs, division) can introduce a small rounding error, y

[issue9960] test_structmembers fails on s390x (bigendian 64-bit): int/Py_ssize_t issue

2010-09-27 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker <http://bugs.python.org/issue9960> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9959] int(math.log(4,2)) == 1 instead of 2

2010-09-28 Thread Mark Dickinson
Mark Dickinson added the comment: I've tweaked the loghelper algorithm in r85048. Looking at [n for n in range(100) if log(2**n) != n], I get: Python 3.1: 14 bad values out of 1st 100; first is 29 Python 3.2 (patched): 10 bad values; first is 29 Python 3.2 (unpatched): 25 bad values;

[issue9959] int(math.log(4,2)) == 1 instead of 2

2010-09-28 Thread Mark Dickinson
Mark Dickinson added the comment: > [n for n in range(100) if log(2**n) != n] Should be: [n for n in range(100) if log(2**n, 2) != n] -- ___ Python tracker <http://bugs.python.org/iss

[issue4111] Add Systemtap/DTrace probes

2010-09-28 Thread Mark Wielaard
Mark Wielaard added the comment: > - renamed the probepoints: > "function__entry" -> "frame__entry" > "function__return" -> "frame__exit" >as I believe this better describes what these do Are you sure you want to d

<    6   7   8   9   10   11   12   13   14   15   >