Hi,
There are many options for writing desktop GUI applications with
Python and I'd like to explore some of them. However, to do this I
need to be able to test various Python 3.x X GUI toolkit y.z
combinations.
With PyQt4 this is easy. (Example given at the end.)
I'd like to be able to do the
On Jun/02, Dennis Lee Bieber wrote:
On Sat, 2 Jun 2012 14:57:17 +0200, Matteo Landi mat...@matteolandi.net
declaimed the following in gmane.comp.python.general:
Lesson learned: never invoke Tkinter functions / methods outside the
mainloop
thread.. NEVER!
Typically, that
On Fri, 25 May 2012 15:38:55 -0700, Jon Clements wrote:
Is there a server out there where I can get my news groups? I use to be
with an ISP that hosted usenet servers, but alas, it's no longer
around...
I use Albasani.net (free and very reliable), as well as gmane.org.
Google Groups is an
On 03/06/12 13:59, Colin Higwell wrote:
Google Groups is an abomination IMHO, and I find it much easier to read
mailing lists via a newsreader. I highly recommend Pan, by the way.
I am still surprised how good experience I have with reading news with
Thunderbird. Yes, Pan is better, but it
I'm developing a database (Model Controller) in Python (web2py) that exposes
APIs in REST (HTTP)[CSV, XML, JSON] and RPC (XML, JSON).
The client I'm developing in JavaScript to interface with my remote database
via its API.
Unfortunately JavaScript is rather troublesome when it comes to
On Fri, 01 Jun 2012 20:24:30 -0700, Temia Eszteri wrote:
On 02 Jun 2012 03:05:01 GMT, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I doubt that very much. If you are using threads, it is more likely your
code has a race condition where you are modifying a weak set at the same
On Fri, 01 Jun 2012 09:34:41 -0700, Mark Summerfield wrote:
Hi,
I have multiple Pythons locally installed so that I can test against
different versions. (On a 64-bit Debian stable system.)
[...]
But when I run ~/opt/py32tkmod/bin/python3 tkinter-test.pyw the system
tk is being used not my
Jon Clements wrote:
Hi All,
Normally use Google Groups but it's becoming absolutely frustrating - not only
has the interface changed to be frankly impractical, the posts are somewhat
random of what appears, is posted and whatnot. (Ironically posted from GG)
Is there a server out there
Python uses the Tkinter wrapper around TCL/TK and it remains the same no matter
how may versions of TCL/TK are installed. You will have to build Tkinter
against whatever version you like and make sure that it gets installed in the
/usr/lib64/python directory that you want.
--
On 03 Jun 2012 16:20:11 GMT, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
And should I have known this from your initial post?
I did discuss the matter with Terry Reedy, actually, but I guess since
the newsgroup-to-mailing list mirror is one-way, there's no actual way
you could've
On Sat, 26 May 2012 16:05:23 +0100, duncan smith wrote:
On 25/05/12 23:38, Jon Clements wrote:
[snip]
Is there a server out there where I can get my news groups?
If you don't mind paying a small fee there are several companies
providing usenet access such as http://www.newsdemon.com. (I
Hi,
I am trying to run the ./configure but I keep getting this:
configure:2756: checking for --enable-universalsdk
configure:2797: result: no
configure:2806: checking for --with-universal-archs
configure:2823: result: 32-bit
configure:2980: checking MACHDEP
configure:3129: result: darwin
On Sunday, June 3, 2012 3:19:16 PM UTC-6, Janet Heath wrote:
Hi,
I am trying to run the ./configure but I keep getting this:
configure:2756: checking for --enable-universalsdk
configure:2797: result: no
configure:2806: checking for --with-universal-archs
configure:2823: result: 32-bit
Janet Heath janetcatherine.he...@gmail.com writes:
[...]
configure:3161: checking machine type as reported by uname -m
configure:3164: result: x86_64
configure:3177: checking for --without-gcc
configure:3221: result: no
configure:3282: checking for gcc
configure:3312: result: no
On 2012-06-03, Peter Pearson ppearson@nowhere.invalid wrote:
On Sat, 26 May 2012 16:05:23 +0100, duncan smith wrote:
On 25/05/12 23:38, Jon Clements wrote:
[snip]
Is there a server out there where I can get my news groups?
If you don't mind paying a small fee there are several companies
On Mon, Jun 4, 2012 at 7:19 AM, Janet Heath
janetcatherine.he...@gmail.com wrote:
configure:3534: error: no acceptable C compiler found in $PATH
The configure script is used to build Python from source. To do that,
you need a C compiler (such as gcc, which it went looking for a few
lines
On Sunday, June 3, 2012 3:19:16 PM UTC-6, Janet Heath wrote:
Hi,
I am trying to run the ./configure but I keep getting this:
configure:2756: checking for --enable-universalsdk
configure:2797: result: no
configure:2806: checking for --with-universal-archs
configure:2823: result: 32-bit
On 6/3/12 11:01 PM, Janet Heath wrote:
Thanks Alain. I should have a compiler on my Mac OS X Lion. I am thinking
that it isn't set in my $PATH variable. I don't know where the $PATH is set
at. I will check to see if their is a binary.
Lion does not come with a compiler out-of-box. You
On 6/3/2012 5:01 PM, Janet Heath wrote:
Thanks Alain. I should have a compiler on my Mac OS X Lion. I am thinking
that it isn't set in my $PATH variable. I don't know where the $PATH is set
at. I will check to see if their is a binary.
There are always Windows and OS X binary installers
Thanks Alain. I should have a compiler on my Mac OS X Lion. I am thinking
that it isn't set in my $PATH variable. I don't know where the $PATH is set
at. I will check to see if their is a binary.
--
http://mail.python.org/mailman/listinfo/python-list
You need to install the command
On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote:
Thanks Alain. I should have a compiler on my Mac OS X Lion. I am
thinking that it isn't set in my $PATH variable. I don't know where the
$PATH is set at. I will check to see if their is a binary.
At the command line, run:
echo $PATH
On Jun 3, 2012, at 8:31 PM, Steven D'Aprano wrote:
On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote:
Thanks Alain. I should have a compiler on my Mac OS X Lion. I am
thinking that it isn't set in my $PATH variable. I don't know where the
$PATH is set at. I will check to see if
On Jun 3, 6:31 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
On Sun, 03 Jun 2012 15:01:07 -0700, Janet Heath wrote:
Thanks Alain. I should have a compiler on my Mac OS X Lion. I am
thinking that it isn't set in my $PATH variable. I don't know where the
$PATH is set at.
checking for --with-python... no
checking for python... /usr/bin/python
checking Python interpreter... /usr/bin/python
checking Python version... 2.7.1
checking Python's email package... ok
checking Japanese codecs... ok
checking Korean codecs... ok
checking that Python has a working distutils...
On Sun, Jun 3, 2012 at 9:04 PM, Janet Heath
janetcatherine.he...@gmail.com wrote:
checking for --with-python... no
checking for python... /usr/bin/python
checking Python interpreter... /usr/bin/python
checking Python version... 2.7.1
checking Python's email package... ok
checking Japanese
On Mon, Jun 4, 2012 at 12:49 AM, Chris Rebert c...@rebertia.com wrote:
On Sun, Jun 3, 2012 at 9:04 PM, Janet Heath
janetcatherine.he...@gmail.com wrote:
checking for --with-python... no
checking for python... /usr/bin/python
checking Python interpreter... /usr/bin/python
checking Python
Chris Jerdonek chris.jerdo...@gmail.com added the comment:
See also issue 14787 re: walk_packages(), which also affects versions before
3.3.
--
nosy: +cjerdonek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14982
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
If, after building of Python, libexpat.so (library used by pyexpat module) has
been broken/removed or pyexpat module has been broken/removed, then attempt of
import of _elementtree module, which requires pyexpat
Changes by Zac Medico zmed...@gentoo.org:
--
nosy: +zmedico
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14988
___
___
Python-bugs-list mailing
New submission from Senthil Kumaran sent...@uthcode.com:
python3 -m http.server enables you to serve with SimpleHTTPRequestHandler
serving as http server. If the cgi-bin paths are present those are *not treated
as cgi paths*. Previously in Python2, python -m CGIHTTPServer enabled the
sever
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 935a656359ae by Senthil Kumaran in branch 'default':
Issue 14989: http.server --cgi option can enable the CGI http server.
http://hg.python.org/cpython/rev/935a656359ae
--
nosy: +python-dev
Senthil Kumaran sent...@uthcode.com added the comment:
I have added this in 3.3, I am not sure if adding to 3.2 is a good idea. To
some, it may look like a feature.
--
resolution: - fixed
stage: needs patch - committed/rejected
___
Python tracker
Adrian Bastholm javahax...@gmail.com added the comment:
Thanks a lot for the help, guys !
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14986
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 41e85ac2ccef by Martin v. Löwis in branch '3.2':
Issue #14937: Perform auto-completion of filenames in strings even for
non-ASCII filenames.
http://hg.python.org/cpython/rev/41e85ac2ccef
New changeset 9aa8af0761ef
Martin v. Löwis mar...@v.loewis.de added the comment:
I have now fixed it by looking for the beginning of the string, and not
checking for file name characters at all. There was a related issue that the
auto-complete window would disappear if you type a non-ascii character; I have
fixed that
New submission from Florent Xicluna florent.xicl...@gmail.com:
I've hit this issue while playing with tokenize for the pep8.py module.
The tokenize detect_encoding() should report SyntaxError when the encoding is
improperly declared.
However it raises a LookupError in some cases.
$ ./python
Florent Xicluna florent.xicl...@gmail.com added the comment:
This patch seems to fix the issue.
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file25805/issue14990_detect_encoding.diff
___
Python tracker
Ramchandra Apte maniandra...@gmail.com added the comment:
What is the status of the bug?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
___
Francisco Gracia fgragu...@gmail.com added the comment:
While your are at it, here is another suggestion: what the *Find in files ...*
dialog needs most urgently in my opinion is a field for specifying clearly the
directory from which the user wants to launch the search.
Also in my modest
David Beck db...@ualberta.ca added the comment:
That's a shame, though I guess it means I can stop struggling with the
installation of Tix. Since that's another extension of Tk, the same issue will
probably be lurking in there as well. Maybe I'll give wxPyton or QT a shot.
Thanks for your
Dmitry Shachnev mity...@gmail.com added the comment:
Hmm. So that means the verifiers are not paying attention to the MIME RFC?
That's unfortunate.
It seems that's true...
--
___
Python tracker rep...@bugs.python.org
Daniel Urban urban.dani...@gmail.com added the comment:
I've updated the patch to the current version. I've also checked, that the
tests still pass.
--
nosy: +ncoghlan
Added file: http://bugs.python.org/file25806/copy_metaclass_2.patch
___
Python
R. David Murray rdmur...@bitdance.com added the comment:
Thanks for figuring that out. And no, it doesn't matter if it is
importlib.load_module or __import__, since both are provided by importlib now
and both use the cache.
It's an interesting question where the cache clear should go. I
Natalia natalia.frydr...@gmail.com added the comment:
Hi, I'm attaching a patch that fixes this issue:)
--
keywords: +patch
Added file: http://bugs.python.org/file25807/14894.patch
___
Python tracker rep...@bugs.python.org
Natalia natalia.frydr...@gmail.com added the comment:
I had a wrong return value in one of unit tests, fixed.
--
Added file: http://bugs.python.org/file25808/14894.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14894
Changes by Natalia natalia.frydr...@gmail.com:
Removed file: http://bugs.python.org/file25807/14894.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14894
___
Barry A. Warsaw ba...@python.org added the comment:
On Jun 02, 2012, at 11:33 PM, Eric Snow wrote:
Added file: http://bugs.python.org/file25804/issue14673_full_4.diff
Hi Eric. I'm ready to do a final review and merge this in, but I just want to
be sure I'm looking at the right file. Is
Barry A. Warsaw ba...@python.org added the comment:
On Jun 02, 2012, at 09:59 PM, R. David Murray wrote:
I've applied this to 3.3. Because the preservation of spaces around the
ascii parts is a visible behavior change that could cause working programs to
break, I don't think I can backport it.
Barry A. Warsaw ba...@python.org added the comment:
On Jun 02, 2012, at 08:03 AM, Amaury Forgeot d'Arc wrote:
- _PyNamespace_New should be a public API function. From Python code,
- SimpleNamespace is public.
This is a separate discussion. I'm not opposed, but I don't think this should
be
R. David Murray rdmur...@bitdance.com added the comment:
OK, I'm closing this, then, and will close the related issues as well.
Thanks again for the patch, Ralf.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: -Python 2.7, Python 3.2
R. David Murray rdmur...@bitdance.com added the comment:
This is fixed by the fix in issue 1079. Ralf found a *relatively* backward
compatible way to fix it, but since the point is preserving whitespace that
wasn't preserved before, there is an unavoidable behavior change, so it can't
be
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0808cb8c60fd by R David Murray in branch 'default':
#2658: Add test for issue fixed by fix for #1079.
http://hg.python.org/cpython/rev/0808cb8c60fd
--
nosy: +python-dev
R. David Murray rdmur...@bitdance.com added the comment:
This is fixed by the fix for issue 1079. I've added the test to the test suite.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - decode_header does not follow RFC 2047
versions:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0808cb8c60fd by R David Murray in branch 'default':
#2658: Add test for issue fixed by fix for #1079.
http://hg.python.org/cpython/rev/0808cb8c60fd
--
___
Python tracker
New submission from Raymond Hettinger raymond.hettin...@gmail.com:
Currently, mo.groupdict() always inserts a default value for unmatched named
groups. This is helpful in some use cases and awkward in others.
I propose adding an option to suppress default entries:
# CURRENT WAY
pattern =
Éric Araujo mer...@netwok.org added the comment:
Could you upload just one patch with fix and test, addressing my previous
comments, and remove the old patches? It will make it easier for Eric to
review when he gets some time. Please also keep lines under 80 characters.
Thanks in advance.
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
Added file: http://bugs.python.org/file25809/388411be9b61.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1521950
___
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Closing, as the changes are now incorporated in default, and the buildbots seem
reasonably happy.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
It seems like the patch doesn't consider mixing of positional and keyword
arguments: if you have the format string {foo} {} {bar}, then manual will be
set to True when foo is seen as the field_name, and fail soon after when
is seen as
Eric Snow ericsnowcurren...@gmail.com added the comment:
Is full_4.diff the most up-to-date
patch, and is it complete (i.e. contains all code, docs, and tests)?
Yep. :)
--
___
Python tracker rep...@bugs.python.org
New submission from Gregory P. Smith g...@krypto.org:
==
ERROR: test_exist_ok_existing_directory (__main__.MakedirTests)
--
Traceback (most recent call last):
New submission from André Malo n...@perlig.de:
GCC error when using unicodeobject.h
This ist my first attempt to test an extension with python 3.3. I've been using
the 3.3.0a4 tarball.
I'm using very strict compiler settings when compiling my extension modules,
especially -Wall -Werror
New submission from André Malo n...@perlig.de:
GCC error when using pyerrors.h
This ist my first attempt to test an extension with python 3.3. I've been using
the 3.3.0a4 tarball.
I'm using very strict compiler settings when compiling my extension modules,
especially -Wall -Werror (along
Daniel Harding dhard...@gmail.com added the comment:
The previous version of this patch did not handle bytes arguments correctly and
could fail in conjunction with a non-ASCII compatible encoding. Also, if the
result was a UNC path, it was not being handled correctly (the returned value
Éric Araujo mer...@netwok.org added the comment:
I don’t think this can be defended as a bug fix, so let’s keep 3.2 as it is.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14989
Changes by Gregory P. Smith g...@krypto.org:
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14992
___
___
Python-bugs-list
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
title: PEp 414 tokenizing hook does not preserve tabs - PEP 414 tokenizing
hook does not preserve tabs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14714
Roger Serwy roger.se...@gmail.com added the comment:
fix_12510.patch addresses the issue with the test.
What do you mean by: int.append( does not bring up a tip on either version,
but should if possible. ? The int object does not have append as a method.
--
Added file:
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset fef529f3de5b by Gregory P. Smith in branch '3.2':
Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError
http://hg.python.org/cpython/rev/fef529f3de5b
New changeset eed26e508b7e by Gregory P.
Changes by Gregory P. Smith g...@krypto.org:
--
assignee: - gregory.p.smith
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14992
___
Nick Coghlan ncogh...@gmail.com added the comment:
With a cross link from the header of the module reference to the howto guide, I
think what Sandro posted is good enough for a first draft.
Once the basic content is checked in, then I'll tinker a bit to figure out a
more logical order (and
R. David Murray rdmur...@bitdance.com added the comment:
Instead of doing this we've opted to follow postel and be generous in what we
accept and go ahead and decode even if the leading and/or terminating space is
missing (see issue 1079).
--
resolution: - rejected
status: open -
R. David Murray rdmur...@bitdance.com added the comment:
This is fixed by the fix to issue 1079, but we have decided that fix can't be
backported because it is a behavior change that might break existing working
programs.
--
resolution: - duplicate
stage: - committed/rejected
Brett Cannon br...@python.org added the comment:
I should mention that Guido and others on python-dev mentioned coming up with
an API for finders/loaders that allowed for file-like API and possibly being
able to iterate over available modules when importlib's bootstrapping landed
(sorry,
Brett Cannon br...@python.org added the comment:
Not sure what DirsOnSysPath is, but I have been only calling
importlib.invalidate_caches() as needed in order to not slow down tests
needlessly.
And as for detecting an environment change as necessary, that's essentially
impossible since it's
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13598
___
___
Python-bugs-list
Ronan Lamy ronan.l...@gmail.com added the comment:
I'm not sure that it's enough to test is_package() because that only involves
the loader and not the interaction between it and FileFinder. That's the reason
why my test works at a higher level.
BTW, I sent the contributor agreement.
R. David Murray rdmur...@bitdance.com added the comment:
OK, let's just do it in the individual test, then.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
___
New submission from Ryan Kelly r...@rfk.id.au:
PyLong_FromString will raise a ValueError if the given string doesn't contain a
null byte after the digits. For example, this will result in a ValueError
char *pend;
PyLong_FromString(1234 extra, pend, 10)
While this will successfully read
New submission from Maureen Cuomo mcu...@prestonhs.org:
I have been using ver 3.2.1 without a problem. Downloaded 3.2.3 nd cannot save
any file in idle.
--
components: IDLE
messages: 162243
nosy: mcu...@prestonhs.org
priority: normal
severity: normal
status: open
title: pthon 3.2.3
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 696d3631a4a1 by Benjamin Peterson in branch 'default':
__GNUC__ does not imply gcc version is present, so just check for version
(closes #14994)
http://hg.python.org/cpython/rev/696d3631a4a1
--
nosy:
Benjamin Peterson benja...@python.org added the comment:
It might not matter if it's an extension that everyone implements.
--
nosy: +benjamin.peterson, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14993
New submission from cuulblu k...@fivefingerdesigns.com:
When using Idle any code I attempt to test I get a syntax error in the version
number of the software. Please see the attached image. I have python installed
on three machines and get the same error on all three.
All three machines are
Ned Deily n...@acm.org added the comment:
We need more information to be able to help. What platform and OS version are
you running on? Where did you install Python 3.2.3 from? Exactly what happens
when you try to save a file, i.e. are you using a mouse or a keyboard
accelerator, what
Terry J. Reedy tjre...@udel.edu added the comment:
i12510.test.diff (for Python 3 only) does the following:
* Turn method CallTips.get_entity into a module function as it does not use the
self parameter and is therefore not really an instance method.
* Delete the erroneous _find_constructor
New submission from Shawn Brown 03sjbr...@gmail.com:
This is related to resolved issue 3976 and, to a lesser extent, issue 10017.
I've run across another instance where pprint throws an exception (but works
fine in 2.7 and earlier):
Python 3.2 (r32:88445, Mar 25 2011, 19:28:28)
[GCC 4.5.2]
New submission from Timothy Pederick peder...@gmail.com:
The ctypes ArgumentError exception indicates the location of the problem by
argument number. It counts arguments starting from 1, not 0 as is typical in
Python.
Observed
An example (anonymised) traceback:
Traceback (most
87 matches
Mail list logo