ANN : PySWITCH Release – 0.1alpha

2010-12-28 Thread Godson Gera
Hi All, I am glad to announce the first alpha release of PySWITCH. http://pyswitch.sf.net The idea of PySWITCH is to offer a complete library to Python and Twisted programmers for interacting with FreeSWITCH using EventSocket interface. The target is to cover all FreeSWITCH API commands and

[ANNOUNCE] MyHDL 0.7

2010-12-28 Thread Jan Decaluwe
I'm happy to announce MyHDL 0.7. MyHDL is Python used as a Hardware Description Language. Overview: http://www.myhdl.org/doku.php/overview What's new in this release: http://www.myhdl.org/doc/0.7/whatsnew/0.7.html Download: http://sourceforge.net/project/showfiles.php?group_id=91207 Best

hai

2010-12-28 Thread sakthivel vel
webpage : http://123maza.com/35/city149/ -- http://mail.python.org/mailman/listinfo/python-list

hai how are you

2010-12-28 Thread sakthivel vel
webpage : http://123maza.com/35/city149/ -- http://mail.python.org/mailman/listinfo/python-list

mutiprocessing, manager, list threading ?

2010-12-28 Thread mika . saari
Hi, Testing if I could be able to use multiprocessing BaseManager to manage list of instance pointers between processes. If my intance inherits Thread, I get pickling error about _thread.lock. I found Steven Bethard's recipe for this kind of problem in

Python - NAWIT / Community

2010-12-28 Thread flebber
I just wanted to put out a question about IDE's but this is NAWIT - not another which ide thread. My question relates to community contribution. My concern arose when recently installing the pydev.org extensions in Eclipse. Now as far as my understanding goes the licensing on both is open source

Re: Python - NAWIT / Community

2010-12-28 Thread Adam Tauno Williams
On Tue, 2010-12-28 at 02:26 -0800, flebber wrote: Can't help thinking they open sourced Pydev so they could bench it. So? That isn't uncommon at all; to Open Source when you've moved on. I started thinking that the only consistent env each python person has is idle as it ships in the

Re: Python - NAWIT / Community

2010-12-28 Thread flebber
On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2010-12-28 at 02:26 -0800, flebber wrote: Can't help thinking they open sourced Pydev so they could bench it. So?  That isn't uncommon at all;  to Open Source when you've moved on. I started thinking that the

Re: Python - NAWIT / Community

2010-12-28 Thread flebber
On Dec 28, 10:24 pm, flebber flebber.c...@gmail.com wrote: On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2010-12-28 at 02:26 -0800, flebber wrote: Can't help thinking they open sourced Pydev so they could bench it. So?  That isn't uncommon at all;  to

Re: Python - NAWIT / Community

2010-12-28 Thread Adam Tauno Williams
On Tue, 2010-12-28 at 03:24 -0800, flebber wrote: On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2010-12-28 at 02:26 -0800, flebber wrote: Is pydev actively being developed and for who? SPE is a great idea but is Stan still developing? Pyscripter is good

Re: Trying to parse a HUGE(1gb) xml file

2010-12-28 Thread Adam Tauno Williams
On Tue, 2010-12-28 at 07:08 +0100, Stefan Behnel wrote: Roy Smith, 28.12.2010 00:21: To go back to my earlier example of Parental-AdvisoryFALSE/Parental-Advisory using 432 bits to store 1 bit of information, stuff like that doesn't happen in marked-up text documents. Most of the

Re: Python - NAWIT / Community

2010-12-28 Thread flebber
On Dec 28, 10:37 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2010-12-28 at 03:24 -0800, flebber wrote: On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2010-12-28 at 02:26 -0800, flebber wrote: Is pydev actively being developed and for

Re: Python - NAWIT / Community

2010-12-28 Thread flebber
On Dec 28, 11:10 pm, flebber flebber.c...@gmail.com wrote: On Dec 28, 10:37 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2010-12-28 at 03:24 -0800, flebber wrote: On Dec 28, 10:16 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Tue, 2010-12-28 at 02:26

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread Ulrich Eckhardt
Steven D'Aprano wrote: class InternedTuple(tuple): ... _cache = {} ... def __new__(cls, *args): ... t = super().__new__(cls, *args) ... return cls._cache.setdefault(t, t) That looks good. The only thing that first bothered me is that it creates an object and

Re: Python - NAWIT / Community

2010-12-28 Thread Steven D'Aprano
On Tue, 28 Dec 2010 04:10:15 -0800, flebber wrote: Tony Robbins Acheiving a goal is simple, decide what your goal is, set out towards it and consistently review whether you are getting closer or further from your goal and take action immediately. Writing bug-free code is simple: decide what

Re: Trying to parse a HUGE(1gb) xml file

2010-12-28 Thread BartC
Stefan Behnel stefan...@behnel.de wrote in message news:mailman.335.1293516506.6505.python-l...@python.org... Roy Smith, 28.12.2010 00:21: To go back to my earlier example of Parental-AdvisoryFALSE/Parental-Advisory using 432 bits to store 1 bit of information, stuff like that

etl tool!!!!!

2010-12-28 Thread krishna kumar
Is there any efficient etl tool developed in python? -- http://mail.python.org/mailman/listinfo/python-list

Re: etl tool!!!!!

2010-12-28 Thread Stefan Sonnenberg-Carstens
Am 28.12.2010 13:57, schrieb krishna kumar: Is there any efficient etl tool developed in python? Yes, Python. -- http://mail.python.org/mailman/listinfo/python-list

Re: etl tool!!!!!

2010-12-28 Thread Adam Tauno Williams
On Tue, 2010-12-28 at 07:57 -0500, krishna kumar wrote: Is there any efficient etl tool developed in python? What does efficient mean to you? I work on a Python workflow solution that I use to do ETL. https://sourceforge.net/projects/coils/

NameError: global name 'btn_Matlab' is not defined ?

2010-12-28 Thread Stef Mientki
hello, Never seen this before and I've no explanation whatsoever (Python 2.6) I've some dynamic generated code, one of objects generated is a wx.Button, called 'btn_Matlab'. After the code is generated, I can see that the button is created in the local namespace print

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread Steven D'Aprano
On Tue, 28 Dec 2010 13:42:39 +0100, Ulrich Eckhardt wrote: Steven D'Aprano wrote: class InternedTuple(tuple): ... _cache = {} ... def __new__(cls, *args): ... t = super().__new__(cls, *args) ... return cls._cache.setdefault(t, t) That looks good. The only

Re: NameError: global name 'btn_Matlab' is not defined ?

2010-12-28 Thread Steven D'Aprano
On Tue, 28 Dec 2010 14:34:19 +0100, Stef Mientki wrote: hello, Never seen this before and I've no explanation whatsoever (Python 2.6) I've some dynamic generated code, one of objects generated is a wx.Button, called 'btn_Matlab'. How do you generate the code? What code is generated?

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread Stefan Behnel
Steven D'Aprano, 28.12.2010 15:11: On Tue, 28 Dec 2010 13:42:39 +0100, Ulrich Eckhardt wrote: Steven D'Aprano wrote: class InternedTuple(tuple): ... _cache = {} ... def __new__(cls, *args): ... t = super().__new__(cls, *args) ... return

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread Christian Heimes
Am 28.12.2010 15:11, schrieb Steven D'Aprano: # Untested class InternedTuple(tuple): _cache = {} def __new__(cls, *args): t = super().__new__(cls, *args) return cls._cache.setdefault(args, t) def __eq__(self, other): return self is other def

Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
I need to replace the use of 'greenlets' in an application with threads or processes, but as I've never used greenlets, I don't know where to start when replacing them. Could anyone explain to me how I can do this? -- http://mail.python.org/mailman/listinfo/python-list

Re: while True or while 1

2010-12-28 Thread Francesco
hehehehehehe... On 17/12/2010 2.01, Steven D'Aprano wrote: On Thu, 16 Dec 2010 23:34:21 +, BartC wrote: In terms of a more realistic function (admittedly still a little contrived, as the loop would be written differently), I tried this: def p2(n): p=1 while True: if n=p:

hi

2010-12-28 Thread phani indra
-- http://mail.python.org/mailman/listinfo/python-list

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Emile van Sebille
On 12/28/2010 6:59 AM Nathanael Abbotts said... I need to replace the use of 'greenlets' in an application with threads or processes, but as I've never used greenlets, I don't know where to start when replacing them. Could anyone explain to me how I can do this? Looks like your choice may be

Re: Trying to parse a HUGE(1gb) xml file

2010-12-28 Thread Sherm Pendley
BartC b...@freeuk.com writes: Roy Smith, 28.12.2010 00:21: To go back to my earlier example of Parental-AdvisoryFALSE/Parental-Advisory Isn't it possible for XML to define a shorter alias for these tags? Isn't there a shortcut available for /Parental-Advisory in simple examples

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
Processes are better for me - the application is already multiprocessing based. -- http://mail.python.org/mailman/listinfo/python-list

Re: Trying to parse a HUGE(1gb) xml file

2010-12-28 Thread Roy Smith
In article ifcmru$ab...@news.eternal-september.org, BartC b...@freeuk.com wrote: Still, that's 27 times as much as it need be. Readability is fine, but why does the full, expanded, human-readable textual format have to be stored on disk too, and for every single instance? Well, I know the

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
That thread seems to deal with mixing them. I want to replace them completely - is that possible (with either threads or processes)? Some loss of functionality isn't a problem, as the code only seems to use the most basic features of Greenlets. --

Re: mutiprocessing, manager, list threading ?

2010-12-28 Thread John Nagle
On 12/28/2010 1:38 AM, mika.sa...@wipsl.com wrote: Hi, Testing if I could be able to use multiprocessing BaseManager to manage list of instance pointers between processes. If my intance inherits Thread, I get pickling error about _thread.lock. The multiprocessing module works by

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Emile van Sebille
On 12/28/2010 8:07 AM Nathanael Abbotts said... That thread seems to deal with mixing them. I want to replace them completely - is that possible (with either threads or processes)? Are you working with pycsp? the info at http://code.google.com/p/pycsp/wiki/Getting_Started_With_PyCSP says:

Re: How to programmatically exit from wsgi's serve_forever() loop

2010-12-28 Thread python
Hi Ian, You are correct - I missed the following 2 nuances: # need to set poll_interval in order to recognize shutdown request httpd.serve_forever(poll_interval=0.5) # shutdown request must be initiated from ANOTHER thread or will block import threading

Re: Digitally Signing a XML Document (using SHA1+RSA or SHA1+DSA)

2010-12-28 Thread Anurag Chourasia
Dear all, I am required to use the Private Key from that XML below to generate a digital signature. The public key can then be used to validate the generated signature. http://stuvel.eu/rsa does not support PKCS#1 and hence I am required to look for alternates. Please let me know if there is

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread John Nagle
On 12/27/2010 3:05 AM, Ulrich Eckhardt wrote: Hi! I'm trying to solve a computational problem and of course speed and size is important there. Then you probably shouldn't be using CPython. Apart from picking the right algorithm, I came across an idea that could help speed up things and

Re: O'Reilly Python Certification

2010-12-28 Thread J. Altman
On 2010-12-16, Steve Holden st...@holdenweb.com wrote: Each lesson required you to complete a practical assignment. You submit these assignments for evaluation, and do not proceed to the next lesson until your assignment reaches a satisfactory standard. Thus, less experienced students will

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread Hrvoje Niksic
Christian Heimes li...@cheimes.de writes: Also this code is going to use much more memory than an ordinary tuple since every instance of InternedTuple has a __dict__ attribute. This code works but I had to move the cache outside the class because of __slots__. Wouldn't it work inside the

Re: round in 2.6 and 2.7

2010-12-28 Thread Martin v. Loewis
Float-to-string and string-to-float conversions are correctly rounded. The round() function is also now correctly rounded. Not sure that this is correct English; I think it means that the round() function is now correct. Well, the correct result of the example the OP gave would be 9.9

Re: Keeping track of the N largest values

2010-12-28 Thread Miki
I'm processing a stream of N numbers and want to keep track of the K largest. There's too many numbers in the stream (i.e. N is too large) to keep in memory at once. K is small (100 would be typical). ... deque can be bounded by maxsize, might fit the bill: from collections import

Re: Language Detection Library/Code

2010-12-28 Thread Katie T
On Tue, Dec 28, 2010 at 12:42 AM, Shashwat Anand anand.shash...@gmail.com wrote: Regarding dictionary lookup+n-gram approach I didn't quite understand what you wanted to say. Run through trigram analysis first, if it identified multiple languages as being matches within the error margin then

Re: Replacing Greenlets with Threads or Processes

2010-12-28 Thread Nathanael Abbotts
On Tuesday, December 28, 2010 5:04:48 PM UTC, Emile van Sebille wrote: On 12/28/2010 8:07 AM Nathanael Abbotts said... That thread seems to deal with mixing them. I want to replace them completely - is that possible (with either threads or processes)? Are you working with pycsp? the info

Re: round in 2.6 and 2.7

2010-12-28 Thread Terry Reedy
On 12/28/2010 4:47 PM, Martin v. Loewis wrote: Float-to-string and string-to-float conversions are correctly rounded. The round() function is also now correctly rounded. The second line was written to be parallel to the first, but the first is slightly ambiguous in that 'conversions' can

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread Christian Heimes
Am 28.12.2010 21:16, schrieb Hrvoje Niksic: Christian Heimes li...@cheimes.de writes: Also this code is going to use much more memory than an ordinary tuple since every instance of InternedTuple has a __dict__ attribute. This code works but I had to move the cache outside the class because

Re: Interning own classes like strings for speed and size?

2010-12-28 Thread Rami Chowdhury
On Wed, Dec 29, 2010 at 00:45, Christian Heimes li...@cheimes.de wrote: Am 28.12.2010 21:16, schrieb Hrvoje Niksic: Christian Heimes li...@cheimes.de writes: Also this code is going to use much more memory than an ordinary tuple since every instance of InternedTuple has a __dict__ attribute.

Re: Dynamic list name from a string

2010-12-28 Thread DevPlayer
# dynamic_named_obj.py # comp.lang.python # 2010-12 Dec-28 # Topic: Dynamic list name from a string Options # attempts to answer OP's question # DevPlayer - not a solution I'd use # TO Original Poster OP: # Start from the bottom OPTION, the one you requested. # Work your way up and see how it

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: At this point a feature change seems unlikely, Amaury, it is not too late to fix anything that's broken. New features are out, but we are free to fix anything hosed this badly. --

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: But there are probably working usages with unicode strings out there. For example, I've seen code like struct.pack('6sHHBBB', 'GIF87a', ...) Do you suggest to make this 3.1 code stop working in 3.2? In any case, the 'c' format should

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Amaury At this point a feature change seems unlikely, Amaury but it's not too late to emit a DeprecationWarning. I prefer to break the API today than having to maintain a broken API for 10 or 20 years :-) And we have a very small

[issue10773] Building C and C++ Extensions on Windows documentation shows 2.x way of initializing module

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r87524. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10773

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fine with me to fix this API during beta. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1823 ___

[issue10738] webbrowser.py bug with Opera on Linux

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: By all means. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10738 ___ ___ Python-bugs-list

[issue10766] optparse uses %s in gettext calls

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Hmm, argparse is new, so that is a different story. Not so sure about optparse, so I would not put this into 3.2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10766

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9824 ___ ___ Python-bugs-list

[issue10679] make altinstall may clobber OS provided scripts

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Committed in r87525. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10679 ___

[issue2775] Implement PEP 3108

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Alas, too late for 3.2 now. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2775 ___

[issue10784] os.getpriority() and os.setpriority()

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good. Would there be a point in making any of the parameters optional? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10784

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree this automatic conversion is broken and should be fixed. Not sure if emitting a DeprecationWarning now and fixing it 18 months later is the right thing, especially since DeprecationWarnings are now silent. As Victor says, the

[issue10784] os.getpriority() and os.setpriority()

2010-12-28 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Looks good. Would there be a point in making any of the parameters optional? No. The API should look exactly as it does on the system level. Anybody calling these functions should know how call them. --

[issue10777] xml.etree.register_namespace dictionary changed size during iteration

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, this should be fixed in r87526. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10777

[issue10768] Bug in scrolledtext

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87527. Terry, the reason why calling example() interactively failed is the strange way __doc__ is imported -- it is None in your case and that causes the Tkinter type error. I fixed this as well. -- nosy: +georg.brandl

[issue10767] Lib/test/crashers/README is out of date

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87530. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10767 ___

[issue10742] memoryview.readonly attribute is not documented

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added in r87531. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10742 ___

[issue10781] minidom Node.writexml method doesn't manage encoding parameter correctly

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87532. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10781 ___

[issue10708] Misc/porting should be folded in to the development FAQ

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Same for Misc/SpecialBuilds. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10708 ___

[issue6785] IncompleteRead / BadStatus when parsing http://peakoil.mobi

2010-12-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6785 ___ ___ Python-bugs-list

[issue10739] Subprocess behavior on Windows

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I agree that this belongs in the makefile docs. Fixed in r87535. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10670] Provide search scope limits

2010-12-28 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- Removed message: http://bugs.python.org/msg123928 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10670 ___

[issue10609] dbm documentation example doesn't work (iteritems())

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Fixed in r87536. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10609 ___

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Since the Release Manager agrees with the change, I withdraw my objection. I have three remarks to the patch: - Some examples in the documentation should be fixed: http://docs.python.org/dev/py3k/library/struct.html#examples

[issue6210] Exception Chaining missing method for suppressing context

2010-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I'm not sure how that's going to help as I don't want my library code to be responsible for printing out exceptions, I just want them to print reasonably -- and it seems very unreasonable to have the exception I'm converting /from/ show up in

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: As a user of Python 3, I would like echo Victor's comment about fixing the API right now as opposed to having to deal with it later. I can only speak for myself, but I would guess that anyone using Python 3 already understands that it's

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Fixed by r87537. Thanks Amaury for your review! I also removed some ugly (implicit) conversions from test_struct. -- resolution: - fixed status: open - closed ___ Python tracker

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Thanks, Victor! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10783 ___ ___ Python-bugs-list

[issue10783] struct.pack() and Unicode strings

2010-12-28 Thread David Beazley
David Beazley d...@dabeaz.com added the comment: Thanks everyone for looking at this! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10783 ___

[issue10348] multiprocessing: use SysV semaphores on FreeBSD

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Informations about SysV semaphores: - functions: semget(), semop(), semctl(), ftok() - http://perldoc.perl.org/IPC/SysV.html - http://beej.us/guide/bgipc/output/html/multipage/semaphores.html --

[issue10348] multiprocessing: use SysV semaphores on FreeBSD

2010-12-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Examples of programs using SysV semaphores: http://firebird.cvs.sourceforge.net/viewvc/firebird/firebird2/src/jrd/isc_sync.cpp?revision=HEADview=markup (Firebird, search #ifdef USE_SYS5SEMAPHORE sections)

[issue9333] Expose a way to enable os.symlink on Windows

2010-12-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Thanks for having a look. Checked in with the suggested changes to r87539. -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker

[issue10759] HTMLParser.unescape() fails on HTML entities with incorrect syntax (e.g. #hearts; )

2010-12-28 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed this in r87542 in (py3k). unescape is undocumented helper method, so no docs are added. There was already an issue ( Issue6662) on malformed charref handling and it is fixed. -- resolution: - fixed stage: patch review -

[issue10759] HTMLParser.unescape() fails on HTML entities with incorrect syntax (e.g. #hearts; )

2010-12-28 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: r87544 (release27-maint) and r87545 (release31-maint). -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10759 ___

[issue10254] unicodedata.normalize('NFC', s) regression

2010-12-28 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed backports: r87540 (3.1) r87541 (2.7) r87546 (2.6) -- resolution: - fixed stage: commit review - committed/rejected status: open - closed versions: +Python 3.2 ___

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-28 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +easy nosy: +michael.foord versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10786

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: TextTestRunner is initialised with a stream to output messages on that defaults to sys.stderr. The correct way to redirect messages is to construct it with a different stream. If you want a redirectable stream then construct the

[issue10786] unittest.TextTextRunner does not respect redirected stderr

2010-12-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Actually I can't see a good reason why not to just lookup the *current* sys.stderr at instantiation time instead of binding at import time as is the current behaviour. Patch with tests will make it more likely that this change goes in

[issue10787] [random.gammavariate] Add the expression of the distribution in a comprehensive form for random.gammavariate

2010-12-28 Thread David Kremer
New submission from David Kremer david.kremer...@gmail.com: Could you please add the exact form of the distribution, because it's rather confusing in the current form. In this url, the role of k and theta is precised with a formula : [http://tinyurl.com/24jxfrk]* It seems that in

[issue9333] Expose a way to enable os.symlink on Windows

2010-12-28 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Checked in a small doc update in r87547. Removes the part about os.symlink not being available, and mentions the OSError. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9333

[issue6027] test_xmlrpc_net fails when the ISP returns 302 Found

2010-12-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: +1 on simply removing this test. *.xmlrpc.com look(s) totally unmaintained. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6027

[issue1772833] -q (quiet) option for python interpreter

2010-12-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Is it on purpose that no sys.flags attribute has been added for quiet? -- nosy: +eric.araujo versions: +Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue10764] sysconfig and alternative implementations

2010-12-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I suggest this bug is superseded by #9878. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10764 ___

[issue10788] test_logging failure

2010-12-28 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This on the Windows Server 2008 buildbot: (http://www.python.org/dev/buildbot/all/builders/AMD64%20Windows%20Server%202008%203.x) Re-running test 'test_logging' in verbose mode test_flat (test.test_logging.BuiltinLevelsTest) ... FAIL

[issue10774] test_logging leaves temp files

2010-12-28 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Great, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10774 ___ ___ Python-bugs-list

[issue10787] [random.gammavariate] Add the expression of the distribution in a comprehensive form for random.gammavariate

2010-12-28 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10787 ___ ___ Python-bugs-list

[issue10764] sysconfig and alternative implementations

2010-12-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Indeed -- resolution: - duplicate status: open - closed superseder: - Avoid parsing pyconfig.h and Makefile by autogenerating extension module ___ Python tracker rep...@bugs.python.org

[issue10764] sysconfig and alternative implementations

2010-12-28 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: No, issue 9878 can't be implemented for Python 2.7 whereas the issues other implementations have with sysconfig *could* still be resolved in 2.7 as a bugfix. (Specifically for IronPython on Mac OS X it would mean not assuming that

[issue1772833] -q (quiet) option for python interpreter

2010-12-28 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: No, pure ignorance -- should be fixed in r87549. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1772833 ___

[issue6027] test_xmlrpc_net fails when the ISP returns 302 Found

2010-12-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See also issue 6533. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6027 ___ ___

[issue9824] SimpleCookie should escape commas and semi-colons

2010-12-28 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed to py3k in r87550. Since the only application that would trip up would be one not using SimpleCookie to read SimpleCookie generated cookies *and* that doesn't implement unescaping (in which case it wasn't really handling

[issue10738] webbrowser.py bug with Opera on Linux

2010-12-28 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: 3.2,3.1,2.7: r87553, r87554, r87555 -- assignee: - terry.reedy components: +Library (Lib) resolution: - fixed status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-12-28 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: issue2636-20101228a.zip is a new version of the regex module. It now compiles the pattern quickly. -- Added file: http://bugs.python.org/file20182/issue2636-20101228a.zip ___ Python

  1   2   >