[issue8863] Segfault handler: display Python backtrace on segfault

2010-08-18 Thread STINNER Victor
STINNER Victor added the comment: dmalcolm asked if it would be possible to display the Python backtrace on Py_FatalError(). I don't know: Py_FatalError() is usually called when Python internals are broken. But well, segfaults do also usually occurs when something is broken :-) -- _

[issue814253] Grouprefs in lookbehind assertions

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I've deliberately changed the stage to patch review and the version to 3.2 to highlight the fact that a lot of work will be needed to get the new regex engine into the standard library. Feel free to change these as is seen fit. -- nosy: +BreamoreBoy s

[issue7647] Add statvfs flags to the posix module

2010-08-18 Thread A.M. Kuchling
A.M. Kuchling added the comment: Committed to 3.2 in rev. 84188; thanks, Adam! -- resolution: -> accepted status: open -> closed ___ Python tracker ___ _

[issue822005] Carbon.CarbonEvt.ReceiveNextEvent args wrong

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: As Carbon is deprecated and the resolution is already won't fix I'll close this in a couple of weeks unless anyone objects. -- nosy: +BreamoreBoy status: open -> pending versions: +Python 3.1, Python 3.2 -Python 2.6

[issue828450] sdist generates bad MANIFEST on Windows

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___ ___

[issue832159] C++ extensions using SWIG and MinGW

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list m

[issue834461] simple bsddb interface potential for deadlock with threads

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as bsddb has been deprecated in 2.x and removed from py3k. -- nosy: +BreamoreBoy resolution: -> out of date status: open -> closed ___ Python tracker _

[issue834840] Unhelpful error message from cgi module

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as no reply to msg109263. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue836035] strftime month name is encoded somehow

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as no reply to msg107343. -- nosy: +BreamoreBoy resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue837046] pyport.h redeclares gethostname() if SOLARIS is defined

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close in a couple of weeks unless someone states this is still a problem. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker ___

[issue843590] 'macintosh' encoding alias for 'mac_roman'

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: @Marc-Andre as there's no comments since your last post would you like to take this forward, cheers. -- nosy: +BreamoreBoy stage: -> patch review versions: +Python 3.2 ___ Python tracker

[issue845560] imaplib: traceback from _checkquote with empty string

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is more trouble than it's worth because it's hopelessly out of date. I think this needs a new patch if it's still relevant or else it should be closed. -- ___ Python tracker

[issue846817] control-c is being sent to child thread rather than main

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as no reply to msg81880. -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list m

[issue849097] Request: getpos() for sgmllib

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Anyone interested in this? I found the patch unreadable but YMMV. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue9635] RFE(patch): add Py_BREAKPOINT and sys.breakpoint hooks

2010-08-18 Thread Dave Malcolm
New submission from Dave Malcolm : It's sometimes useful to be able to programatically inject a breakpoint when debugging CPython. For example, sometimes you want a conditional breakpoint, but the logic involved is too complex to be expressed in the debugger (e.g. runtime complexity of evalua

[issue850482] Enhance frame handing in warnings.warn()

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: needs patch -> patch review versions: +Python 3.2 -Python 2.7 ___ Python tracker ___ ___ Python-

[issue812750] OSA support for properties broken

2010-08-18 Thread Ned Deily
Ned Deily added the comment: Suggest a different wording to reflect that the 3rd-party appscript package has become the de facto standard for AppleScript support, so something like: -stopped, and a replacement is expected for Python 2.5. +stopped. For more up-to-date implementation of AppleScr

[issue9635] RFE(patch): add Py_BREAKPOINT and sys.breakpoint hooks

2010-08-18 Thread Dave Malcolm
Dave Malcolm added the comment: > Note that when running on Linux when _not_ under a debugger, the > default for SIGTRAP is to get a coredump: > Trace/breakpoint trap (core dumped) > so people should be strongly discouraged from adding these calls to > their code. Looks like Windows' DebugBre

[issue822005] Carbon.CarbonEvt.ReceiveNextEvent args wrong

2010-08-18 Thread Ned Deily
Ned Deily added the comment: Carbon does not exist in Python 3. There's no need to wait to close this issue. -- nosy: +ned.deily status: pending -> open versions: -Python 3.1, Python 3.2 ___ Python tracker

[issue868571] HTTPResponse.read(amt) fails when response length is UNKNOWN

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as svn blame shows this is hopelessly out of date. -- nosy: +BreamoreBoy resolution: -> out of date status: open -> closed ___ Python tracker _

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.3" but "10.5" during configure

2010-08-18 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2010-08-17, at 9:01 PM, Ronald Oussoren wrote: > I now understand why my script fails, and it is caused by this issue. > > The sysconfig.py code has another major issue: the use of os.putenv. This > changes the environment, without changing os.environ.

[issue877121] configure detects incorrect compiler optimization

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: This is a Sun Studio problem not a Python problem. -- nosy: +BreamoreBoy resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue877121] configure detects incorrect compiler optimization

2010-08-18 Thread John Levon
John Levon added the comment: That's a little abrupt. Whilst it would be nice if the compiler had a correct return value, it occurs with multiple compilers, and I pointed you to a suitable workaround Python could employ. Even if Studio gets fixed, there are previous releases out there for a lo

[issue822005] Carbon.CarbonEvt.ReceiveNextEvent args wrong

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue877121] configure detects incorrect compiler optimization

2010-08-18 Thread John Levon
John Levon added the comment: Even worse, a nasty hack was added just for Intel's compiler as seen in http://bugs.python.org/issue1162001 -- ___ Python tracker ___

[issue877904] freeze: problems excluding site

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I can't see this happening after 6 1/2 years, feel free to reopen if you want to work on this. -- resolution: -> wont fix status: open -> closed ___ Python tracker _

[issue877121] configure detects incorrect compiler optimization

2010-08-18 Thread R. David Murray
R. David Murray added the comment: I agree, it is the job of the autotools to handle system portability issues such as this, and thus this can be considered a fixable bug. However, it is the kind of thing that is only going to get fixed if someone whom it affects can propose a patch, since I dou

[issue879399] socket line buffering

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'm just wondering if the original code could be the cause of subtle bugs with socket.py, anyone? (I'm no sockets guru). There's a proposed inline patch that's never been implemented, what do you (plural) make of it?. -- nosy: +BreamoreBoy stage: unit

[issue886488] WinPython 2.3.3 crashes using popen2 to spawn lots of child

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Can this be closed as popen2 is deprecated? -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python

[issue9636] {'key': 'value'}[b'key'] raises a BytesWarning

2010-08-18 Thread STINNER Victor
New submission from STINNER Victor : With python3 -bb: {'key': 'value'}[b'key'] raises a BytesWarning, but {'key': 'value'}[b'missing_key'] doesn't. The warning is unexpected here because it's an implicit comparaison (I mean, different than an explicit: 'key' == b'key'), we cannot check that t

[issue9636] {'key': 'value'}[b'key'] raises a BytesWarning

2010-08-18 Thread STINNER Victor
STINNER Victor added the comment: I found this problem while running test_os with python -bb: there is an error on os.get_exec_path() because this function checks if b'PATH' key exists in the input dictionary. Extract of the function: def get_exec_path(env=None): if env is None: e

[issue747320] rfc2822 formatdate functionality duplication

2010-08-18 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: +l0nwlf ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue706406] fix bug #685846: raw_input defers signals

2010-08-18 Thread Michael Stone
Michael Stone added the comment: Wow, you wait 3/4 of a decade or so and the status of these bugs does tend to change on you. I'm not sure it's fixed, but it is different. Here's a test script for you: import readline import signal def handle(a,b): print "received signal" signal.signal(s

[issue5027] xml namespace not understood by xml.sax.saxutils.XMLGenerator

2010-08-18 Thread Troy J. Farrell
Troy J. Farrell added the comment: Hi guys. I'd like to take a moment to remind everyone that this issue has a small patch with two tests and comments. Please don't let it get lost. :) Thanks, Troy -- ___ Python tracker

[issue892902] problem with pickling newstyle class instances

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: This is still a problem with 2.6 and 2.7. I don't know how to test this with py3k as cPickle doesn't exist, can someone advise, thanks. -- nosy: +BreamoreBoy ___ Python tracker

[issue892902] problem with pickling newstyle class instances

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list m

[issue9637] docs do not say that urllib uses HTTP_PROXY

2010-08-18 Thread Kirikaza
New submission from Kirikaza : In practice urllib reads HTTP_PROXY firstly and then if HTTP_PROXY is empty urllib reads http_proxy. Documentation (http://docs.python.org/library/urllib.html) says nothing about HTTP_PROXY. Maybe it affects all the versions of Python. -- assignee: d...@

[issue894936] Have a split corresponding with os.path.join

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close this in a couple of weeks as won't fix unless anyone objects. -- nosy: +BreamoreBoy status: open -> pending versions: -Python 2.7 ___ Python tracker __

[issue6822] Error calling .storlines from ftplib

2010-08-18 Thread Ayman
Ayman added the comment: I do not agree with Antoine. For binary transfer, another method is called, and it does work fine. However, storelines would be called for ASCII mode, in which encoding and decoding should be done by the FTP program. ASCII mode would translate files, so a file load

[issue896330] pyconfig.h is not placed in --includedir

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still a problem, sorry I don't have a box to test it on? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___

[issue900092] hotshot.stats.load fails with AssertionError

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no reply to msg110827. -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___

[issue894936] Have a split corresponding with os.path.join

2010-08-18 Thread Senthil Kumaran
Senthil Kumaran added the comment: Mark, +1 objection against closing this. -- nosy: +orsenthil status: pending -> open ___ Python tracker ___ _

[issue901727] extra_path kwarg to setup() undocumented

2010-08-18 Thread Mark Lawrence
Changes by Mark Lawrence : -- assignee: tarek -> d...@python nosy: +d...@python stage: -> patch review versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0 ___ Python tracker

[issue902061] pydoc insists upon producing file: URLs

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: Closed as a duplicate of #2001, but please keep in mind msg75324. -- nosy: +BreamoreBoy resolution: -> duplicate status: open -> closed ___ Python tracker ___

[issue2001] Pydoc interactive browsing enhancement

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I've closed #902061 as a duplicate of this, but please keep in mind msg75324 from that issue. -- ___ Python tracker ___

[issue902151] Thread start - strange error under Cygwin

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close this in a couple of weeks unless someone shows an interest in running with it. -- nosy: +BreamoreBoy status: open -> pending versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker

[issue903339] OpenVMS file system and UNIVERSAL_NEWLINES support

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I'll close this in a couple of weeks unless anyone objects. -- nosy: +BreamoreBoy status: open -> pending ___ Python tracker ___ __

[issue904498] threading docs, start error should be specified

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: The docs for start() state "This method will raise a RuntimeException if called more than once on the same thread object." -- nosy: +BreamoreBoy resolution: -> out of date status: open -> closed ___ Python tracker

[issue917120] imaplib: incorrect quoting in commands

2010-08-18 Thread Mark Lawrence
Mark Lawrence added the comment: I agree with Dan's comment in msg112741 about dead code so this only applies to 2.7. I'll raise a new issue to get the dead code removed from py3k. -- nosy: +BreamoreBoy stage: unit test needed -> patch review ___ P

[issue9638] remove dead code from py3k imaplib

2010-08-18 Thread Mark Lawrence
New submission from Mark Lawrence : The title says it all. -- files: imaplibpy3k.diff keywords: patch messages: 114331 nosy: BreamoreBoy priority: normal severity: normal stage: patch review status: open title: remove dead code from py3k imaplib versions: Python 3.1, Python 3.2 Added fil

<    1   2