Hi,
I'm writing a small translator using pyparsing library v1.5.2
(http://pyparsing.wikispaces.com/) and I'm using it both from command
line
and on Google App Engine. Recently I checked one of my samples which
runs
perfect from CLI against GAE and it throws me "RuntimeError 'maximum
recursion
depth
Out of curiosity: Does anyone know why the code below is valid in python3, but
not python2:
def foo(*args, bar=1, **kwargs):
pass
--
Maciej Dziardziel
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, July 4, 2013 5:05:23 AM UTC+1, alex23 wrote:
> It was an explicit syntax change for Python3. You can read about the
> reasoning behind it here:
>
> http://www.python.org/dev/peps/pep-3102/
Thanks, that was helpful.
Maciej Dziardziel
--
http://mail.python.org/mail
tly or via some DSL).
Can anyone recommend library that provides
good API for declaring data schemas, so I could see how it could be done?
(Doing it is not a problem. Doing it in a way that's convenient for users,
readable and generates good error messages is something I care about).
Th
On Thursday, October 6, 2016 at 7:20:58 AM UTC+1, Lawrence D’Oliveiro wrote:
> What action are users supposed to take on such errors, other than include
> them in a bug report?
By users I mean API users (developers). Most common action would be to add a
missing field, correct typo or change valu
Willie Walker wrote:
> Any advice would be greatly appreciated.
Perhaps strace will tell you something.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
'Not all who wander are lost.' - J.R.R. Tolkien, The Fellowsh
disk space greedy - even if file has 300 bytes, it may take
4kb or more on disk, depending on filesystem and its settings.
Perhaps collecting names starting with the same letter in single file will
be enough.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.
n.write("%d\n" % value)
if value > 1:
calc.stdin.write("*\n")
calc.stdin.write("p\n")
calc.stdin.write("q\n")
calc.stdin.flush()
status = calc.wait()
print calc.stdout.read()
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) p
tool that produce codes in html with syntax coloring?
It is and its called highlight (available in most linux distributions)
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
Gravity isn't MY fault--I voted for velcro!
--
http://mail.python.org/mailman/listinfo/python-list
nows about all platfom quirks.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
If you lost your left arm, your right arm would be left.
--
http://mail.python.org/mailman/listinfo/python-list
(or ntpath), including expanduser, and its better to use
function than relay on some interpreter behaviour that may be different on
jython or ironpython.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
How come in Scooby Doo Fred and Daphne were
programs
> or use windows?
You can achive the same thing in windows by taking different approach,
but i would say that Linux is way more programmer-friendly (especially
Debian ;-)
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
When tempte
control i have
over it, it is also well documented and popular. I suggest first use
Knoppix - Debian based distro, that boots from cd, doesn't require
installation and contains tons of software, including python of course.
Solaris is a different os, has nothing to do with Linux.
--
Maciej &quo
Kartic wrote:
Paul Rubin said the following on 2/3/2005 7:20 PM:
LAMP = Linux/Apache/MySQL/P{ython,erl,HP}. Refers to the general
class of database-backed web sites built using those components. This
being c.l.py, if you want, you can limit your interest to the case the
P stands for Python.
I not
[EMAIL PROTECTED] wrote:
> H!
>
> I'm searching for the fastest way to convert a list to one big string.
>
> For example:
> test = ['test','test2','test3']
'-'.join(test)
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fi
[EMAIL PROTECTED] wrote:
> Hi!!
>
> I finally decided to use ezPyCrypto for my project but I can't download
> it from http://www.freenet.org.nz/ezPyCrypto/ ...
Check this link now, it works for me.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (
on such border cases, instead
of simple "yes/no" answers faq is filled with some advocacy talks ...
regards,
Maciej Mróz
--
http://mail.python.org/mailman/listinfo/python-list
ore then wx. It works great, is well documented (including
python specific issues) and possible GNOME integration might be great help.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
Music is the art of thinking with sounds.
--
http://mail.python.org/mailman/listinfo/python-list
ontent, so it might be possible to recover deleted file,
plus on some systems deleted files are kept for those processes (and only
for them), who are still using them, and disappear when everyone close
them.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fie
On Wednesday, June 18, 2014 8:21:12 PM UTC+1, Maciej Dziardziel wrote:
> I wasn't quiet happy with the way search on pypi works,
>
> so I've got an idea of getting all package metadata from pypi
>
> and do search locally. The only problem is that I can't figure
I wasn't quiet happy with the way search on pypi works,
so I've got an idea of getting all package metadata from pypi
and do search locally. The only problem is that I can't figure out
where to get the data from. I tried to use bandersnatch to
set up mirror, but all I've got was a mixture of egg,
On Wednesday, June 18, 2014 9:12:46 PM UTC+1, Mark Lawrence wrote:
> Why not use google and do a site specific search of pypi?
I am looking for good use of elasticsearch I have there,
rather then quick way of finding something once quickly.
Neither pypi nor google provide faceting for example.
I'
On Saturday, June 21, 2014 1:57:19 AM UTC+1, FraserL wrote:
> I'm not hugely accustomed to Python, but this seems crazy to me.
Floating points values use finite amount of memory, and cannot accurately
represent infinite amount of numbers, they are only approximations. This is
limitation of floa
> Surely the issue of mixing tabs and spaces is much more important than
>
> working systems? :)
Python 3 considers tabs as an error and refuses to work.
--
https://mail.python.org/mailman/listinfo/python-list
is in progress, but over 60% of pypi packages are there,
it should get to 100% within max few hours.
Having the basics working, I hope to polish it soon.
Maciej Dziardziel
fied...@gmail.com
--
https://mail.python.org/mailman/listinfo/python-list
a GUI management console that allows to browse and manage name
servers, message brokers and individual agents in a bigger distributed
system.
--
Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com
--
http://mail.python.org/mailman/listinfo/python-list
Hello Pythonists,
I'd like to write for myself a tiny program that counts time spent on each
virtual desktop (in GNOME). In order to do that, I need my program to
detect the current virtual desktop. I've googled for it for about one hour
and couldn't find any solution. The closest thing I found is
On Mon, 21 Aug 2006 12:52:59 +0200, Harald Karner wrote:
> Maciej Bliziński wrote:
>> How to detect current virtual desktop in GNOME? How to detect a virtual
>> desktop change?
>>
> Take a look at http://wallpapoz.sourceforge.net/
Harald, many thanks.
By the way, I have
Putty wrote:
> Is there such a thing as a special version of python that I can run
> more efficiently from a flash drive?
google for movable python (or similar)
--
Maciej "Fiedzia" Dziardziel ([EMAIL PROTECTED])
In the land of the blind, the one eyed man is king.
--
http:/
[EMAIL PROTECTED] wrote:
> Can somebody give some quick pointers to start off with matplotlib.
>
> Thanks
http://matplotlib.sourceforge.net/tutorial.html
--
Maciej "Fiedzia" Dziardziel ([EMAIL PROTECTED])
If you can read this, you are in phaser range.
--
http://mail
do it? I have found how to
> change colors and underscoring but nothing else.
> Thanks.
Just set text to " whatever".
--
Maciej "Fiedzia" Dziardziel ([EMAIL PROTECTED])
Inside his head is a little dust particle with a sign that says 'Space
for Rent'
ing something like..
>
> x = open("abc.jpg")
> y = x.read()
> tmp = open("newFile.jpg", "w")
> tmp.write(y)
> tmp.close()
> x.close()
>
> ...but that doesn't give me a copy of abc.jpg
>
> any ideas? Thanks
Give us more details. Th
e a way by which i can solve these issues
> revolving around my scripts ???
You can use cxFreeze (http://starship.python.net/crew/atuining/cx_Freeze/)
to freeze python interpreter and all required modules.
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fi
would like
to kindly ask, if anyone has an idea about how to create this data
structure (list of dictionaries of tuples, assuming that size of all
dictionaries is the same), in constant time?
Regards,
Maciej
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
I've come across something that I don't quite understand about
Python's inheritance. Consider the following code snippet:
class A(object):
def call_bar(self): return self.bar()
def call___bar(self): return self.__bar()
def __bar(self): return "A::__bar()"
def bar(self): ret
7;ascii' codec can't decode byte 0xc4 in position
0: ordinal not in range(128)
--
Ran 6 tests in 0.001s
FAILED (errors=1)
Why does this test fail while others are successful? Any ideas?
Regards,
Maciej
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Apr 15, 2009 at 1:10 PM, Georg Brandl wrote:
> Hi,
>
> I managed to screw up the date, so here it goes again:
>
> I'd like to announce that there will be a Python Bug Day on April 25.
> As always, this is a perfect opportunity to get involved in Python
> development, or bring your own issu
) install
portmidi, and pyportmidi seems to want portmidi installed.
Is there any other package that allows sending MIDI events in real
time? Did anyone recently got any of the above packages to work?
Maciej
--
http://mail.python.org/mailman/listinfo/python-list
communication involving many receivers even in case of partial system
failure.
Last but not least, a number of fixes and improvements have been
introduced - please see the changelog.txt file, which is part of the
whole package, for a detailed description of all improvements.
--
Maciej Sobczak
the publish-subscribe scenario.
Please see the changelog.txt file for the detailed list of
improvements.
--
Maciej Sobczak * http://www.inspirel.com
--
http://mail.python.org/mailman/listinfo/python-list
tuple cache reduced the memory
consumption by about 3-4 times (I'm telling that by looking at the
gkrellm display).
Thanks!
Maciej
--
http://mail.python.org/mailman/listinfo/python-list
41 matches
Mail list logo