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
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
webpage : http://123maza.com/35/city149/
--
http://mail.python.org/mailman/listinfo/python-list
webpage : http://123maza.com/35/city149/
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
Is there any efficient etl tool developed in python?
--
http://mail.python.org/mailman/listinfo/python-list
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
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/
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
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
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?
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
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
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
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:
--
http://mail.python.org/mailman/listinfo/python-list
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
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
Processes are better for me - the application is already multiprocessing based.
--
http://mail.python.org/mailman/listinfo/python-list
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
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.
--
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
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:
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
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
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
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
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
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
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
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
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
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
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
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.
# 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
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.
--
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
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
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
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
___
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
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
Georg Brandl ge...@python.org added the comment:
Looks good.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9824
___
___
Python-bugs-list
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
___
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
___
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
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
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.
--
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
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
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
___
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
___
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
___
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
___
Changes by Georg Brandl ge...@python.org:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6785
___
___
Python-bugs-list
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
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
___
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
___
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
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
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
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
Georg Brandl ge...@python.org added the comment:
Thanks, Victor!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10783
___
___
Python-bugs-list
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
___
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
--
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)
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
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 -
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
___
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
___
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
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
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
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
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
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
É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
É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
___
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
Éric Araujo mer...@netwok.org added the comment:
Great, thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10774
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10787
___
___
Python-bugs-list
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
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
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
___
R. David Murray rdmur...@bitdance.com added the comment:
See also issue 6533.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6027
___
___
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
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
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 - 100 of 131 matches
Mail list logo