[This announcement is in German since it targets a local user group
meeting in Düsseldorf, Germany]
ANKÜNDIGUNG
Python Meeting Düsseldorf
http://pyddf.de/
Ein Treffen
Django-debug-toolbar-template-timings version 0.4.1 has been released and
can be found here:
https://pypi.python.org/pypi/django-debug-toolbar-template-timings
What is it?
--
Does what it says on the tin. It's a panel for Django-debug-toolbar that
breaks down the time
I am happy to announce flufl.bounce version 2.2.
The flufl.bounce library provides a set of heuristics and an API for detecting
the original bouncing email addresses from a bounce message. Many formats
found in the wild are supported, as are VERP and RFC 3464 (DSN). flufl.bounce
is the bounce
On 06/19/2013 11:48 PM, Steven D'Aprano wrote:
On Wed, 19 Jun 2013 23:16:51 -0600, Michael Torrie wrote:
The real power and expressivity of Python comes from embracing the
abstractions that Python provides to your advantage. There's a certain
elegance and beauty that comes from such things,
On Wed, 19 Jun 2013 18:46:59 -0700, Rick Johnson wrote:
On Thursday, June 13, 2013 2:11:08 AM UTC-5, Steven D'Aprano wrote:
Gah! That's twice I've screwed that up. Sorry about that!
Yeah, and your difficulty explaining the Unicode implementation reminds
me of a passage from the Python
On Thu, Jun 20, 2013 at 1:31 AM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
On Wednesday, June 19, 2013 8:58:19 AM UTC-5, augus...@gmail.com wrote:
This is my first post in this group and the reason why I
came across here is that, despite my complete lack of
knowledge in the programming
Hello.
I need to run xmlrpc Server under Python 3.3 and Client under Python 2.7. But
when I try to do so, I receive the following exception:
class 'NameError':global name 'xmlrpclib' is not defined
What is the reason for such an exception. As far as I understand xmlrpc is
language
On 20/06/2013 08:36, stanislav.boriso...@gmail.com wrote:
Hello.
I need to run xmlrpc Server under Python 3.3 and Client under Python 2.7. But
when I try to do so, I receive the following exception:
class 'NameError':global name 'xmlrpclib' is not defined
What is the reason for such an
On 20 Jun 2013 08:46, stanislav.boriso...@gmail.com wrote:
Hello.
I need to run xmlrpc Server under Python 3.3 and Client under Python 2.7.
But when I try to do so, I receive the following exception:
class 'NameError':global name 'xmlrpclib' is not defined
Somewhere in your code you are
Op 19-06-13 20:40, Ian Kelly schreef:
On Wed, Jun 19, 2013 at 4:57 AM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
I don't remember making such a claim. What I do remember is
you among others claiming that the problem was not (so much)
the troll (Nikos) but the others.
Count me among
If you're getting this via the mailing list, just hit Reply, and then
change the To: address to python-list@python.org - that's the simplest
(assuming you don't have a Reply To List feature, but you wouldn't be
saying the above if you had one). That way, you get a citation line,
Op 19-06-13 18:14, russ.po...@gmail.com schreef:
all(map(lambda x: bool(x), xrange(10**9)))
Since you already have your answer, I just like to get your attention
to the fact the the lambda is superfluous here. Your expression
above is equivallent to
all(map(bool, xrange(10**9)))
--
On 20/06/2013 07:26, Steven D'Aprano wrote:
On Wed, 19 Jun 2013 18:46:59 -0700, Rick Johnson wrote:
On Thursday, June 13, 2013 2:11:08 AM UTC-5, Steven D'Aprano wrote:
Gah! That's twice I've screwed that up. Sorry about that!
Yeah, and your difficulty explaining the Unicode implementation
On Jun 20, 12:38 am, Rick Johnson rantingrickjohn...@gmail.com
wrote:
On Wednesday, June 19, 2013 2:17:35 PM UTC-5, Ahmed Abdulshafy wrote:
I'm reading the Python.org tutorial right now, and I found
this part rather strange and incomprehensible to me
Important warning: The default value is
In article
447dd1c6-1bb2-4276-a109-78d7a067b...@d8g2000pbe.googlegroups.com,
rusi rustompm...@gmail.com wrote:
def f(a, L=[]):
L.append(a)
return L
Every language has gotchas. This is one of python's.
One of our pre-interview screening questions for Python programmers at
Hi,
Sorry if this appears twice, I sent it to the mailing list earlier and the mail
seems to have been swallowed by the black hole of email vagaries.
We have a class which executes external processes in a controlled environment
and does things specified by the client program with each line of
On Jun 20, 6:19 pm, Roy Smith r...@panix.com wrote:
In article
447dd1c6-1bb2-4276-a109-78d7a067b...@d8g2000pbe.googlegroups.com,
rusi rustompm...@gmail.com wrote:
def f(a, L=[]):
L.append(a)
return L
Every language has gotchas. This is one of python's.
One of our
On 20 June 2013 04:11, Cameron Simpson c...@zip.com.au wrote:
Also, opening-and-not-closing a set of brackets is almost the only
way in Python to make this kind of error (syntax at one line, actual
mistake far before).
See if your editor has a show-the-matching-bracket mode.
snip
If you
On Thursday, June 20, 2013 1:26:17 AM UTC-5, Steven D'Aprano wrote:
The *implementation* is easy to explain. It's the names of
the encodings which I get tangled up in.
Well, ignoring the fact that you're last explanation is
still buggy, you have not actually described an
implementation, no,
On 20 June 2013 05:13, Thanatos xiao yanxiaopei...@gmail.com wrote:
Hey everyone!
Recently I see the python source code, but i still not understand about gil.
first, why single core quicker multi-core ?
Chris Angelico touched on your other points, but not this as clearly;
Python threads run
On 2013-06-20, Joshua Landau joshua.landau...@gmail.com wrote:
On 20 June 2013 04:11, Cameron Simpson c...@zip.com.au wrote:
Also, opening-and-not-closing a set of brackets is almost the
only way in Python to make this kind of error (syntax at one
line, actual mistake far before).
See if
On 2013.06.20 08:40, Rick Johnson wrote:
One the most humorous aspects of Unicode is that it has
encodings for Braille characters. Hmm, this presents a
conundrum of sorts. RIDDLE ME THIS?!
Since Braille is a type of reading for the blind by
utilizing the sense of touch (therefore
On 20 June 2013 04:11, Cameron Simpson c...@zip.com.au wrote:
I use vi/vim and it both shows the matching bracket when the cursor
is on one and also have a keystroke to bounce the curser between
this bracket and the matching one.
If you suspect you failed to close a bracket, one approach is
On Thursday, June 20, 2013 7:57:06 AM UTC-5, rusi wrote:
Every language has gotchas. This is one of python's.
So are we purposely injecting illogic into our language just
to be part of some cool crowd of programming languages with
gotchas.
You thought intuitiveness was a virtue? Haha, we
On Thursday, June 20, 2013 12:45:27 PM UTC+2, Antoon Pardon wrote:
Op 19-06-13 18:14, russ.po...@gmail.com schreef:
all(map(lambda x: bool(x), xrange(10**9)))
Since you already have your answer, I just like to get your attention
to the fact the the lambda is superfluous here.
On Tuesday, June 18, 2013 10:10:42 AM UTC-4, upper...@gmail.com wrote:
I am new to python and struggling with creating a dynamic if statement.
I have a set of queries that are run against various databases/tables. The
result is all the same in that I always get back the same field
On Thursday, June 20, 2013 9:04:50 AM UTC-5, Andrew Berg wrote:
On 2013.06.20 08:40, Rick Johnson wrote:
then what is the purpose of a Unicode Braille character set?
Two dimensional characters can be made into 3 dimensional shapes.
Yes in the real world. But what about on your computer
On Fri, Jun 21, 2013 at 1:12 AM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
On Thursday, June 20, 2013 9:04:50 AM UTC-5, Andrew Berg wrote:
On 2013.06.20 08:40, Rick Johnson wrote:
then what is the purpose of a Unicode Braille character set?
Two dimensional characters can be made
On Thu, Jun 20, 2013 at 11:40 PM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
Your generalization is analogous to explaining web browsers
as: software that allows a user to view web pages in the
range www.* Do you think someone could implement a web
browser from such limited
On Fri, Jun 21, 2013 at 12:49 AM, Rick Johnson
rantingrickjohn...@gmail.com wrote:
When the subroutine is completed, all inputs and local
variables are expected to be destroyed. If the programmer
wants a return value, he need simply ask. Data persistence
is not a function of subroutines!
On Fri, Jun 21, 2013 at 12:49 AM, Russel Walker russ.po...@gmail.com wrote:
On Thursday, June 20, 2013 12:45:27 PM UTC+2, Antoon Pardon wrote:
Op 19-06-13 18:14, russ.po...@gmail.com schreef:
all(map(lambda x: bool(x), xrange(10**9)))
Since you already have your answer, I just like to
On Thu, Jun 20, 2013 at 11:55 PM, Neil Cerutti ne...@norwich.edu wrote:
On 2013-06-20, Joshua Landau joshua.landau...@gmail.com wrote:
On 20 June 2013 04:11, Cameron Simpson c...@zip.com.au wrote:
Also, opening-and-not-closing a set of brackets is almost the
only way in Python to make this
If you'are looking for hosting some Python in the cloud, let me introduce you
to http://python-cloud.com/
This PaaS platform can automatically scale up and down your application
regarding your traffic. You can also finely customize if you want vertical,
horizontal or both types of
Le jeudi 20 juin 2013 13:43:28 UTC+2, MRAB a écrit :
On 20/06/2013 07:26, Steven D'Aprano wrote:
On Wed, 19 Jun 2013 18:46:59 -0700, Rick Johnson wrote:
On Thursday, June 13, 2013 2:11:08 AM UTC-5, Steven D'Aprano wrote:
Gah! That's twice I've screwed that up. Sorry about
On Fri, Jun 21, 2013 at 2:27 AM, wxjmfa...@gmail.com wrote:
And all these coding schemes have something in common,
they work all with a unique set of code points, more
precisely a unique set of encoded code points (not
the set of implemented code points (byte)).
Just what the flexible
Rick Johnson rantingrickjohn...@gmail.com wrote:
Since we're on the subject of Unicode:
One the most humorous aspects of Unicode is that it has
encodings for Braille
You know Rick, you are good at python, you are better at polemics.
If only you would cut the crap I would (be able to) agree with you.
See below
On Jun 20, 7:49 pm, Rick Johnson rantingrickjohn...@gmail.com wrote:
On Thursday, June 20, 2013 7:57:06 AM UTC-5, rusi wrote:
Every language has
On 20/06/2013 17:37, Chris Angelico wrote:
On Fri, Jun 21, 2013 at 2:27 AM, wxjmfa...@gmail.com wrote:
And all these coding schemes have something in common,
they work all with a unique set of code points, more
precisely a unique set of encoded code points (not
the set of implemented code
Νίκος schreef:
Στις 18/6/2013 12:05 μμ, ο/η Steven D'Aprano έγραψε:
Names are *always* linked to objects, not to other names.
a = []
b = a # Now a and b refer to the same list
a = {} # Now a refers to a dict, and b refers to the same list as before
I see, thank you Steven.
But since this
On Fri, Jun 21, 2013 at 3:17 AM, MRAB pyt...@mrabarnett.plus.com wrote:
On 20/06/2013 17:37, Chris Angelico wrote:
On Fri, Jun 21, 2013 at 2:27 AM, wxjmfa...@gmail.com wrote:
And all these coding schemes have something in common,
they work all with a unique set of code points, more
Rick Johnson writes:
On Thursday, June 20, 2013 9:04:50 AM UTC-5, Andrew Berg wrote:
On 2013.06.20 08:40, Rick Johnson wrote:
then what is the purpose of a Unicode Braille character set?
Two dimensional characters can be made into 3 dimensional shapes.
Yes in the real world. But
On Fri, Jun 21, 2013 at 3:12 AM, rusi rustompm...@gmail.com wrote:
Python (and all the other 'cool' languages) dont have gotchas because
someone malevolently put them there.
In most cases, the problem is seen too late and the cost of changing
entrenched code too great.
Or the problem is
On Jun 20, 10:19 pm, Chris Angelico ros...@gmail.com wrote:
On Fri, Jun 21, 2013 at 3:12 AM, rusi rustompm...@gmail.com wrote:
Python (and all the other 'cool' languages) dont have gotchas because
someone malevolently put them there.
In most cases, the problem is seen too late and the cost
On Thu, Jun 20, 2013 at 11:19 AM, Chris Angelico ros...@gmail.com wrote:
On Fri, Jun 21, 2013 at 3:12 AM, rusi rustompm...@gmail.com wrote:
Python (and all the other 'cool' languages) dont have gotchas because
someone malevolently put them there.
In most cases, the problem is seen too late and
On Thursday, June 20, 2013 10:38:34 AM UTC-5, Chris Angelico wrote:
Function defaults in Python, being implemented as
attributes on the function object, are very similar in
nature to static variables in C.
Oh wait a minute. i think it's becoming clear to me now!
Python functions are objects
On Thursday, June 20, 2013 12:12:01 PM UTC-5, rusi wrote:
Python (and all the other 'cool' languages) dont have
gotchas because someone malevolently put them there. In
most cases, the problem is seen too late and the cost of
changing entrenched code too great.
Okay. So now you are admitting
On Jun 20, 10:57 pm, Ian Kelly ian.g.ke...@gmail.com wrote:
If
the goal is indeed to make the the functions more functional, then the
proper solution would be to keep the binding early but just disallow
mutable defaults altogether -- which is tricky to achieve in Python,
so we simply emulate
Do I need to uninstall Python 2.7.3 before installing Python 2.7.5?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 20 Jun 2013 11:35:49 -0700, Wanderer wrote:
Do I need to uninstall Python 2.7.3 before installing Python 2.7.5?
Thanks
that will depend on your operating system an possibly the variety of
python
--
I don't even butter my bread. I consider that cooking.
--
On 20/06/2013 19:35, Wanderer wrote:
Do I need to uninstall Python 2.7.3 before installing Python 2.7.5?
No.
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to get setup to work on pylint source. I've installed
pylint, logilab-common and astroid in the usual manner, specifying
--user to get them into my private space:
python setup.py install --user
If I attempt to import astroid from a Python prompt, everything's
fine:
%
On Thursday, June 20, 2013 2:47:52 PM UTC-4, MRAB wrote:
On 20/06/2013 19:35, Wanderer wrote:
Do I need to uninstall Python 2.7.3 before installing Python 2.7.5?
No.
You're right. I had no problems. FYI the operating system is Windows 7.
Thanks
--
On 20/06/2013 17:27, wxjmfa...@gmail.com wrote:
Le jeudi 20 juin 2013 13:43:28 UTC+2, MRAB a écrit :
On 20/06/2013 07:26, Steven D'Aprano wrote:
On Wed, 19 Jun 2013 18:46:59 -0700, Rick Johnson wrote:
On Thursday, June 13, 2013 2:11:08 AM UTC-5, Steven D'Aprano wrote:
Gah!
jfhar...@gmail.com wrote:
Hi,
Sorry if this appears twice, I sent it to the mailing list earlier and the
mail seems to have been swallowed by the black hole of email vagaries.
We have a class which executes external processes in a controlled
environment and does things specified by the
On 20Jun2013 15:33, Oscar Benjamin oscar.j.benja...@gmail.com wrote:
| On 20 June 2013 04:11, Cameron Simpson c...@zip.com.au wrote:
| I use vi/vim and it both shows the matching bracket when the cursor
| is on one and also have a keystroke to bounce the curser between
| this bracket and the
On 20Jun2013 13:55, Neil Cerutti ne...@norwich.edu wrote:
| On 2013-06-20, Joshua Landau joshua.landau...@gmail.com wrote:
| On 20 June 2013 04:11, Cameron Simpson c...@zip.com.au wrote:
| Also, opening-and-not-closing a set of brackets is almost the
| only way in Python to make this kind of
On Thu, 20 Jun 2013 09:19:48 -0400, Roy Smith wrote:
In article
447dd1c6-1bb2-4276-a109-78d7a067b...@d8g2000pbe.googlegroups.com,
rusi rustompm...@gmail.com wrote:
def f(a, L=[]):
L.append(a)
return L
Every language has gotchas. This is one of python's.
One of our
In article 51c39b88$0$2$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 20 Jun 2013 09:19:48 -0400, Roy Smith wrote:
In article
447dd1c6-1bb2-4276-a109-78d7a067b...@d8g2000pbe.googlegroups.com,
rusi rustompm...@gmail.com
On 21/06/2013 4:07 AM, Rick Johnson wrote:
Okay. So now you are admitting the problem. That is a good
start. Thanks for being honest.
If you think mutable default arguments is a problem, then you don't
really understand Python. The only gotcha here is in people's heads.
--
On Thu, 20 Jun 2013 11:05:32 -0700, Rick Johnson wrote:
On Thursday, June 20, 2013 10:38:34 AM UTC-5, Chris Angelico wrote:
Function defaults in Python, being implemented as attributes on the
function object, are very similar in nature to static variables in C.
Oh wait a minute. i think
On 6/20/2013 2:44 PM, Alister wrote:
On Thu, 20 Jun 2013 11:35:49 -0700, Wanderer wrote:
Do I need to uninstall Python 2.7.3 before installing Python 2.7.5?
Thanks
that will depend on your operating system an possibly the variety of
python
Python 2.7.3' and 'Python 2.7.5' are by trademark
On Thu, 20 Jun 2013 11:57:34 -0600, Ian Kelly wrote:
Additionally, with late-binding semantics the default values would no
longer be default *values*. They would be initialization code instead,
which sort of flies in the face of the idea that late-binding would
somehow be better for
On 2013-06-21 01:08, Steven D'Aprano wrote:
Here's my syntax plucked out of thin air:
def func(arg, x=expression, !y=expression):
...
where y=expression is late-bound, and the above is compiled to:
def func(arg, x=expression, y=None):
if y is None:
y = expression
On Thu, 20 Jun 2013 07:49:37 -0700, Rick Johnson wrote:
When the subroutine is completed, all inputs and local variables are
expected to be destroyed. If the programmer wants a return value, he
need simply ask. Data persistence is not a function of subroutines!
Finally, a subroutine should
I have XML which looks like:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE KMART SYSTEM my.dtd
LEVEL_1
LEVEL_2 ATTR=hello
ATTRIBUTE NAME=Property X VALUE =2/
/LEVEL_2
LEVEL_2 ATTR=goodbye
ATTRIBUTE NAME=Property Y VALUE =NULL/
LEVEL_3 ATTR=aloha
ATTRIBUTE NAME=Property X VALUE
In article mailman.3647.1371777895.3114.python-l...@python.org,
Tim Chase python.l...@tim.thechases.com wrote:
On 2013-06-21 01:08, Steven D'Aprano wrote:
Here's my syntax plucked out of thin air:
def func(arg, x=expression, !y=expression):
...
where y=expression is
On 2013-06-20 21:40, Roy Smith wrote:
In article mailman.3647.1371777895.3114.python-l...@python.org,
Tim Chase python.l...@tim.thechases.com wrote:
On 2013-06-21 01:08, Steven D'Aprano wrote:
Here's my syntax plucked out of thin air:
def func(arg, x=expression, !y=expression):
rusi於 2013年6月21日星期五UTC+8上午1時12分01秒寫道:
You know Rick, you are good at python, you are better at polemics.
If only you would cut the crap I would (be able to) agree with you.
See below
On Jun 20, 7:49 pm, Rick Johnson rantingrickjohn...@gmail.com wrote:
On Thursday, June 20, 2013
On Thu, 20 Jun 2013 10:12:01 -0700, rusi wrote:
Python (and all the other 'cool' languages) dont have gotchas because
someone malevolently put them there.
In most cases, the problem is seen too late and the cost of changing
entrenched code too great.
Or the problem is clear, the solution is
On Thu, Jun 20, 2013 at 3:41 AM, Antoon Pardon
antoon.par...@rece.vub.ac.be wrote:
There are two problems with your reasoning. The first is that you
are equivocating on expect. Expect can mean you will be surprised
if it doesn't happen but it can also mean you will feel indignant or
On Thursday, June 20, 2013 7:57:28 PM UTC-5, Steven D'Aprano wrote:
On Thu, 20 Jun 2013 11:05:32 -0700, Rick Johnson wrote:
Python functions are objects that take arguments, of
which (the arguments) are then converted to attributes
of the function object.
Arguments in general are *not*
New submission from anatoly techtonik:
(type 'int', '0755')
(type 'int', '0644')
Traceback (most recent call last):
File ./tools/bootstrap.py, line 185, in extract_zip
os.fchmod(outfile, unixperm)
TypeError: an integer is required
Here the integer that is required is not `unixperm`, but
Charles-François Natali added the comment:
I still fail to understand why you just don't ditch the Python implementation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11016
___
Antoine Pitrou added the comment:
I plan to test the Low Fragmentation Allocator, at least on Windows 7.
I don't think it can be any better than raw mmap() / VirtualAlloc()...
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
I don't think this is a problem, since it is only a local variable in a
function.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18250
___
STINNER Victor added the comment:
I plan to test the Low Fragmentation Allocator, at least on Windows 7.
I don't think it can be any better than raw mmap() / VirtualAlloc()...
I mean using the Low Fragmentation Allocator for PyObject_Malloc()
instead of pymalloc.
Martin wrote (msg148605):
As
Martin v. Löwis added the comment:
Ok, I'm going to commit this patch. Any further revisions (including
reversions) can be done then.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13483
STINNER Victor added the comment:
Update patch according to the last version of the PEP.
--
Added file: http://bugs.python.org/file30653/py_setallocators-8.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3329
Martin v. Löwis added the comment:
I don't think anything of this is worth mentioning, except to mention the
precise version number of the database. Anybody interested in the consequences
of the change should read the announcement of the Unicode Consortium.
--
Martin v. Löwis added the comment:
I think the best way would be to provide a function unicodedata.aliases,
returning a list of names for a given character or sequence.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18234
Roundup Robot added the comment:
New changeset 1dbbed06a163 by Andrew Kuchling in branch '3.3':
#4153: update Unicode howto for Python 3.3
http://hg.python.org/cpython/rev/1dbbed06a163
--
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
--
keywords: +gsoc -patch
resolution: - rejected
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16507
Barry A. Warsaw added the comment:
It applies cleanly, builds without noticeable problems and does what it's
advertised to do. In other words, looks great to me!
I say go for it.
--
___
Python tracker rep...@bugs.python.org
A.M. Kuchling added the comment:
As far as I can tell, there are no other outstanding suggestions for howto
updates, so I'll now close this item. Feel free to re-open or file a new item
if there are further improvements that can be made.
--
resolution: - fixed
stage: commit review -
Richard Oudkerk added the comment:
We don't do non-security updates on Python 2.6 anymore.
As a workaround you might be able to do something like
import sys, multiprocessing
sys.frozen = True# or multiprocessing.forking.WINEXE = True
...
if __name__ == '__main__':
STINNER Victor added the comment:
python -I and spython sound like two ways to get the same results. I would
prefer to only have one way.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16499
Barry A. Warsaw added the comment:
On Jun 20, 2013, at 02:26 PM, STINNER Victor wrote:
python -I and spython sound like two ways to get the same results. I
would prefer to only have one way.
Where does spython come from?
Personally, I'd much rather this be an option on the existing python
Christian Heimes added the comment:
We don't have spython yet. Py_IsolatedFlag is also required if we ever going
to have spython, too. We can always remove the command line flag before
Python 3.4 hits beta.
--
___
Python tracker
New submission from Dennis Backhaus:
It just worked fine yesterday, but when I start IDLE (with and without trying
to open a file at the same time) I get this error.
Traceback (most recent call last):
File /Library/Frameworks/Python.framework/Versions/2.7/bin/idle, line 5, in
module
Richard Oudkerk added the comment:
I just tried freezing the program
from multiprocessing import freeze_support,Manager
if __name__ == '__main__':
freeze_support()
m=Manager()
l = m.list([1,2,3])
l.append(4)
print(l)
print(repr(l))
using cx_Freeze with
R. David Murray added the comment:
Here is a patch that implements the ones I'm interested in (-o for any option,
and -f as a shortcut for -o FAIL_FAST). It's a good question whether doctest
should support other unittest options, but doing so is more complicated than
supporting -o and -f.
R. David Murray added the comment:
Oh, a documentation update is still needed here, so I guess I'm not really
ready for review yet :(
--
stage: patch review - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11390
Christian Heimes added the comment:
It comes from Nick and http://www.python.org/dev/peps/pep-0432/ . Once PEP 432
is in place we can easily create variants of Python binaries with special flags.
I'm in favor with python -I, too.
--
___
Python
Brett Cannon added the comment:
os.chmod is implemented in posixmodule.c and the argument parsing code can be
found at
http://hg.python.org/cpython/file/3acbb23c73bc/Modules/posixmodule.c#l2605 .
You will notice that the argument parsing is specified as Oi|$Op. That
means the first argument
Amaury Forgeot d'Arc added the comment:
PyShell.py, line 1541:
if shell and cmd or script:
Does it need parentheses?
if shell and (cmd or script):
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17018
___
Nick Coghlan added the comment:
CPython's startup sequence and collection of global flags are organically
evolved madness, so I think adding even more complexity to them is a bad
idea. When you're in a hole, the first thing to do is *stop digging*.
I could use help laying the foundations for
New submission from Marko Lalic:
When the message's Content-Transfer-Encoding is set to 8bit, the
get_payload(decode=True) method returns the payload encoded using
raw-unicode-escape. This means that it is impossible to decode the returned
bytes using the content charset obtained by the
Richard Oudkerk added the comment:
See also #9573 and #15914.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18122
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file30654/doctest_cli.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11390
___
1 - 100 of 132 matches
Mail list logo