Hello,
The ATOMac team is proud to announce a new release of ATOMac.
About ATOMac:
Short for Automated Testing on Mac, ATOMac is the first Python library
to fully enable GUI testing of Macintosh applications via the Apple
Accessibility API. Existing tools such as using appscript to send
Neal Becker ndbeck...@gmail.com writes:
I wonder if there is a recommended approach to handle this issue.
Suppose objects of a class C are serialized using python standard pickling.
Later, suppose class C is changed, perhaps by adding a data member and a new
constructor argument.
It
Christophe Vandeplas christo...@vandeplas.com writes:
...
From the documentation I understand that deques are thread-safe:
Deques are a generalization of stacks and queues (the name is pronounced
“deck”
and is short for “double-ended queue”). Deques support thread-safe, memory
efficient
The attached message was mark as SPAM. The message was not delivered.---BeginMessage---
Some parts of this message were removed because they violated your mail
server's policies.
message.zip was removed from the message because it violates your mail server's
policy.
---BeginMessage---
The
On Fri, 12 Oct 2012 21:49:55 -0700 (PDT)
nbvf...@gmail.com wrote:
http://giotto.readthedocs.org/en/latest/tutorial.html
Can someone give me some feedback on what they think of this framework? I
came up with the idea of this framework a few months ago. I gave a talk at a
local python user
On Sat, Oct 13, 2012 at 12:32:41AM +, Steven D'Aprano wrote:
He gets SyntaxError because you can't follow a semicolon with a
statement that begins a block.
Can someone provide a link on where to find this type of information?
I was just hunting through “The Python Language Reference” and
On Sat, Oct 13, 2012 at 7:41 PM, Thomas Bach
thb...@students.uni-mainz.de wrote:
On Sat, Oct 13, 2012 at 12:32:41AM +, Steven D'Aprano wrote:
He gets SyntaxError because you can't follow a semicolon with a
statement that begins a block.
Can someone provide a link on where to find this
On Fri, 12 Oct 2012 12:28:17 -0400, Dave Angel wrote:
Using bare excepts is almost never a good idea. If it works you get no
clues what went wrong. For example, a typo in source code can trigger a
bare exception, as can a user typing Ctrl-C. So when you're using bare
excepts, you have
I'm working with the readline module, and I'm trying to set a key
combination to process the current command line by calling a known
function, *and* enter the command line.
Something along the lines of:
* execute function spam() in some context where it can access
the current command line
On 13 Oct 2012 13:30:14 GMT
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
I'm working with the readline module, and I'm trying to set a key
combination to process the current command line by calling a known
function, *and* enter the command line.
Something along the lines
Wanderer於 2012年10月12日星期五UTC+8下午11時36分27秒寫道:
I'm trying to write some code that will load one of three dll depending on
the one available. I've tried the code below, but it doesn't work. The try
except doesn't catch the exception. Is there a way to do this?
try:
On Sun, Oct 14, 2012 at 12:44 AM, Etienne Robillard
animelo...@gmail.com wrote:
Why dont you grow yourself some usable neurons instead ? Don't you realize
now stackoverflow.com is starting
to hurt your capacity to cogitate on your own or have you not realized this
yet?
Excuse me?
I'm not
On Sun, 14 Oct 2012 00:47:52 +1100
Chris Angelico ros...@gmail.com wrote:
Excuse me?
I'm not overly familiar with readline, so perhaps there is a really
obvious way to do what Steven's trying to do, but this post does not
appear to be the result of a lack of thinking.
If it really IS
On Sat, Oct 13, 2012 at 3:49 PM, nbvf...@gmail.com wrote:
Basically its a framework that forces the developer(s) to strictly separate
the model from the view and controller. You can 'hook up' multiple
controllers to a project. The model layer can be completely mocked out so
front end
On Sun, 14 Oct 2012 01:12:30 +1100
Chris Angelico ros...@gmail.com wrote:
On Sat, Oct 13, 2012 at 3:49 PM, nbvf...@gmail.com wrote:
Basically its a framework that forces the developer(s) to strictly separate
the model from the view and controller. You can 'hook up' multiple
controllers
:
Not sure exactly how to put this ...
I'm a mostly passive subscriber to this list - my posts here over the
years could probably be counted without having to take my socks off -
so perhaps I have no right to comment, but I've noticed a marked
increase in aggressive language here lately, so I'm
On Sat, 13 Oct 2012 11:21:28 -0400
Zero Piraeus sche...@gmail.com wrote:
:
Not sure exactly how to put this ...
I'm a mostly passive subscriber to this list - my posts here over the
years could probably be counted without having to take my socks off -
so perhaps I have no right to
On Saturday, October 13, 2012 10:13:22 AM UTC-4, Chris Angelico wrote:
On Sat, Oct 13, 2012 at 3:49 PM, nbvf...@gmail.com wrote:
Basically its a framework that forces the developer(s) to strictly separate
the model from the view and controller. You can 'hook up' multiple
controllers to
On Sat, 13 Oct 2012 08:57:47 -0700 (PDT)
nbvf...@gmail.com wrote:
Do you have an example of a task that giotto can't handle that other
frameworks can? One of my goals is to have this framework turing complete
in the sense that everything that other frameworks can do, giotto should be
able
On 13 October 2012 16:21, Zero Piraeus sche...@gmail.com wrote:
:
Not sure exactly how to put this ...
I'm a mostly passive subscriber to this list - my posts here over the
years could probably be counted without having to take my socks off -
so perhaps I have no right to comment, but I've
On 13 October 2012 10:03, Chris Angelico ros...@gmail.com wrote:
On Sat, Oct 13, 2012 at 7:41 PM, Thomas Bach
thb...@students.uni-mainz.de wrote:
On Sat, Oct 13, 2012 at 12:32:41AM +, Steven D'Aprano wrote:
He gets SyntaxError because you can't follow a semicolon with a
statement
On Sun, Oct 14, 2012 at 2:57 AM, nbvf...@gmail.com wrote:
Do you have an example of a task that giotto can't handle that other
frameworks can? One of my goals is to have this framework turing complete
in the sense that everything that other frameworks can do, giotto should be
able to do. I
On Sun, Oct 14, 2012 at 3:38 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
This here isn't a flaw in Python, though. It's a flaw in the command-line
interpreter. By putting it all on one line, you are effectively saying:
group these. Which is the same as an if True: block, and some things
On Sun, Oct 14, 2012 at 2:21 AM, Zero Piraeus sche...@gmail.com wrote:
I'm a mostly passive subscriber to this list - my posts here over the
years could probably be counted without having to take my socks off -
so perhaps I have no right to comment, but I've noticed a marked
increase in
Chris Angelico writes:
Here's a side challenge. In any shell you like, start with this
failing statement, and then fix it without retyping anything:
sikorsky@sikorsky:~$ python -c a=1; if a: print(a)
File string, line 1
a=1; if a: print(a)
^
SyntaxError: invalid syntax
On Sun, Oct 14, 2012 at 4:43 AM, Jussi Piitulainen
jpiit...@ling.helsinki.fi wrote:
Chris Angelico writes:
Here's a side challenge. In any shell you like, start with this
failing statement, and then fix it without retyping anything:
sikorsky@sikorsky:~$ python -c a=1; if a: print(a)
C-v
On Sat, Oct 13, 2012 at 7:50 PM, Santosh Kumar sntshkm...@gmail.com wrote:
Where are the documentation for Gnome's EOG? I want to develop a
plugin in Python.
On 10/13/12, Santosh Kumar sntshkm...@gmail.com wrote:
--
http://mail.python.org/mailman/listinfo/python-list
On Saturday, October 13, 2012 12:48:23 PM UTC-4, Chris Angelico wrote:
No, I don't, because I haven't tried to use it. But allow me to give
two examples, one on each side of the argument.
The 'tee' utility is primarily for writing a pipe to disk AND to
further pipelining, for instance:
On 13 October 2012 18:23, Chris Angelico ros...@gmail.com wrote:
On Sun, Oct 14, 2012 at 3:38 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
This here isn't a flaw in Python, though. It's a flaw in the command-line
interpreter. By putting it all on one line, you are effectively saying:
On Sun, Oct 14, 2012 at 5:18 AM, nbvf...@gmail.com wrote:
On Saturday, October 13, 2012 12:48:23 PM UTC-4, Chris Angelico wrote:
No, I don't, because I haven't tried to use it. But allow me to give
two examples, one on each side of the argument.
The 'tee' utility is primarily for writing a
On Sun, Oct 14, 2012 at 5:21 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
Because Python uses indentation, what would if A: print(1); if B: print(2)
even do? It has to fail, because we have to assume consistent indentation
for ;s*. With \n as I proposed, you still have to indent: it is
I am trying to understand how to build an http proxy server in python,
and I have found the following example:
http://www.oki-osk.jp/esc/python/proxy/
But I do not have found an exact description of what exactly a proxy
server is suppose to do (all references gice only the basic principe of
On Sun, Oct 14, 2012 at 5:43 AM, Olive di...@bigfoot.com wrote:
it seems when I read the code above that the proxy acts mostly as an
orinary server with respect to the client except that it is supposed to
receive the full URL instead of just the path. Am I right? Is there any
documentation on
On 13 October 2012 19:41, Chris Angelico ros...@gmail.com wrote:
On Sun, Oct 14, 2012 at 5:21 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
Because Python uses indentation, what would if A: print(1); if B:
print(2)
even do? It has to fail, because we have to assume consistent
On 12 October 2012 03:22, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Wed, 10 Oct 2012 23:44:42 -0700, suzaku wrote:
I think if a programmer has used the built-in `random` module before, he
would expect a function with sample in its name to return a population
Etienne Robillard schreef:
On Sun, 14 Oct 2012 00:47:52 +1100
Chris Angelico ros...@gmail.com wrote:
Excuse me?
I'm not overly familiar with readline, so perhaps there is a really
obvious way to do what Steven's trying to do, but this post does not
appear to be the result of a lack of
Zero Piraeus schreef:
:
Not sure exactly how to put this ...
I'm a mostly passive subscriber to this list - my posts here over the
years could probably be counted without having to take my socks off -
so perhaps I have no right to comment, but I've noticed a marked
increase in aggressive
On 13 October 2012 22:14, Roel Schroeven r...@roelschroeven.net wrote:
Etienne Robillard schreef:
On Sun, 14 Oct 2012 00:47:52 +1100
Chris Angelico ros...@gmail.com wrote:
Excuse me?
I'm not overly familiar with readline, so perhaps there is a really
obvious way to do what Steven's
On 14 October 2012 08:22, Roel Schroeven r...@roelschroeven.net wrote:
Zero Piraeus schreef:
:
Not sure exactly how to put this ...
I'm a mostly passive subscriber to this list - my posts here over the
years could probably be counted without having to take my socks off -
so perhaps I
On Sun, Oct 14, 2012 at 6:06 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
The fact that your proposal can't allow a=[]\nfor x in range(10):
a.append(x**a[-2])\nprint(a) makes it somewhat an incomplete suggestion,
and code like:
while True: while True: break; break
is just confusing.
On Sun, Oct 14, 2012 at 8:31 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
With two irritants (including 8), is it not advisable that python-list
gets an admin to block these accounts? Even if it does nothing more than
slow them, that's something.
That's what killfiles are for. You
On 13 October 2012 22:39, Chris Angelico ros...@gmail.com wrote:
On Sun, Oct 14, 2012 at 6:06 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
The fact that your proposal can't allow a=[]\nfor x in range(10):
a.append(x**a[-2])\nprint(a) makes it somewhat an incomplete suggestion,
and
On Sun, Oct 14, 2012 at 9:00 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
That is also callable from the command-line like so:
python -m debrace -c if a: ${ print(1) $ print(2) $ while b: c() $ if g:
${ pass }$ }$ print(d)
Wait you're pretty much implementing from __future__ import
On 13 October 2012 22:35, Tim Delaney timothy.c.dela...@gmail.com wrote:
On 14 October 2012 08:22, Roel Schroeven r...@roelschroeven.net wrote:
Zero Piraeus schreef:
:
Not sure exactly how to put this ...
I'm a mostly passive subscriber to this list - my posts here over the
years could
On 13/10/2012 22:31, Joshua Landau wrote:
With two irritants (including 8), is it not advisable that python-list
gets an admin to block these accounts? Even if it does nothing more than
slow them, that's something.
Most irritants are mere amateurs compared to Ilias Lazaridis. I wonder
On 13 October 2012 23:09, Chris Angelico ros...@gmail.com wrote:
On Sun, Oct 14, 2012 at 9:00 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
That is also callable from the command-line like so:
python -m debrace -c if a: ${ print(1) $ print(2) $ while b: c() $ if
g:
${ pass }$ }$
On Saturday, October 13, 2012 2:33:43 PM UTC-4, Chris Angelico wrote:
Nice theory, but this is the bit that I fundamentally disagree with.
Forcing programmers to work in one particular style is usually not the
job of the language/framework/library. That should be up to the
programmer, or at
On 13 October 2012 22:44, Chris Angelico ros...@gmail.com wrote:
On Sun, Oct 14, 2012 at 8:31 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
With two irritants (including 8), is it not advisable that
python-list
gets an admin to block these accounts? Even if it does nothing more
On 13 October 2012 23:13, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 13/10/2012 22:31, Joshua Landau wrote:
With two irritants (including 8), is it not advisable that python-list
gets an admin to block these accounts? Even if it does nothing more than
slow them, that's something.
On Sun, Oct 14, 2012 at 9:25 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
On 13 October 2012 22:44, Chris Angelico ros...@gmail.com wrote:
On Sun, Oct 14, 2012 at 8:31 AM, Joshua Landau
joshua.landau...@gmail.com wrote:
With two irritants (including 8), is it not advisable that
On 13/10/2012 23:26, Joshua Landau wrote:
On 13 October 2012 23:13, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 13/10/2012 22:31, Joshua Landau wrote:
With two irritants (including 8), is it not advisable that python-list
gets an admin to block these accounts? Even if it does
On Sun, Oct 14, 2012 at 9:24 AM, nbvf...@gmail.com wrote:
On Saturday, October 13, 2012 2:33:43 PM UTC-4, Chris Angelico wrote:
Nice theory, but this is the bit that I fundamentally disagree with.
Forcing programmers to work in one particular style is usually not the
job of the
A response to someone who quotes a trollbot just stating *Username* is a
trollbot. where *no* further correspondence occurs doesn't seem like
trollbotbait to me, and it makes it easy for people to know who's been
warned.
If properly trimmed, so there is no reference to the troll/bot or any
On 13/10/2012 23:52, Mark Lawrence wrote:
On 13/10/2012 23:26, Joshua Landau wrote:
On 13 October 2012 23:13, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 13/10/2012 22:31, Joshua Landau wrote:
With two irritants (including 8), is it not advisable that
python-list
gets an admin to
On 13 October 2012 17:48, Chris Angelico ros...@gmail.com wrote:
The only way to support *absolutely everything* is to do nothing - to
be a framework so thin you're invisible. (That's not to say you're
useless; there are bridge modules that do exactly this - ctypes can
call on any library
On Sat, 13 Oct 2012 15:24:04 -0700, nbvfour wrote:
On Saturday, October 13, 2012 2:33:43 PM UTC-4, Chris Angelico wrote:
Nice theory, but this is the bit that I fundamentally disagree with.
Forcing programmers to work in one particular style is usually not the
job of the
On 10/13/12 21:25, Steven D'Aprano wrote:
Not being Dutch, I don't know whether the obvious way to do command line
argument handling is the getopt module or argparse. But there certainly
isn't *only one way* to do command line argument handling.
As an aside, I just watched a fascinating
On 2012-10-14 03:25, Steven D'Aprano wrote:
On Sat, 13 Oct 2012 15:24:04 -0700, nbvfour wrote:
On Saturday, October 13, 2012 2:33:43 PM UTC-4, Chris Angelico wrote:
Nice theory, but this is the bit that I fundamentally disagree with.
Forcing programmers to work in one particular style is
On Sun, 14 Oct 2012 05:33:40 +1100, Chris Angelico wrote:
Forcing programmers to work in one particular style is usually not the
job of the language/framework/library.
Have you actually programmed before?
*grin*
I've never come across a language/framework/library that DOESN'T force
I'm having some trouble with closures when defining a decorator.
TL;DR:
I have a function that makes a decorator, and only some of the names
from an outer scope appear in the inner closure's locals().
And I do not understand why at all.
Let me explain...
Environment: python 2.7.3 on
On Sun, Oct 14, 2012 at 2:37 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Sun, 14 Oct 2012 05:33:40 +1100, Chris Angelico wrote:
Forcing programmers to work in one particular style is usually not the
job of the language/framework/library.
Have you actually programmed
I am working on a script to find bad image files. I am using PIL
and specifically image.verify() I have a set of known to be bad image files
to test. I also what to be able to test any file for example a .txt and
deal with the exception.
Currently my code is basically
try:
im =
On Sun, Oct 14, 2012 at 3:23 PM, Vincent Davis vinc...@vincentdavis.net wrote:
OverflowError: Python int too large to convert to C long
line 266, in _maketile
bytecount = read(channels * ysize * 2)
Is the file over 2GB? Might be a limitation, more than a bug, and one
that could possibly be
Oops, I was going to make note of the file size. 1.2MB
Vincent
On Sat, Oct 13, 2012 at 10:31 PM, Chris Angelico ros...@gmail.com wrote:
On Sun, Oct 14, 2012 at 3:23 PM, Vincent Davis vinc...@vincentdavis.net
wrote:
OverflowError: Python int too large to convert to C long
line 266, in
On Sun, Oct 14, 2012 at 3:36 PM, Vincent Davis vinc...@vincentdavis.net wrote:
Oops, I was going to make note of the file size. 1.2MB
Then I'd definitely declare the file bad; I don't know what the valid
ranges for channels and ysize are, but my reading of that is that your
file's completely
I can open it is and all looks good using Pixelmator (I don't have
Photoshop installed). I don't think there is anything wrong with the image.
Part of my question is a result of being new to actually using exceptions
in my programs and dealing with the exceptions is a primary part of what I
need
On Saturday, October 13, 2012, Cameron Simpson wrote:
I'm having some trouble with closures when defining a decorator.
snip
However, I can't make my make_file_property function work. I've stripped
the code down and it does this:
snip
Traceback (most recent call last):
File foo.py,
On Sun, Oct 14, 2012 at 4:01 PM, Vincent Davis vinc...@vincentdavis.net wrote:
I can open it is and all looks good using Pixelmator (I don't have Photoshop
installed). I don't think there is anything wrong with the image.
Part of my question is a result of being new to actually using
I'm not a know it all, but when attacked personally I defend myself,
and those can turn into flame wars.
Your plonks are irrelevant in terms of an argument ytou shouldn't
participate in.
These things can get nasty quick.
So if you have virgin eyes, then kill file it, but I like to think
Ioffer
Nick Coghlan added the comment:
Definite +1 on distutils needing to be fixed in the upcoming maintenance
releases for 2.7, 3.2 and 3.3.
-1 on doing the strict path security checks on a normal invocation, -0 on doing
them when -S or -E have been passed in, +0 if it is *just* a warning to users
Nick Coghlan added the comment:
Also, what's up with that weird fallback code in distutils? When is
tempfile.mkdtemp ever missing?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16202
___
Serhiy Storchaka added the comment:
The Standard is not guarantee that result of converting null pointer to integer
is zero or even it is a even number. I remember the ancient C implementation,
where it was not so (but Python is not supports these platform).
Of course, such a method of
Michele Orrù added the comment:
Buggy due to the use of scanf at Modueles/socketmodule.c:868
I don't think so. The following test fails because sscanf() returns 5
instead of 4:
You are right, sorry for didn't notice.
If you consider that '192.168.1.1 ' is an invalid name, you should
Michele Orrù added the comment:
Reviewed with Ezio.
--
Added file: http://bugs.python.org/file27550/issue16201.2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16201
___
Changes by Mike Hoy mho...@gmail.com:
--
nosy: +mikehoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15936
___
___
Python-bugs-list mailing list
Volker Braun added the comment:
When is tempfile.mkdtemp ever missing
It was added in Python 2.3, in the dark ages before that there was only
tempfile.mktemp. Though I guess we can remove the fallback now...
--
___
Python tracker
Roundup Robot added the comment:
New changeset ed6da2a8361c by Chris Jerdonek in branch '3.2':
Issue #16206: Improve the documentation of the dict constructor.
http://hg.python.org/cpython/rev/ed6da2a8361c
New changeset 02de13d69149 by Chris Jerdonek in branch '3.3':
Issue #16206: Merge dict
Roundup Robot added the comment:
New changeset 5fc6f47974db by Chris Jerdonek in branch '2.7':
Issue #16206: Backport dict documentation improvements from 3.2.
http://hg.python.org/cpython/rev/5fc6f47974db
--
___
Python tracker rep...@bugs.python.org
Changes by Chris Jerdonek chris.jerdo...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16206
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16215
___
___
Python-bugs-list mailing
New submission from Matthew Woodcraft:
If I run my code using 'python -m' and there is an unhandled exception, the
tracebacks include lines from runpy.py (and now sometimes from
importlib._bootstrap) which don't provide useful information, and tend to
overwhelm the valuable part of the
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16217
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16061
___
___
New submission from Turn:
If there are non ASCII character in the py.exe arguments, the execution will
fail. The script file name or path may contain non ASCII characters.
--
components: Windows
messages: 172807
nosy: turncc
priority: normal
severity: normal
status: open
title: Python
Changes by Jeremy Kloth jeremy.kloth+python-trac...@gmail.com:
--
nosy: +jkloth
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16218
___
___
Nick Coghlan added the comment:
Agreed. We do have a mechanism in place to deal with this specifically for
importlib in 3.3 (which is why the first traceback is cleaner, although it's
not triggering in the SyntaxError case for some reason), but it makes sense to
hide the noise from runpy as
Ramchandra Apte added the comment:
@Antoine Aw.. no funny bone in you..
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
Michele Orrù added the comment:
The attached patch adds support for '\\' escaping to fnmatch, and consequently
to glob.
--
keywords: +patch
nosy: +maker
versions: +Python 3.4 -Python 3.2
Added file: http://bugs.python.org/file27551/issue8402.patch
Changes by Trent Nelson tr...@snakebite.org:
--
nosy: +trent
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15298
___
___
Python-bugs-list mailing
Andrew Svetlov added the comment:
LGTM
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16145
___
___
Python-bugs-list mailing
Eric Snow added the comment:
For 3.4, I plan to have a look at the organically-grown-over-time mess
that is CPython's current interpreter initialisation system and see if I
can figure out something a bit more sane and easier to configure/control
(especially when embedding Python in a larger
Trent Nelson added the comment:
The previous 'alt_sysconfigdata.patch' didn't apply cleanly to 3.3/3.x. I've
attached an updated patch that does.
Any objections to applying this to 3.3 - 3.x now that the freeze is over?
--
versions: +Python 3.4
Added file:
Trent Nelson added the comment:
I'm pretty sure this is a duplicate of http://bugs.python.org/issue15298 (which
should be fixed shortly).
Feel free to re-open if I'm wrong.
--
nosy: +trent
resolution: - duplicate
status: open - closed
___
Python
New submission from Scott Maxwell:
I upgraded the meld3 module (used by Supervisord) to work on Py3K and
discovered this segfault. It happens every time. I have seen this on the
pre-built Mac 3.3.0 and a source-built 3.3.0 on Linux. It does not occur in
3.2.2. It appears to happen in native
Matthew Barnett added the comment:
Tim, my point is that if the MULTILINE flag happens to be turned on, '$' won't
just match at the end of the string (or slice), it'll also match at a newline,
so wrapping the pattern in (?:...)$ in that case could give the wrong answer,
but wrapping it in
Trent Nelson added the comment:
FWIW, I just ran into the following on Solaris 10:
% dbx python
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.9' in your .dbxrc
Reading python
Reading ld.so.1
Reading libsocket.so.1
Reading
Christian Heimes added the comment:
Thanks for your report.It's a know issue and has already been fixed in HG.
#16089 contains a patch if you like to give it a shot.
--
nosy: +christian.heimes
resolution: - duplicate
stage: - committed/rejected
status: open - pending
Antoine Pitrou added the comment:
Tim, my point is that if the MULTILINE flag happens to be turned on,
'$' won't just match at the end of the string (or slice), it'll also
match at a newline, so wrapping the pattern in (?:...)$ in that case
could give the wrong answer, but wrapping it in
Trent Nelson added the comment:
That... didn't work. Also applied rpetrov's patch and that made no difference:
% ./python Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
Fatal Python error: Py_Initialize: Unable to get the locale
Serhiy Storchaka added the comment:
After much experimentation, I suggest the new patch.
Benchmark results (time of replacing 1 of n character (ch1 to ch2) in 10-
char string).
Py3.2Py3.3patch n ch1 ch2 fill
231 (-13%) 3025 (-93%) 2001 'a' 'b' 'c'
626 (-18%) 2035
1 - 100 of 138 matches
Mail list logo