Re: [Python-projects] Py3k port

2010-08-28 Thread Dan Stromberg
BTW, I think SqlAlchemy's sa2to3 wrapper for 2to3 is probably the best way to go for creating code that runs on 2.x and 3.x. This way, you have 2.x and 3.x in the same file, distinguished by comments - things are the same on both by default, or you add magic comments that say "Do it this way for 2

Re: [Python-projects] Py3k port

2010-08-28 Thread Dan Stromberg
On Mon, Aug 23, 2010 at 12:13 AM, Sylvain Thénault < sylvain.thena...@logilab.fr> wrote: > On 20 août 16:24, Dan Stromberg wrote: > > Where is this "data" directory that pytest complains about in the > "common" > > package? It seems to want a bunch of files in there that I didn't get > from > > m

[Python-projects] pylint: false positives E0611, E1101

2010-08-28 Thread Jakub Zytka
Hello I'm getting false positives in a, I confess, quite bizzare case (testcase below). Short story is that I have some dynamically generated python extension module (C++). I also have lots of tests in python and some of them are using the extension module. I run pylint and pytest on these tes