=== Leipzig Python User Group ===
We will meet on Tuesday, June 1, 8:00 pm at the training
center of Python Academy in Leipzig, Germany
( http://www.python-academy.com/center/find.html ).
This meeting is one week earlier than the usual second
Tuesday of each month!
Maik Derstappen will give a
Hi All,
I'm pleased to announce the latest release of esky, an auto-update
framework for frozen python apps. New features include:
* ability to escalate to root privileges when necessary
* better safety guarantees on Windows XP and lower
* better support for py2exe with
Hello,
On 2010-05-28 22:37, Stefan Schwarzer wrote:
=== Leipzig Python User Group ===
We will meet on Tuesday, June 1, 8:00 pm at the training
center of Python Academy in Leipzig, Germany
( http://www.python-academy.com/center/find.html ).
This meeting is one week earlier than the usual
On 29 May 2010 06:44, Mark Dickinson dicki...@gmail.com wrote:
But I was struck by its beauty and
simplicity, and thought it deserved to be better known.
Wow, that took me at least 2 minutes to see its beauty as well. Nice find,
Mark. Thanks for sharing.
(Also, it's nice to see another SOer
Hi at all,
I have a small problem with Py_single_input, that I dont really know
what it
actually does.
I created my own interactive interpreter loop and when I create
objects like
p = TestObject()
this instance is just deleted on Py_Finalize() even I delete the
entire console scope long time
On Fri, Jan 22, 2010 at 6:48 AM, Ethan Furman et...@stoneleaf.us wrote:
Peter wrote:
On Jan 15, 9:12 am, Kevin Walzer k...@codebykevin.com wrote:
On Jan 15, 6:24 am, Mark Rosemanm...@markroseman.com wrote:
Peterpeter.milli...@gmail.com wrote:
Besides, the book is mainly about using
Do we have a standard reference library for Tkinter available?
--
Pradeep
--
http://mail.python.org/mailman/listinfo/python-list
This is probably a really silly question but, given the example code
at the bottom, how would I get a single list?
What I currently get is:
('id', 20, 'integer')
('companyname', 50, 'text')
[('focus', 30, 'text'), ('fiesta', 30, 'text'), ('mondeo', 30,
'text'), ('puma', 30, 'text')]
('contact',
On 29 May 2010 23:24, Astley Le Jasper astley.lejas...@gmail.com wrote:
def createlist():
column_title_list = (
(id,20,integer),
(companyname,50,text),
getproducts(),
# Insert into the list with slicing syntax.
column_title_list[2:3} = getproduct()
Sorry, that should have been [2:3]. Typing a bit too fast.
-Xav
--
http://mail.python.org/mailman/listinfo/python-list
Is printing from GUI still a 'not-happening' thing with Tkinter ? I
have just started learning it.
Tkinter doesn't wrap native printing API's. There are a few extensions
that do it, but they are platform specific and not complete.
The usual ways of printing are like this:
1. If you're
Astley Le Jasper ha scritto:
This is probably a really silly question but, given the example code
at the bottom, how would I get a single list?
What I currently get is:
('id', 20, 'integer')
('companyname', 50, 'text')
[('focus', 30, 'text'), ('fiesta', 30, 'text'), ('mondeo', 30,
'text'),
Mark Dickinson wrote:
N.B. I don't claim any originality for the algorithm; only for the
implementation: the algorithm is based on an algorithm attributed to
Robert Floyd, and appearing in Jon Bentley's 'Programming Pearls' book
Actually it is the sequel, /More Programming Pearls/.
(though
This is a bit embarassing, but I seem to be misunderstanding how \b
works in regexps.
Please can someone explain why the following fails:
from re import compile
p = compile(r'\bword\b')
m = p.match(' word ')
assert m
My understanding is that \b matches a space
\b is NOT spaces
p = re.compile(r'\sword\s')
m = p.match(' word ')
assert m
m.group(0)
' word '
On Sat, May 29, 2010 at 8:34 PM, andrew cooke and...@acooke.org wrote:
This is a bit embarassing, but I seem to be misunderstanding how \b
works in regexps.
Please can someone explain why
andrew cooke and...@acooke.org wrote:
Please can someone explain why the following fails:
from re import compile
p = compile(r'\bword\b')
m = p.match(' word ')
assert m
My understanding is that \b matches a space at the start or end of a
word, and that
Also what you are probably looking for is this I guess,
p = re.compile(r'\bword\b')
m = p.match('word word')
assert m
m.group(0)
'word'
On Sat, May 29, 2010 at 8:44 PM, Shashwat Anand anand.shash...@gmail.comwrote:
\b is NOT spaces
p = re.compile(r'\sword\s')
m = p.match(' word ')
Do you mean Tkinter API reference documentation ? If so, this is what I've
used years back http://www.nmt.edu/tcc/help/pubs/tkinter.pdf
you can also get some info from http://effbot.org/tkinterbook
On Sat, May 29, 2010 at 6:41 PM, Pradeep B pradeepb...@gmail.com wrote:
Do we have a standard
On May 29, 11:24 am, Duncan Booth duncan.bo...@invalid.invalid
wrote:
andrew cooke and...@acooke.org wrote:
Please can someone explain why the following fails:
from re import compile
p = compile(r'\bword\b')
m = p.match(' word ')
assert m
[...]
You
On May 29, 3:43 pm, Bryan bryanjugglercryptograp...@yahoo.com wrote:
Mark Dickinson wrote:
N.B. I don't claim any originality for the algorithm; only for the
implementation: the algorithm is based on an algorithm attributed to
Robert Floyd, and appearing in Jon Bentley's 'Programming
The major Red Hat based Linux distros are still shipping with Python 2.4.
As a result, almost all hosting providers are running obsolete versions of
Python.
The big problem seems to be that cPanel and yum still use older versions
of Python, and those programs are more important to distro
Sorry if this is the wrong ng/ml, but thought I'd better flag this up
somewhere.
I've had an OverflowError using xrange with Python 2.6.5 on Windows.
Googling got me to the subject line.
msg97928 gives a code snippet to overcome the limitations of xrange,
allowing for negative steps,
John Nagle na...@animats.com writes:
The major Red Hat based Linux distros are still shipping with Python 2.4.
Fedora 12 ships with Python 2.6, I think.
--
http://mail.python.org/mailman/listinfo/python-list
I've got Fedora 10 here with 2.5, and 11 at the office with 2.6.
On 29 May 2010 19:58, Paul Rubin no.em...@nospam.invalid wrote:
John Nagle na...@animats.com writes:
The major Red Hat based Linux distros are still shipping with Python 2.4.
Fedora 12 ships with Python 2.6, I think.
--
On May 29, 2010, at 2:58 PM, Paul Rubin wrote:
John Nagle na...@animats.com writes:
The major Red Hat based Linux distros are still shipping with
Python 2.4.
Fedora 12 ships with Python 2.6, I think.
Fedora has been shipping with Python 2.6 since F11 release in June of
2009, and
On Sat, May 29, 2010 at 12:03 PM, Wesley Brooks wesbro...@gmail.com wrote:
On 29 May 2010 19:58, Paul Rubin no.em...@nospam.invalid wrote:
John Nagle na...@animats.com writes:
The major Red Hat based Linux distros are still shipping with Python 2.4.
Fedora 12 ships with Python 2.6, I think.
On Sat, 29 May 2010 19:46:28 +0100
Mark Lawrence breamore...@yahoo.co.uk wrote:
I've had an OverflowError using xrange with Python 2.6.5 on Windows.
Googling got me to the subject line.
msg97928 gives a code snippet to overcome the limitations of xrange,
allowing for negative steps,
Robinow drobi...@gmail.com writes:
Mobile
On May 28, 2010, at 10:05 PM, John Bokma j...@castleamber.com wrote:
Sebastian Bassi sba...@clubdelarazon.org writes:
On Fri, May 28, 2010 at 12:37 AM, John Bokma j...@castleamber.com
wrote:
Even if it's just a few bucks, it's still money saved
Philip Semanchuk wrote:
On May 29, 2010, at 2:58 PM, Paul Rubin wrote:
John Nagle na...@animats.com writes:
The major Red Hat based Linux distros are still shipping with Python
2.4.
Fedora 12 ships with Python 2.6, I think.
Fedora has been shipping with Python 2.6 since F11 release in
Christian Heimes wrote:
[D'Arcy J.M. Cain had written:]
SELECT * FROM NumberOfPets
WHERE name IN (SELECT name FROM CatLovers) OR
name IN (SELECT name FROM DogLovers)
ORDER BY name;
A good way is to use SQL with JOINs instead of horrible nested
selects.
Do show us your join that
Hi
I'm totally new on python and I'm doing an assignement where I'm doing
a class that manipulates a text. The program is also supposed to have
a GUI, for which I have used tkinter.
So far I have entry widgets for file names and buttons, its all
working like I want it to.
What is missing is a way
PLAY CAR RACE GAMES:-
PLAY CAR RACE GAMES ON MY WEB SITE
AND ENJOY UR MIND FRESH AND U CAN
DOWN LOAD ALSO MY GAMES
VISIT http://andhraonlinegames.blogspot,com
--
http://mail.python.org/mailman/listinfo/python-list
* Johan Lans, on 29.05.2010 22:51:
Hi
I'm totally new on python and I'm doing an assignement where I'm doing
a class that manipulates a text. The program is also supposed to have
a GUI, for which I have used tkinter.
So far I have entry widgets for file names and buttons, its all
working like I
On Sat, 29 May 2010 11:43:29 -0700
John Nagle na...@animats.com wrote:
The major Red Hat based Linux distros are still shipping with Python 2.4.
Is anybody trying to do something about this?
Other than not running Linux on our hosting server? My ISP
(http://www.Vex.Net) runs FreeBSD.
On Sat, 29 May 2010 13:45:37 -0700 (PDT)
Bryan bryanjugglercryptograp...@yahoo.com wrote:
You're not doing the query optimizer any favors. It can normalize the
query to the same thing either way, so we might as well write it to be
readable by people. I can read D'Arcy's at a glance.
Assuming
Hi Martin, thanks for the response, please see below.
On 29/05/2010 20:12, Martin Manns wrote:
On Sat, 29 May 2010 19:46:28 +0100
Mark Lawrencebreamore...@yahoo.co.uk wrote:
I've had an OverflowError using xrange with Python 2.6.5 on Windows.
Googling got me to the subject line.
msg97928
On May 28, 10:37 am, Colin J. Williams cjwilliam...@gmail.com
wrote:
On 28-May-10 05:54 AM, Jonathan Hartley wrote:
On May 27, 1:57 pm, Jean-Michel Pichavantjeanmic...@sequans.com
wrote:
HH wrote:
I have a question about best practices when it comes to line wrapping/
continuation and
On 30/05/2010 01:23, john wrote:
On May 28, 10:37 am, Colin J. Williamscjwilliam...@gmail.com
wrote:
On 28-May-10 05:54 AM, Jonathan Hartley wrote:
On May 27, 1:57 pm, Jean-Michel Pichavantjeanmic...@sequans.com
wrote:
HH wrote:
I have a question about best practices when it comes to line
Just curious if anyone would be willing to share their thoughts
about different Python GUI programming modules. I've been
doing a bit of research and am trying to find something that:
1. Is portable. Would like to be able to send the module along
with the main python file that would be able
Redhat as always believed in (sorry if this offends anyone): Use legacy
stuff that works, we don't really give a flying hoot if the rest of the
world has moved on
On Sat, May 29, 2010 at 6:55 PM, D'Arcy J.M. Cain da...@druid.net wrote:
On Sat, 29 May 2010 11:43:29 -0700
John Nagle
And since they're using legacy stuff that works from 3 years ago (no
one upgrades major versions of software in a minor release- hence Win
XP SP3 still coming with IE 6), it's no wonder that they're still on
2.4.
On Sat, May 29, 2010 at 9:05 PM, Someone Something fordhai...@gmail.com wrote:
I know that one is supposed to use make altinstall to install
versions of Python that won't be the primary version. But what
directory names does it use for packages and other support files?
Is this documented somewhere?
I want to make sure that no part of the existing Python installation
I prefer to just break such things into multiple lines. You're doing that
already anyhow, it's not much of a speed hit, and it makes exactly what
you're testing explicit. If I break a statement onto multiple lines I only
use parenthesis, and that is as a last resort. In my opinion there's
Wichert Akkerman wich...@wiggy.net added the comment:
Martin, is there anything we can do to help get this merged? I can really use
this as well.
My background here is that currently the complete zope i18n support abuses
message ids as a workaround, and the result works but is very painful
Per Øyvind Karlsen peroyv...@mandriva.org added the comment:
I've ported pyliblzma to py3k now and also implemented the missing
functionality I mentioned earlier, for anyone interested in my progress the
branch is found at:
https://code.launchpad.net/~proyvind/pyliblzma/py3k
I need to fix
Pascal Chambon chambon.pas...@gmail.com added the comment:
The change was announced in http://docs.python.org/dev/whatsnew/2.7.html, but
indeed it wasn't advertised in py3k changes - my apologies, I didn't check it
was.
I agree that the doc should be clarified on several aspects.
* The
Georg Brandl ge...@python.org added the comment:
OK, I tried again and it worked flawlessly. Maybe I overlooked a stick last
time :)
Committed in r81593.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Well, if I try applying your patch to 3.1 it fails. It would be nice to have
one that applies flawlessly :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8811
Brian Quinlan br...@sweetapp.com added the comment:
A few notes:
1. these types are *not* part of the XML-RPC specification, they are Apache
extensions
2. these types seem designed to accommodate Java
3. some of these types would be very possible to accommodate e.g.
ex:serializable which
Changes by Filippo Giunchedi fgiunch...@gmail.com:
--
nosy: +filippo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5673
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
I'm imagining (for POSIX platforms) adding some kind of check for
signals when the system call returns EINTR. If the signal handler
raises an exception, like an interrupt should raise a
KeyboardInterrupt, we can just give a different return
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - d...@python
components: +Documentation
nosy: +d...@python
title: io.StringIO: truncate+print disabled in 3.1.2 - truncate() semantics
changed in 3.1.2
versions: +Python 2.6, Python 2.7, Python 3.2
Antoine Pitrou pit...@free.fr added the comment:
How about reusing the documentation of legacy file objects:
“Truncate the file’s size. If the optional size argument is present, the file
is truncated to (at most) that size. The size defaults to the current position.
The current file position
Antoine Pitrou pit...@free.fr added the comment:
I've committed a doc update (a mix of the legacy truncate() doc and Pascal's
proposal) in r81594.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8840
Brian Curtin cur...@acm.org added the comment:
Rather than attaching a Word document, can you just enter your information here?
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8849
New submission from David Kirkby david.kir...@onetel.net:
Using Python 2.6.5, the module _socket is failing to build on OpenSolaris. The
problem can be worked around with a hack, but I've not verified if the hack
actually results in working code - but at least it compiles. See below.
The
R. David Murray rdmur...@bitdance.com added the comment:
I can't reproduce this on either 3.1.2 or py3k trunk.
--
nosy: +r.david.murray
resolution: - works for me
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8847
Martin v. Löwis mar...@v.loewis.de added the comment:
Please verify that HAVE_NETPACKET_PACKET_H does indeed get defined, looking at
pyconfig.h.
Please inspect config.log to find out why it does get defined.
--
nosy: +loewis
___
Python tracker
Meador Inge mead...@gmail.com added the comment:
I'm not sure that's a good idea: mightn't this change behaviour for
user-defined classes with a __coerce__ method? Maybe it would be
better to just special-case ints and longs at the start of
complex_richcompare, and then leave everything
David Kirkby david.kir...@onetel.net added the comment:
I was obviously looking for the wrong file. ./pyconfig.h shows:
/* Define to 1 if you have the netpacket/packet.h header file. */
#define HAVE_NETPACKET_PACKET_H 1
the file does indeed exist
drkir...@hawk:~$ find /usr/include -name
Changes by Meador Inge mead...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8748
___
___
Python-bugs-list
Changes by Meador Inge mead...@gmail.com:
--
stage: - needs patch
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2470
___
David Kirkby david.kir...@onetel.net added the comment:
Two points I should have stated.
1)
http://www.lotuseyes.de/blog/error-installing-plone-on-opensolaris-using-the-unified-installer
has a discussion about this issue. It was related to someone trying to install
Plone but the problem is
Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8651
___
___
Python-bugs-list mailing
Changes by Ryan Coyner rcoy...@gmail.com:
--
nosy: +rcoyner
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8650
___
___
Python-bugs-list mailing
Pascal Chambon chambon.pas...@gmail.com added the comment:
Good B-)
Woudl it be necessary to update the docstrings too ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8840
___
New submission from AndiDog andi...@web.de:
socket.getaddrinfo(127.0.0.1, 80L)
error: Int or String expected
I would expect getaddrinfo to convert the port number to an integer.
--
components: Library (Lib)
messages: 106726
nosy: AndiDog
priority: normal
severity: normal
status: open
Martin v. Löwis mar...@v.loewis.de added the comment:
The AF_PACKET support was original meant for Linux. When Solaris now also
supports that socket family, and with a similar interface, it might be
interesting to port that support to Solaris.
If nobody volunteers, it might be easier to
Sean Reifschneider j...@tummy.com added the comment:
In this case, the docs.python.org link you point to seems to be correct, saying
that it returns a timedelta. It is the docstring that says it's minutes east
of UTC.
I've attached a patch which changes this wording to:
timedelta() showing
Éric Araujo mer...@netwok.org added the comment:
I’m not sure about the “with negative” wording.
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8810
___
Sean Reifschneider j...@tummy.com added the comment:
Alternately, here is a patch that just takes the docs.python.org description.
--
Added file: http://bugs.python.org/file17496/python-utcoffsetdoc2.patch
___
Python tracker rep...@bugs.python.org
Sean Reifschneider j...@tummy.com added the comment:
Then how about:
timedelta() showing offset from UTC, negative values indicating West of UTC
?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8810
Éric Araujo mer...@netwok.org added the comment:
timedelta() showing offset from UTC, negative values indicating West of UTC
+1 for the last one.
Micro nit: I would not put parentheses when referring to the type (we
talk about “a list”, not “a list()”).
Micro nit: Some languages use case to
Mark Dickinson dicki...@gmail.com added the comment:
The patch looks good to me. Please replace the tab characters in
datetimemodule.c with spaces, though. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1289118
Sean Reifschneider j...@tummy.com added the comment:
I'm fine without ().
I thought the direction was generally initial-capped, but I may be wrong there.
Let's go with west.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Since 2.7 is nearing the second beta, I’m afraid no new features can be added.
Note that classes using cmd in 3.x get Unicode arguments.
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Correction: beta is behind us, it’s nearly rc time.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8470
___
Éric Araujo mer...@netwok.org added the comment:
Looks good to me. Is there’s no disagreement on this being a bug fix rather
than a new feature, it could go before the rc.
--
components: +Library (Lib) -Extension Modules, Tests
nosy: +merwok
priority: normal -
Changes by Éric Araujo mer...@netwok.org:
--
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8473
___
___
Python-bugs-list
Mark Dickinson dicki...@gmail.com added the comment:
Given the complexities and subtleties of how comparison works in 2.7
I am a little hesitant to commit this change as well.
Understood. Given how long we've lived with this behaviour in 2.x with no
serious ill effects, it's very tempting
Changes by Éric Araujo mer...@netwok.org:
--
assignee: theller - flox
nosy: +d...@python, flox -theller
priority: normal -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8481
___
David Kirkby david.kir...@onetel.net added the comment:
Hi,
thank you for the patch.
I hope you can keep Python building the same modules on Solaris as Linux, as
that would be a real shame if it did not. This module is used in the Sage maths
software.
I had some difficulty applying your
Changes by Éric Araujo mer...@netwok.org:
--
assignee: flox - theller
nosy: +theller -flox
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8481
___
Changes by Éric Araujo mer...@netwok.org:
--
components: +Documentation -Library (Lib)
priority: normal -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8469
___
Changes by Mark Dickinson dicki...@gmail.com:
--
priority: - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8469
___
___
Python-bugs-list
David Kirkby david.kir...@onetel.net added the comment:
I forget to say I had attached the patch 'socketmodule.c.patch' which allows
_socket to build. (I know you can see that if you look, but I thought it useful
to write it).
I do have some other modules not building on OpenSolaris
Zack Goldstein gol...@gmail.com added the comment:
I've started going through the demos. So far I've gone through cgi and classes.
If this is what you're looking for I'll try and go through the rest in the next
week or so.
Python 3.2a0
/cgi
all work
/classes
Complex.py - fail
Éric Araujo mer...@netwok.org added the comment:
Does “tested” in the title of this issue mean “run” or “unit-tested”?
Regarding the 2.7 branch, is this still relevant?
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Tarek, do we change the component to Distutils2?
If so, I’m willing to give this a try.
--
nosy: +merwok
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8501
Zack Goldstein gol...@gmail.com added the comment:
I'm assuming tested means run, and that a good demo is one that works for
some nominal input.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7962
New submission from Marc-Andre Lemburg m...@egenix.com:
When installing Visual Studio 2008 SP1 on a Windows Vista x64 system, the
installer registers the various registry keys under
Software\Wow6432Node\Microsoft\VisualStudio\9.0\
rather than
Software\Microsoft\VisualStudio\9.0\
This is due
New submission from Longpoke longp...@gmail.com:
Loading a shelve can cause arbitrary code to be executed [1] and other black
magic (because it's backed by Pickle). Shouldn't there be a big fat warning at
the top of the shelve documentation page?
Unless you're like me and assume anything to
Changes by Shashwat Anand anand.shash...@gmail.com:
--
nosy: +l0nwlf
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8470
___
___
Python-bugs-list
93 matches
Mail list logo