[issue8829] IDLE editior not opening

2010-05-29 Thread Senthil Kumaran
Senthil Kumaran added the comment: please ask help at python-h...@python.org or comp.lang.python -- nosy: +orsenthil resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread David Kirkby
David Kirkby added the comment: I'd made a mistake when manually applying your patch, although my mistake made no practical difference. I'm attaching a corrected patch, which has all the changes needed to get this to build on OpenSolaris. It basically only checks for things before trying to c

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread David Kirkby
Changes by David Kirkby : Removed file: http://bugs.python.org/file17497/socketmodule.c.patch ___ Python tracker ___ ___ Python-bugs-list maili

[issue8849] python.exe problem with cvxopt

2010-05-29 Thread jroach
jroach added the comment: Brian, I am an engineer who makes significant use of Python, not a computer professional. I hope that I communicate the right information. The operating system is Windows XP Professional. The problem encountered was that a python program invoking cvxopt, that ran per

[issue8470] Let cmd.cmd.intro be unicode friendly

2010-05-29 Thread Shashwat Anand
Changes by Shashwat Anand : -- nosy: +l0nwlf ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue8855] Shelve documentation lacks security warning

2010-05-29 Thread Longpoke
New submission from Longpoke : Loading a shelve can cause arbitrary code to be executed [1] and other black magic (because it's backed by Pickle). Shouldn't there be a big fat warning at the top of the shelve documentation page? Unless you're like me and assume anything to do with serializatio

[issue8854] msvc9compiler.py: find_vcvarsall() doesn't work with VS2008 on Windows x64

2010-05-29 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : When installing Visual Studio 2008 SP1 on a Windows Vista x64 system, the installer registers the various registry keys under Software\Wow6432Node\Microsoft\VisualStudio\9.0\ rather than Software\Microsoft\VisualStudio\9.0\ This is due to some redirec

[issue7962] Demo/ directory needs to be tested and pruned

2010-05-29 Thread Zack Goldstein
Zack Goldstein added the comment: I'm assuming tested means "run", and that a good demo is one that "works" for some nominal input. -- ___ Python tracker ___ ___

[issue8501] --dry-run option doesn't work

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: Tarek, do we change the component to Distutils2? If so, I’m willing to give this a try. -- nosy: +merwok ___ Python tracker ___ __

[issue7962] Demo/ directory needs to be tested and pruned

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: Does “tested” in the title of this issue mean “run” or “unit-tested”? Regarding the 2.7 branch, is this still relevant? -- nosy: +merwok ___ Python tracker __

[issue7962] Demo/ directory needs to be tested and pruned

2010-05-29 Thread Zack Goldstein
Zack Goldstein added the comment: I've started going through the demos. So far I've gone through cgi and classes. If this is what you're looking for I'll try and go through the rest in the next week or so. Python 3.2a0 /cgi all work /classes Complex.py - fail 1 and Comp

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread David Kirkby
David Kirkby added the comment: I forget to say I had attached the patch 'socketmodule.c.patch' which allows _socket to build. (I know you can see that if you look, but I thought it useful to write it). I do have some other modules not building on OpenSolaris (_curses, _curses_panel, _tkint

[issue8469] struct - please make sizes explicit

2010-05-29 Thread Mark Dickinson
Changes by Mark Dickinson : -- priority: -> low ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8469] struct - please make sizes explicit

2010-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- components: +Documentation -Library (Lib) priority: normal -> ___ Python tracker ___ ___ Python-bugs-list

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: flox -> theller nosy: +theller -flox priority: -> normal ___ Python tracker ___ ___ Python-bugs-

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread David Kirkby
David Kirkby added the comment: Hi, thank you for the patch. I hope you can keep Python building the same modules on Solaris as Linux, as that would be a real shame if it did not. This module is used in the Sage maths software. I had some difficulty applying your patch using the 'patch' c

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: theller -> flox nosy: +d...@python, flox -theller priority: normal -> ___ Python tracker ___ ___

[issue8748] integer-to-complex comparisons give incorrect results

2010-05-29 Thread Mark Dickinson
Mark Dickinson added the comment: > Given the complexities and subtleties of how comparison works in 2.7 > I am a little hesitant to commit this change as well. Understood. Given how long we've lived with this behaviour in 2.x with no serious ill effects, it's very tempting to call this a "wo

[issue8473] doctest fails if you have inconsistent lineendings

2010-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8473] doctest fails if you have inconsistent lineendings

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: Looks good to me. Is there’s no disagreement on this being a bug fix rather than a new feature, it could go before the rc. -- components: +Library (Lib) -Extension Modules, Tests nosy: +merwok priority: normal -> ___

[issue8470] Let cmd.cmd.intro be unicode friendly

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: Correction: beta is behind us, it’s nearly rc time. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue8470] Let cmd.cmd.intro be unicode friendly

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: Since 2.7 is nearing the second beta, I’m afraid no new features can be added. Note that classes using cmd in 3.x get Unicode arguments. -- nosy: +merwok ___ Python tracker _

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: I'm fine without (). I thought the direction was generally initial-capped, but I may be wrong there. Let's go with "west". -- ___ Python tracker

[issue1289118] timedelta multiply and divide by floating point

2010-05-29 Thread Mark Dickinson
Mark Dickinson added the comment: The patch looks good to me. Please replace the tab characters in datetimemodule.c with spaces, though. :) -- ___ Python tracker ___ ___

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: > timedelta() showing offset from UTC, negative values indicating West of UTC +1 for the last one. Micro nit: I would not put parentheses when referring to the type (we talk about “a list”, not “a list()”). Micro nit: Some languages use case to distinguish direc

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: Then how about: timedelta() showing offset from UTC, negative values indicating West of UTC ? -- ___ Python tracker ___ __

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: Alternately, here is a patch that just takes the docs.python.org description. -- Added file: http://bugs.python.org/file17496/python-utcoffsetdoc2.patch ___ Python tracker

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Éric Araujo
Éric Araujo added the comment: I’m not sure about the “with negative” wording. -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs

[issue8810] TZ offset description is unclear in docs

2010-05-29 Thread Sean Reifschneider
Sean Reifschneider added the comment: In this case, the docs.python.org link you point to seems to be correct, saying that it returns a timedelta. It is the docstring that says it's minutes east of UTC. I've attached a patch which changes this wording to: timedelta() showing offset from UTC

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: The AF_PACKET support was original meant for Linux. When Solaris now also supports that socket family, and with a similar interface, it might be interesting to port that support to Solaris. If nobody volunteers, it might be easier to restrict this to Linux o

[issue8853] getaddrinfo should accept port of type long

2010-05-29 Thread AndiDog
New submission from AndiDog : socket.getaddrinfo("127.0.0.1", 80L) error: Int or String expected I would expect getaddrinfo to convert the port number to an integer. -- components: Library (Lib) messages: 106726 nosy: AndiDog priority: normal severity: normal status: open title: getaddr

[issue8840] truncate() semantics changed in 3.1.2

2010-05-29 Thread Pascal Chambon
Pascal Chambon added the comment: Good B-) Woudl it be necessary to update the docstrings too ? -- ___ Python tracker ___ ___ Python-

[issue8650] zlibmodule.c isn't 64-bit clean

2010-05-29 Thread Ryan Coyner
Changes by Ryan Coyner : -- nosy: +rcoyner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8651] "s#" and friends can silently truncate buffer length

2010-05-29 Thread Ryan Coyner
Changes by Ryan Coyner : -- nosy: +rcoyner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread David Kirkby
David Kirkby added the comment: Two points I should have stated. 1) http://www.lotuseyes.de/blog/error-installing-plone-on-opensolaris-using-the-unified-installer has a discussion about this issue. It was related to someone trying to install "Plone" but the problem is a failure of _socket t

[issue2470] Need fixer for dl (removed) -> ctypes module

2010-05-29 Thread Meador Inge
Changes by Meador Inge : -- stage: -> needs patch type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue8748] integer-to-complex comparisons give incorrect results

2010-05-29 Thread Meador Inge
Changes by Meador Inge : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread David Kirkby
David Kirkby added the comment: I was obviously looking for the wrong file. ./pyconfig.h shows: /* Define to 1 if you have the header file. */ #define HAVE_NETPACKET_PACKET_H 1 the file does indeed exist drkir...@hawk:~$ find /usr/include -name packet.h /usr/include/netpacket/packet.h -

[issue8748] integer-to-complex comparisons give incorrect results

2010-05-29 Thread Meador Inge
Meador Inge added the comment: > I'm not sure that's a good idea: mightn't this change behaviour for > user-defined classes with a __coerce__ method? Maybe it would be > better to just special-case ints and longs at the start of > complex_richcompare, and then leave everything else more-or-

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please verify that HAVE_NETPACKET_PACKET_H does indeed get defined, looking at pyconfig.h. Please inspect config.log to find out why it does get defined. -- nosy: +loewis ___ Python tracker

[issue8847] crash appending list and namedtuple

2010-05-29 Thread R. David Murray
R. David Murray added the comment: I can't reproduce this on either 3.1.2 or py3k trunk. -- nosy: +r.david.murray resolution: -> works for me ___ Python tracker ___

[issue8852] _socket fails to build on OpenSolaris x64

2010-05-29 Thread David Kirkby
New submission from David Kirkby : Using Python 2.6.5, the module _socket is failing to build on OpenSolaris. The problem can be worked around with a hack, but I've not verified if the hack actually results in working code - but at least it compiles. See below. The problem seems to be that HA

[issue8849] python.exe problem with cvxopt

2010-05-29 Thread Brian Curtin
Brian Curtin added the comment: Rather than attaching a Word document, can you just enter your information here? -- nosy: +brian.curtin ___ Python tracker ___ ___

[issue8840] truncate() semantics changed in 3.1.2

2010-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed a doc update (a mix of the legacy truncate() doc and Pascal's proposal) in r81594. -- ___ Python tracker ___ ___

[issue8840] truncate() semantics changed in 3.1.2

2010-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: How about reusing the documentation of legacy file objects: “Truncate the file’s size. If the optional size argument is present, the file is truncated to (at most) that size. The size defaults to the current position. The current file position is not changed.

[issue8840] truncate() semantics changed in 3.1.2

2010-05-29 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> d...@python components: +Documentation nosy: +d...@python title: io.StringIO: truncate+print disabled in 3.1.2 -> truncate() semantics changed in 3.1.2 versions: +Python 2.6, Python 2.7, Python 3.2 ___ Pyt

[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

2010-05-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I'm imagining (for POSIX platforms) adding some kind of check for > signals when the system call returns EINTR. If the signal handler > raises an exception, like an interrupt should raise a > KeyboardInterrupt, we can just give a different return code and > p

[issue5673] Add timeout option to subprocess.Popen

2010-05-29 Thread Filippo Giunchedi
Changes by Filippo Giunchedi : -- nosy: +filippo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8792] xmlrpclib compatibility issues with Apache XML-RPC library

2010-05-29 Thread Brian Quinlan
Brian Quinlan added the comment: A few notes: 1. these types are *not* part of the XML-RPC specification, they are Apache extensions 2. these types seem designed to accommodate Java 3. some of these types would be very possible to accommodate e.g. ex:serializable which contains a serialized Ja

[issue8811] fixing sqlite3 docs for py3k

2010-05-29 Thread Georg Brandl
Georg Brandl added the comment: Well, if I try applying your patch to 3.1 it fails. It would be nice to have one that applies flawlessly :) -- ___ Python tracker ___ __

[issue8616] Changes to content of Demo/turtle

2010-05-29 Thread Georg Brandl
Georg Brandl added the comment: OK, I tried again and it worked flawlessly. Maybe I overlooked a stick last time :) Committed in r81593. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue8840] io.StringIO: truncate+print disabled in 3.1.2

2010-05-29 Thread Pascal Chambon
Pascal Chambon added the comment: The change was announced in http://docs.python.org/dev/whatsnew/2.7.html, but indeed it wasn't advertised in py3k changes - my apologies, I didn't check it was. I agree that the doc should be clarified on several aspects. * The returned value is the new file