[issue28809] mention asyncio.gather non-deterministic task starting order

2016-11-26 Thread Soren Solari
New submission from Soren Solari: https://github.com/python/asyncio/issues/432 asyncio.gather documentation states: "the returned future’s result is the list of results (in the order of the original sequence, not necessarily the order of results arrival)" An additional statement l

[issue25913] base64.a85decode adobe flag incorrectly utilizes <~ as a marker causing error

2015-12-19 Thread Soren Solari
New submission from Soren Solari: According to the PDF Spec http://www.adobe.com/devnet/pdf/pdf_reference.html section 7.4.3, The ascii85decode function only utilizes ~> as an EOD 2byte character, there is no mention of leading <~. Therefore using the base64.a85decode(data, adobe=True

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-04 Thread Soren Hansen
Soren Hansen so...@linux2go.dk added the comment: When I first investigated this problem (I reported the original bug on Launchpad), my first attempt to address this issue in pymox had me quite stumped. The class in question has a __getattr__ method. Up until now, this hasn't affected the use

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-04 Thread Soren Hansen
Soren Hansen so...@linux2go.dk added the comment: 2011/6/4 Benjamin Peterson rep...@bugs.python.org: 2011/6/4 Soren Hansen rep...@bugs.python.org: So my question is: If this change stays (which seems clear given that the only changes proposed here are ways of relaxing the type requirement

[issue12248] __dir__ semantics changed in Python 2.7.2

2011-06-04 Thread Soren Hansen
Soren Hansen so...@linux2go.dk added the comment: 2011/6/5 Benjamin Peterson rep...@bugs.python.org: 2011/6/4 Soren Hansen rep...@bugs.python.org: ...I end up with a RuntimeError: maximum recursion depth exceeded. I can't say I'm surprised :) Ah, sorry I should have thought before writing

py2app with weave fails

2010-07-16 Thread Soren
Hi, I'm trying to create a standalone app using py2app, but it seems no matter what I do I get this error: Traceback (most recent call last): File /Users/soren/Documents/workspace/bioxtasraw/dist/RAW.app/ Contents/Resources/__boot__.py, line 158, in module _run('RAW.py') File /Users

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

2009-01-21 Thread Soren Roug
New submission from Soren Roug soren.r...@eea.europa.eu: The 'xml' namespace in XML files is special in that it need not be declared. When xml.sax.saxutils.XMLGenerator is used with the namespace feature it does not know how to handle it. Example. The code: import xml.sax, xml.sax.saxutils

[issue4316] Improper use of [] in configure.in leads to useless regexp in configure

2008-11-13 Thread Soren jacobsen
New submission from Soren jacobsen [EMAIL PROTECTED]: NetBSD/1.6[A-S] is what is desired in configure, but the wrong configure.in goop is used, so NetBSD/1.6A-S is generated instead. Apply the attached patch, commit configure.in, run autoreconf, commit configure. -- components: Build

indexing arrays in extensions created with ext_tools (scipy.weave)

2008-10-31 Thread Soren
) in the c code?? I have alot of 2D arrays that needs indexing in the C code.. Any help is appreciated! Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

SWIG Python undefined reference

2008-04-29 Thread Soren
Hi, I went through the SWIG tutorial for the example named simple. I managed to get to the first step, creating example_wrap.c using swig, and doing: gcc -fpic -c example_wrap.c -IC:\python24\include to create example_wrap.o But when I needed to compile the library file using: gcc -shared

Re: SWIG Python undefined reference

2008-04-29 Thread Soren
Ok I found out how to do it using: gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c example.c -lpython24 -o _example.pyd but now I get a dynamic module does not define init function error when I try to import it into python.. Anyone?? Soren -- http://mail.python.org

Re: SWIG Python undefined reference

2008-04-29 Thread Soren
On Apr 29, 11:31 am, Soren [EMAIL PROTECTED] wrote: Ok I found out how to do it using: gcc -Ic:\python24\include -Lc:\python24\libs --shared example_wrap.c example.c -lpython24 -o _example.pyd but now I get a dynamic module does not define init function error when I try to import

Sorting Directories from files in a os.listdir??

2008-04-10 Thread Soren
Hi, I'd like to read the filenames in a directory, but not the subdirectories, os.listdir() gives me everything... how do I separate the directory names from the filenames? Is there another way of doing this? Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: Sorting Directories from files in a os.listdir??

2008-04-10 Thread Soren
On Apr 10, 12:14 pm, Gabriel Genellina [EMAIL PROTECTED] wrote: En Thu, 10 Apr 2008 06:55:13 -0300, Soren [EMAIL PROTECTED] escribió: I'd like to read the filenames in a directory, but not the subdirectories, os.listdir() gives me everything... how do I separate the directory names from

Wxpython. Is it possible to change layout in a running application? Selfmade listbox

2008-04-07 Thread Soren
the button again. Is it at all possible to do this? Has anyone created something similar? Does anyone know what i'm doing wrong? Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

Parallel port control with USB-Parallel converter

2008-02-14 Thread Soren
converter... i guess I would be totally blind. Any help would be appreciated! Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: Parallel port control with USB-Parallel converter

2008-02-14 Thread Soren
-Parallel converter to let me send bytes to it.. I'm all ears!! :) Soren -- http://mail.python.org/mailman/listinfo/python-list

FindWindowById returns None..... ?

2008-01-10 Thread Soren
a None value returned?? using findwindowbyid in gui1 on the same ID works fine.. I'm guessing i'm doing this the wrong way, can anyone comment on this? Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: FindWindowById returns None..... ?

2008-01-10 Thread Soren
On Jan 10, 9:43 am, Soren [EMAIL PROTECTED] wrote: Hi, I'm trying to split my GUI into several files since its beginning to become a bit large.. I've placed a panel class inside gui2.py, but it needs some information from a panel in gui1.py... if I import gui1 in gui2 and try to find

How do I parse a string to a tuple??

2007-04-30 Thread Soren
!, Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: How do I parse a string to a tuple??

2007-04-30 Thread Soren
Thanks alot everyone! Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: Multiple select in wx.GenericDirCrtl

2007-04-28 Thread Soren
On Apr 27, 3:13 pm, [EMAIL PROTECTED] wrote: On Apr 27, 7:31 am, Soren [EMAIL PROTECTED] wrote: Hi! Is it possible to do multiple file selections in a wx.GenericDirCtrl?? Thanks, Soren I'm not finding anything. I do know you can select multiple files using the FileDialog. You should

Multiple select in wx.GenericDirCrtl

2007-04-27 Thread Soren
Hi! Is it possible to do multiple file selections in a wx.GenericDirCtrl?? Thanks, Soren -- http://mail.python.org/mailman/listinfo/python-list

embedding matplotlib in wxpython

2007-04-26 Thread Soren
! Thanks, Soren Code: --- import wx import pylab from matplotlib.numerix import arange, sin, cos, pi import matplotlib matplotlib.use('WXAgg') from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg from matplotlib.backends.backend_wx import

Embedding Matplotlib in wxpython wx.Panel problem

2007-04-25 Thread Soren
containing various settings, buttons etc. to control the plot. So far I can't even get the program to actually show a plot in a panel. Does anyone here have experience in making a wxpython GUI with matplotlib? Any help would be appreciated! Thanks, Soren My code shows a frame, and I'm trying

Python crash after using weave inline

2007-04-18 Thread Soren
Hi, I have a strange and very annoying problem when using weave in scipy.. when I run the code below.. the first time it needs to compile.. it says compiling and then python.exe crashes! and no result is shown.. the second time i run it, it does not compile but gives the completely wrong answer..

Re: Python crash after using weave inline

2007-04-18 Thread Soren
On Apr 18, 10:07 pm, Peter Wang [EMAIL PROTECTED] wrote: Soren, For future reference, you might want to direct weave-related questions to the [EMAIL PROTECTED] mailing list. def cartPolFast(xlen, ylen, x_c, y_c): res = zeros((xlen,ylen)) code = { int xlen, ylen

Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
://www.boost.org'. Can anyone please tell me what I am doing wrong?? Theres no tutorial on how to make a boost-build.jam file.. and as I understand I don't need one as long as I set BOOST_BUILD_PATH .. Any help is apprecieated!! Thanks!, Soren -- http://mail.python.org/mailman/listinfo/python-list

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 12:53, Rob Wolfe [EMAIL PROTECTED] wrote: Soren wrote: Unable to load Boost.Build: could not find boost-build.jam --- Attempted search from C:\boost\boost_1_33_1\libs\python\example \tutorial up to t he root

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 12:53, Rob Wolfe [EMAIL PROTECTED] wrote: Soren wrote: Unable to load Boost.Build: could not find boost-build.jam --- Attempted search from C:\boost\boost_1_33_1\libs\python\example \tutorial up to t he root

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 14:28, Rob Wolfe [EMAIL PROTECTED] wrote: Soren wrote: Try to create boost-build.jam file like this: # boost-build.jam boost-build C:\boost\boost_1_33_1\tools\build\v1 ; Hi Rob, Thanks for the answer! It did solve the error.. but produced a new one: C:\boost

Re: Boost Problem! Boost.Build not found

2007-04-16 Thread Soren
On 16 Apr., 14:28, Rob Wolfe [EMAIL PROTECTED] wrote: Soren wrote: Try to create boost-build.jam file like this: # boost-build.jam boost-build C:\boost\boost_1_33_1\tools\build\v1 ; Hi Rob, Thanks for the answer! It did solve the error.. but produced a new one: C:\boost