gevent 0.13.1 released

2010-09-23 Thread Denis Bilenko
Hi! I'm happy to announce that Gevent 0.13.1 is released. What is it? gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop. Features include: * Fast event loop based on libevent (epoll on Linux,

Re: Python Macros's Not the Power in OOo they should be ?

2010-09-23 Thread Tim Harig
On 2010-09-23, Lawrence D'Oliveiro l...@geek-central.gen.new_zealand wrote: In message 4d76a2ad-bf85-472e-8c63-ef16f320a...@t11g2000vbc.googlegroups.com, flebber wrote: Has anyone had much success with python macro's. Or developing powerful macro's in an language? I did an application for

Re: ctypes

2010-09-23 Thread Simon Brunning
On 22 September 2010 21:13, jay thompson jayryan.thomp...@gmail.com wrote: Hello, I posted in regard to this in the past but it didn't go very far, no ones fault, but I'm again atempting to make this work and could use some help. I would like to use libraw.dll (http://www.libraw.org/ 

Re: HTML6 proposal (Re: sexp xml syntax transformation)

2010-09-23 Thread smh
The following is not exactly what you are looking for, but you might find it interesting. http://www.franz.com/support/tech_corner/xml-generator-blurb.html This blurb is an example of a self-embedding document. I've used this XML generator in many applications, and it is usually elegant to use

Re: Python Macros's Not the Power in OOo they should be ?

2010-09-23 Thread Boris Borcic
Lawrence D'Oliveiro wrote: flebber wrote: Has anyone had much success with python macro's. Or developing powerful macro's in an language? I did an application for my own use recently, involving automatically generating invoices in editable OOWriter format from my billing database. I gave up

Re: HTML6 proposal (Re: sexp xml syntax transformation)

2010-09-23 Thread Xah Lee
On Sep 23, 1:18 am, smh shafl...@gmail.com wrote: The following is not exactly what you are looking for, but you might find it interesting. http://www.franz.com/support/tech_corner/xml-generator-blurb.html This blurb is an example of a self-embedding document. I've used this XML generator

Re: Python Macros's Not the Power in OOo they should be ?

2010-09-23 Thread Lawrence D'Oliveiro
In message i7eqb3$tg...@speranza.aioe.org, Tim Harig wrote: The UNO architecture seems to have been rather mishandled. While the general idea was nice, the implementation seems to be overly complicated and poorly documented. For an example of a much nicer way of doing things, compare the

Re: Python Macros's Not the Power in OOo they should be ?

2010-09-23 Thread John Pinner
On Sep 23, 10:12 am, Boris Borcic bbor...@gmail.com wrote: Lawrence D'Oliveiro wrote: flebber wrote: Has anyone had much success with python macro's. Or developing powerful macro's in an language? I did an application for my own use recently, involving automatically generating

Scheduling in python

2010-09-23 Thread loial
I want to enable my end users to be able to schedule a task(actually running another python or shell script). Rather than scheduling it directly in cron, are there any python modules I could use? -- http://mail.python.org/mailman/listinfo/python-list

Re: lists and list item matches (ghost wodgame)

2010-09-23 Thread nn
On Sep 22, 6:39 pm, Baba raoul...@gmail.com wrote: On Sep 22, 9:18 pm, Baba raoul...@gmail.com wrote: On Sep 22, 3:38 pm, nn prueba...@latinmail.com wrote: On Sep 21, 6:39 pm, Baba raoul...@gmail.com wrote: Hi query level: beginner as part of a learning exercise i have

Re: lists and list item matches (ghost wodgame)

2010-09-23 Thread nn
On Sep 23, 10:56 am, nn prueba...@latinmail.com wrote: On Sep 22, 6:39 pm, Baba raoul...@gmail.com wrote: On Sep 22, 9:18 pm, Baba raoul...@gmail.com wrote: On Sep 22, 3:38 pm, nn prueba...@latinmail.com wrote: On Sep 21, 6:39 pm, Baba raoul...@gmail.com wrote: Hi query

Re: Check whether file is being written to

2010-09-23 Thread Seebs
On 2010-09-23, loial jldunn2...@gmail.com wrote: How can I check whether a file is being written to by another process before I access it? You mean written to or open for possible writing? It may be possible (with sufficient privileges) to determine that a file has been opened for writing. I

Re: Check whether file is being written to

2010-09-23 Thread Thomas Jollans
On Thursday 23 September 2010, it occurred to loial to exclaim: How can I check whether a file is being written to by another process before I access it? Platform is unix. As such, you can't. But you can lock the file using the functions in the fcntl module. --

Re: Scheduling in python

2010-09-23 Thread Thomas Jollans
On Thursday 23 September 2010, it occurred to loial to exclaim: I want to enable my end users to be able to schedule a task(actually running another python or shell script). Rather than scheduling it directly in cron, are there any python modules I could use? If you have a master process

Distributing Packages

2010-09-23 Thread Greg Lindstrom
I am not intending to start anything, here, but would like to know if any consensus has been reached in how to distribute Python modules. Specifically, I'd like to use something to install packages on various machines in our enterprise (mostly Linux, but some windows boxes, too). I've read up on

Re: Too much code - slicing

2010-09-23 Thread Andreas Waldenburger
On 23 Sep 2010 03:54:52 GMT Seebs usenet-nos...@seebs.net wrote: On 2010-09-23, Steven D'Aprano steve-remove-t...@cybersource.com.au wrote: [snip] I don't see anyone bitching about: for x in seq: if x: f(x) vs [f(x) for x in seq if x] In my case, that's

Re: Too much code - slicing

2010-09-23 Thread Andreas Waldenburger
On 23 Sep 2010 00:33:28 GMT Steven D'Aprano steve-remove-t...@cybersource.com.au wrote: On Tue, 21 Sep 2010 12:26:29 -0400, Andreas Waldenburger wrote: On Sat, 18 Sep 2010 19:09:33 -0700 (PDT) Carl Banks pavlovevide...@gmail.com wrote: On Sep 17, 1:01 pm, Andreas Waldenburger

Re: Too much code - slicing

2010-09-23 Thread Andreas Waldenburger
On Wed, 22 Sep 2010 20:45:55 -0500 John Bokma j...@castleamber.com wrote: What surprises me is that this is still discussed. It's like argueing about significant whitespace. :-) Which is evil! /W -- INVALID? DE! -- http://mail.python.org/mailman/listinfo/python-list

Re: Playing sounds at time indexes

2010-09-23 Thread Thomas Jollans
On Wednesday 22 September 2010, it occurred to OKB (not okblacke) to exclaim: I'm looking for an audio library for Python. I googled and found a few, but none of them seem to have a simple way to play a particular sound file from a particular start-time to an end-time. Like, I'd want

Re: Too much code - slicing

2010-09-23 Thread Seebs
On 2010-09-23, Andreas Waldenburger use...@geekmail.invalid wrote: On 23 Sep 2010 03:54:52 GMT Seebs usenet-nos...@seebs.net wrote: I don't generally like constructs where important structural information comes late in the construct. [snip] I think that is precisely the reason that the

Re: Scheduling in python

2010-09-23 Thread Paul Rudin
loial jldunn2...@gmail.com writes: I want to enable my end users to be able to schedule a task(actually running another python or shell script). Rather than scheduling it directly in cron, are there any python modules I could use? First hit when googling python schedule? --

Re: Check whether file is being written to

2010-09-23 Thread Diez B. Roggisch
Thomas Jollans tho...@jollybox.de writes: On Thursday 23 September 2010, it occurred to loial to exclaim: How can I check whether a file is being written to by another process before I access it? Platform is unix. As such, you can't. But you can lock the file using the functions in the

Re: Playing sounds at time indexes

2010-09-23 Thread Burton Samograd
OKB (not okblacke) brennospamb...@nobrenspambarn.net writes: I'm looking for an audio library for Python. I googled and found a few, but none of them seem to have a simple way to play a particular sound file from a particular start-time to an end-time. Like, I'd want to load a file

collections.namedtuple: conflicting instances?

2010-09-23 Thread David A. Barrett
I've noticed that it's possible to create conflicting instances of the collections.namedtuple class: from collections import namedtuple as nt IX = nt('X', 'a b') IY = nt('Y', 'c d') x = IX(0, 1) y = IY(2, 3) The above are non-conflicting class instances and of two distinct

Re: Subprocess does not return for longer-running process

2010-09-23 Thread Nobody
On Thu, 23 Sep 2010 12:25:53 +1200, Lawrence D'Oliveiro wrote: And I can't think of any reason why you should use os.waitpid() or similar; use the .wait() method. I have used WNOHANG to poll for completion of a subprocess while providing progress updates to the user. This can be done via

Parsing error for ConfigParser

2010-09-23 Thread Andrew Z.
Is there a way to parse RealPlayer's realplayerrc in Python? I need to support Python 2.5 - 2.7 Example code import urllib2 import ConfigParser f = urllib2.urlopen('http://pastebin.com/download.php?i=N1AcUg3w') config = ConfigParser.RawConfigParser() config.readfp(f) Error Traceback (most

Re: Check whether file is being written to

2010-09-23 Thread Nobody
On Thu, 23 Sep 2010 17:55:52 +0200, Diez B. Roggisch wrote: Last time I checked, file-locking in unix was co-operative. Linux supports mandatory locking, but it's seldom enabled. -- http://mail.python.org/mailman/listinfo/python-list

Re: lists and list item matches (ghost wodgame)

2010-09-23 Thread Baba
On Sep 23, 4:17 pm, nn prueba...@latinmail.com wrote: On Sep 23, 10:56 am, nn prueba...@latinmail.com wrote: On Sep 22, 6:39 pm, Baba raoul...@gmail.com wrote: On Sep 22, 9:18 pm, Baba raoul...@gmail.com wrote: On Sep 22, 3:38 pm, nn prueba...@latinmail.com wrote: On Sep 21,

Re: collections.namedtuple: conflicting instances?

2010-09-23 Thread Chris Rebert
On Thu, Sep 23, 2010 at 9:28 AM, David A. Barrett c_bar...@qualcomm.com wrote:  I've noticed that it's possible to create conflicting instances of the collections.namedtuple class:  from collections  import namedtuple as nt  IX = nt('X', 'a b')  IY = nt('Y', 'c d')  x = IX(0, 1)  y = IY(2,

Re: collections.namedtuple: conflicting instances?

2010-09-23 Thread nn
On Sep 23, 1:40 pm, Chris Rebert creb...@ucsd.edu wrote: On Thu, Sep 23, 2010 at 9:28 AM, David A. Barrett c_bar...@qualcomm.com wrote:  I've noticed that it's possible to create conflicting instances of the collections.namedtuple class:  from collections  import namedtuple as nt  

upload file using post to https server

2010-09-23 Thread cerr
hi, I've been unsucessfully trying to upload a file using POST to an https server. I've succesfully logged in and gotten to read something from the server.. I have come up with something like this: authinfo = urllib2.HTTPBasicAuthHandler()

Re: lists and list item matches (ghost wodgame)

2010-09-23 Thread nn
On Sep 23, 1:25 pm, Baba raoul...@gmail.com wrote: On Sep 23, 4:17 pm, nn prueba...@latinmail.com wrote: On Sep 23, 10:56 am, nn prueba...@latinmail.com wrote: On Sep 22, 6:39 pm, Baba raoul...@gmail.com wrote: On Sep 22, 9:18 pm, Baba raoul...@gmail.com wrote: On Sep 22, 3:38 

Re: ctypes

2010-09-23 Thread jay thompson
My apologies! I worte the email while doing 3 other things. I haven't really tried anything to access this struct other than trying to find different elements with ctypes.c_int.in_dll(dll, 'symbol') and access the elements in the same way I do in C. I didn't think either of these would work but

Raw Sockets - IP-Encapsulation

2010-09-23 Thread Matthias Guentert
Hello list members I would like to create an IP tunnel using the IP protocol type 4 (socket.IPPROTO_IPIP) on a Linux host. (I also would be happy if I could create a GRE tunnel) The thing is, I just don't understand how I such a socket could be created and then later on handled. Regarding to

Re: Parsing error for ConfigParser

2010-09-23 Thread Philip Semanchuk
On Sep 23, 2010, at 1:22 PM, Andrew Z. wrote: Is there a way to parse RealPlayer's realplayerrc in Python? I need to support Python 2.5 - 2.7 Example code import urllib2 import ConfigParser f = urllib2.urlopen('http://pastebin.com/download.php?i=N1AcUg3w') config =

Python 2.6: How to turn off cgitb.py's DeprecationWarning: BaseException.message has been deprecated

2010-09-23 Thread python
Python 2.6: We're using the standard lib's cgitb module to provide diagnostic messages when unexpected exceptions occur. Unfortunately, this module raises a DeprecationWarning like below when it is used: C:\Python26\lib\cgitb.py:245: DeprecationWarning: BaseException.message has been deprecated

Re: lists and list item matches (ghost wodgame)

2010-09-23 Thread Baba
On Sep 23, 8:13 pm, nn prueba...@latinmail.com wrote: On Sep 23, 1:25 pm, Baba raoul...@gmail.com wrote: On Sep 23, 4:17 pm, nn prueba...@latinmail.com wrote: On Sep 23, 10:56 am, nn prueba...@latinmail.com wrote: On Sep 22, 6:39 pm, Baba raoul...@gmail.com wrote: On Sep 22,

Re: lists and list item matches (ghost wodgame)

2010-09-23 Thread Baba
On Sep 23, 8:13 pm, nn prueba...@latinmail.com wrote: On Sep 23, 1:25 pm, Baba raoul...@gmail.com wrote: On Sep 23, 4:17 pm, nn prueba...@latinmail.com wrote: On Sep 23, 10:56 am, nn prueba...@latinmail.com wrote: On Sep 22, 6:39 pm, Baba raoul...@gmail.com wrote: On Sep 22,

Re: Best way for rotating a matrix of data?

2010-09-23 Thread Raphaël Plasson
On Sep 23, 1:50 am, Nobody nob...@nowhere.com wrote: You can use arrays as indices, so applying a transformation to a set of index arrays (e.g. np.indices) then using those as indices is equivalent to applying a spatial transform to the data. I am not sure that this would do the trick, e.g.

pyqt on portable python?

2010-09-23 Thread Lee Harr
Is it possible / easy to use PyQt with portable python? I've done some googling and found one message that said this is coming in the next version, but I can't find anything on portablepython.com that mentions it. Has anyone done this before? Have any better information on how to set it up, or

Call for proposals -- PyCon 2011

2010-09-23 Thread Jesse Noller
Call for proposals -- PyCon 2011 -- http://us.pycon.org/2011/ === Proposal Due date: November 1st, 2010 PyCon is back! With a rocking new website, a great location and more Python hackers and luminaries under one roof than you could

Finding email threads with mailbox.mbox

2010-09-23 Thread Skye
Hello, I'm working on a script to read large numbers of mail list archives in mbox format and dump them into a database. I was happy to find mailbox.mbox because I like writing Python =) However I need to find email threads (replies, quoted test, Re: subjects etc) and it doesn't look like

Re: Subprocess does not return for longer-running process

2010-09-23 Thread Lawrence D'Oliveiro
In message pan.2010.09.23.17.17.56.906...@nowhere.com, Nobody wrote: On Thu, 23 Sep 2010 12:25:53 +1200, Lawrence D'Oliveiro wrote: And I can't think of any reason why you should use os.waitpid() or similar; use the .wait() method. I have used WNOHANG to poll for completion of a

Re: Python in Linux - barrier to Python 3.x

2010-09-23 Thread Lawrence D'Oliveiro
In message 2ab95324-4394-4510-b953-3c8555b0a...@q9g2000vbd.googlegroups.com, Ant wrote: Still, no Python 3 unless I upgrade to Fedora 13, and upgrading an OS in order to get the latest version of one package is a bit much! You’re using Fedora, a distro that pretty much demands you upgrade at

Re: Python in Linux - barrier to Python 3.x

2010-09-23 Thread Lawrence D'Oliveiro
In message 87zkvbytnk@web.de, Diez B. Roggisch wrote: Of course, in a ideal world, distutils would hook into the distros dependency system + simply say please install python-dev first. But I'm not convinced that putting the weight here on the shoulders of the python-communtiy to deal

Re: Python in Linux - barrier to Python 3.x

2010-09-23 Thread Lawrence D'Oliveiro
In message mailman.975.1285085609.29448.python-l...@python.org, Antoine Pitrou wrote: comp.lang.python doesn't handle Linux packaging [issues] ... Why not? We regularly seem to was^H^H^Hspend a lot of time with Windows- specific packaging problems, installation problems and configuration

Re: Help needed with Windows Service in Python

2010-09-23 Thread Aahz
In article mailman.376.1283440944.29448.python-l...@python.org, Ian Hobson i...@ianhobson.co.uk wrote: I am attempting to create a Windows Service in Python. BTW, you probably want to subscribe to http://mail.python.org/mailman/listinfo/python-win32 -- Aahz (a...@pythoncraft.com) *

[issue9808] Implement os.getlogin on Windows

2010-09-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The patch looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9808 ___ ___

[issue2175] Expat sax parser silently ignores the InputSource protocol

2010-09-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'll have a look. -- assignee: loewis - georg.brandl nosy: +georg.brandl priority: normal - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2175

[issue2193] Cookie Colon Name Bug

2010-09-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I'll have a look. -- assignee: akuchling - georg.brandl nosy: +georg.brandl priority: normal - critical ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2193

[issue9801] Can not use append/extend to lists in a multiprocessing manager dict

2010-09-23 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Changing to doc issue. -- components: +Documentation -Library (Lib) nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9801

[issue9919] gdbinit lineno result is one line in excess

2010-09-23 Thread qpatata
qpatata qpat...@gmail.com added the comment: Well, me also I'm not expert in gdb. Solution looks nice and previous testcase now gives the correct answer. Thanks a lot for your help. -- ___ Python tracker rep...@bugs.python.org

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2010-09-23 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +ghaering versions: -Python 2.5, Python 2.6, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9924 ___

[issue9920] test_cmath on atan fails on AIX

2010-09-23 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: Thanks for the quick reply Mark. I tried with pydebug and got the same error. Here is the trace for your last question: Python 3.2a2+ (py3k:84969M, Sep 23 2010, 10:55:24) [C] on aix6 Type help, copyright, credits or license for

[issue1743] IDLE fails to launch

2010-09-23 Thread Stephan Bellegy
Stephan Bellegy stephan.bell...@gmail.com added the comment: Reproduced today with Python 2.6.6 and 2.7 on Win7 32 bits. Deleting .idlerc directory made it. Doesn't look like fixed guys ! ;-) -- nosy: +Stephan.Bellegy versions: +Python 2.6 -Python 2.5, Python 3.1

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2010-09-23 Thread Ned Deily
Ned Deily n...@acm.org added the comment: In Python 3, subprocess.Popen returns stdout as bytes rather than string so it seems reasonable that subprocess.getstatusoutput should do the same. subprocess.Popen(['dd if=/dev/random bs=1024 count=1'], shell=True,

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2010-09-23 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Added file: http://bugs.python.org/file18972/issue9922-31.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9922 ___

[issue1175004] Export more libreadline API functions

2010-09-23 Thread strank
Changes by strank str...@strank.info: -- nosy: +strank ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1175004 ___ ___ Python-bugs-list mailing list

[issue9582] documentation line needs rewording

2010-09-23 Thread MunSic JEONG
MunSic JEONG rus...@gmail.com added the comment: uploaded patch. patch could be applied to 2.7-maint and p3k successfuly. single word insert. -- nosy: +ruseel Added file: http://bugs.python.org/file18973/issue9582.patch ___ Python tracker

[issue1743] IDLE fails to launch

2010-09-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Please submit this as a new bug issue, preferably with precise instructions on how to reproduce it. Can you provide some clue how the file became hidden in the first place? -- ___ Python tracker

[issue9920] test_cmath on atan fails on AIX

2010-09-23 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2010-09-23 Thread Gerhard Häring
Gerhard Häring g...@ghaering.de added the comment: Yes Mike. Avoiding unnecessary locks was exactly the reason for this behaviour. I agree that for serializable transactions I'd need to make some changes. -- ___ Python tracker rep...@bugs.python.org

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2010-09-23 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9922 ___ ___ Python-bugs-list

[issue9890] Visual C++ Runtime Library Error is there a fix?

2010-09-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Can you try to open a Command Prompt and type (with the quotes): C:\Program Files\Python\python.exe C:\Program Files\Python\Lib\idle\idle.py Do you see error messages? -- nosy: +amaury.forgeotdarc

[issue9920] test_cmath on atan fails on AIX

2010-09-23 Thread Sébastien Sablé
Sébastien Sablé sa...@users.sourceforge.net added the comment: No problem; I tried with a different compiler this time (gcc instead of xlc) and with -O0 just to be sure it is not a compiler issue. I had the same error. I tried your test and you are right, the problem happens with log1p

[issue9924] sqlite3 SELECT does not BEGIN a transaction, but should according to spec

2010-09-23 Thread Randall Nortman
Changes by Randall Nortman rnpythonb...@wonderclown.net: -- nosy: +rnortman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9924 ___ ___

[issue9868] test_locale leaves locale changed

2010-09-23 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: unittest *can't* know which setUp methods have already been called if an error occurs in one of them (because they are called explicitly by the sub-classes and not by unittest itself). Given this, the specific fix suggested seems good.

[issue9925] Idle doesn't launch

2010-09-23 Thread Stephan Bellegy
New submission from Stephan Bellegy stephan.bell...@gmail.com: Environment is Win7, 32bits. User has Admin rights. I haven't coded in Python at the office for a while and had a little script to write. Thus, I decided to upgrade from 2.6 to 2.7 (that is : 2.6 was already there and functionnal

[issue1743] IDLE fails to launch

2010-09-23 Thread Stephan Bellegy
Stephan Bellegy stephan.bell...@gmail.com added the comment: New bug reported here http://bugs.python.org/issue9925 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1743 ___

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Hello. Probably I found the better solution for this issue. * build_ssl.py always runs before _ssl.vcproj or _hashlib.vcproj is built. (If entire solution is built, run only onece) * When OpenSSL sources are modified, because

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-23 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- resolution: fixed - status: closed - open versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9552

[issue9582] documentation line needs rewording

2010-09-23 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Committed in r84971 and r84972. Thanks. -- assignee: d...@python - brian.curtin nosy: +brian.curtin resolution: - fixed stage: needs patch - committed/rejected ___ Python tracker rep...@bugs.python.org

[issue5497] openssl compileerror with original source

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: PCBuild on py3k have fix for this. We'll need to investigate/merge in other branches and version. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5497

[issue9552] ssl build under Windows always rebuilds OpenSSL

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: - Module/_ssl.c or Module/_hashlib.c are rebuilt + Module/_ssl.c or Module/_hashlib.c won't be rebuilt -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9552

[issue9582] documentation line needs rewording

2010-09-23 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9582 ___ ___

[issue9868] test_locale leaves locale changed

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: unittest *can't* know which setUp methods have already been called if an error occurs in one of them (because they are called explicitly by the sub-classes and not by unittest itself). Well, C++ constructor/destructor behaves

[issue9868] test_locale leaves locale changed

2010-09-23 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Destructors are special cased in many languages and tearDown is not a destructor. More importantly though the change you suggest would be backwards incompatible. The 'correct' way to do this in new code is to use cleanUp functions

[issue678250] test_mmap failling on AIX

2010-09-23 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file18953/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250 ___

[issue678250] test_mmap failling on AIX

2010-09-23 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file18954/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250 ___

[issue678250] test_mmap failling on AIX

2010-09-23 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file18955/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250 ___

[issue678250] test_mmap failling on AIX

2010-09-23 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file18956/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250 ___

[issue678250] test_mmap failling on AIX

2010-09-23 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file18957/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue678250 ___

[issue9926] Wrapped TestSuite subclass does not get __call__ executed

2010-09-23 Thread Martin v . Löwis
New submission from Martin v. Löwis mar...@v.loewis.de: In Python 3.2, when inheriting from TestSuite, it is no longer possible to override __call__ (e.g. to introduce a TestSuite setUp and tearDown). The __call__ method will not be called anymore. Instead, if the object has a _wrapped_run

[issue9925] Idle doesn't launch

2010-09-23 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Is that problem reproducible? I.e. what did you do, in what order, and: when you do it again, will the problem occur again? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org

[issue9868] test_locale leaves locale changed

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: Destructors are special cased in many languages and tearDown is not a destructor. Yes, but they are similar. More importantly though the change you suggest would be backwards incompatible. The 'correct' way to do this in new

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2010-09-23 Thread Brian Bernstein
Brian Bernstein bernie9...@gmail.com added the comment: Experiencing this issue too. It occurs when an xml element contains a blank xmlns attribute, e.g.: {{{ element xmlns=/ }}} When toxml() is called on a minidom document with this attribute, the exception occurs. I am including a simple

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2010-09-23 Thread Brian Bernstein
Changes by Brian Bernstein bernie9...@gmail.com: -- versions: +Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5762 ___ ___

[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG
MunSic JEONG rus...@gmail.com added the comment: As alexandre.vassalotti pointed in msg107596, I added precondition check. * extracted the range check from time_strftime as is_valid_tm. * time_asctime, time_strftime call is_valid_tm * testcase for both asctime and strftime (abbeyj's work)

[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG
Changes by MunSic JEONG rus...@gmail.com: Added file: http://bugs.python.org/file18977/issue6608-timemodule.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6608 ___

[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG
Changes by MunSic JEONG rus...@gmail.com: Removed file: http://bugs.python.org/file18977/issue6608-timemodule.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6608 ___

[issue6608] asctime does not check its input

2010-09-23 Thread MunSic JEONG
Changes by MunSic JEONG rus...@gmail.com: Added file: http://bugs.python.org/file18978/issue6608-testcase.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6608 ___

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: I've found there are leaks around GetFinalPathNameByHandle in Modules/posixmodule.c. (Leaks when function fails) I hope attached patch will fix this. -- components: Windows files:

[issue9926] Wrapped TestSuite subclass does not get __call__ executed

2010-09-23 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Right, _wrapped_run is private and not intended to be overridden. Perhaps slightly ironically (for this particular bug report) is that the change was introduced to support class and module level setUp and tearDown (similar to the

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: About buffer size, GetFinalPathNameByHandle may return the length or string or the size of required buffer size (the length of striing + 1) depending on platforms and ANSI/WIDE version. If function returns the length of string

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: -- Removed message: http://bugs.python.org/msg117199 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9927 ___

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- components: +Extension Modules nosy: +brian.curtin, jaraco stage: - patch review type: - resource usage ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9927

[issue9927] Leak around GetFinalPathNameByHandle (Windows)

2010-09-23 Thread Hirokazu Yamamoto
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I cannot test this directly. Thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9927 ___

[issue9926] Wrapped TestSuite subclass does not get __call__ executed

2010-09-23 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Hmmm... 2.7 has already been released and has the same issue, so 'drastic' changes (like renaming BaseTestSuite back to TestSuite) are probably out. -- components: +Library (Lib) versions: +Python 2.7

[issue9919] gdbinit lineno result is one line in excess

2010-09-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- components: +Demos and Tools versions: +Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9919 ___

[issue9801] Can not use append/extend to lists in a multiprocessing manager dict

2010-09-23 Thread James Hutchison
James Hutchison jamesghutchi...@gmail.com added the comment: Is there a way to get this so it behaves more intuitively? You'd think adding a managed list to a managed dictionary (or another managed list) or making a deep copy would work but it still doesn't. When you get an item from a managed

  1   2   >