Op 02-10-13 15:17, Steven D'Aprano schreef:
[...]
And you don't treat all others in the way you hope to be treated if you
would be in their shoes. I suspect that should you one day feel so
frustrated you need to vent, you will hope to get treated differently
than how you treat those that
Hello,
Nodebox is a program in the spirit of Processing but for Python.
The first version runs only on MAC.
Tom, the creator has partly ported it to Javascript.
But many of you dislike Javascript.
The solution was to use a translator, Python - Javascript
Of the both two greats solutions
On 2 October 2013 23:28, Michael Schwarz michi.schw...@gmail.com wrote:
I will look into that too, that sounds very convenient. But am I right, that
to use Cython the non-Python code needs to be written in the Cython language,
which means I can't just copypast C code into it? For my current
subhabangal...@gmail.com wrote:
Dear Group,
I am trying to work out a solution to the following problem in Python.
The Problem:
Suppose I have three lists.
Each list is having 10 elements in ascending order.
I have to construct one list having 10 elements which are of the lowest
value
On Thu, 03 Oct 2013 09:21:08 +0530, Ravi Sahni wrote:
On Thu, Oct 3, 2013 at 2:43 AM, Walter Hurry walterhu...@lavabit.com
wrote:
Ding ding! Nikos is simply trolling. It's easy enough to killfile him
but inconvenient to skip all the answers to his lengthy threads. If
only people would just
On Thu, 03 Oct 2013 09:01:29 +0200, Antoon Pardon wrote:
You don't
follow the principle of treating others in the way you hope to be
treated if you were in their shoes.
[...]
Suppose you develop a new
interest in which you are now the newbie and you go to a newsgroup or
forum where as a
On Thu, Oct 3, 2013 at 5:05 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Thu, 03 Oct 2013 09:21:08 +0530, Ravi Sahni wrote:
On Thu, Oct 3, 2013 at 2:43 AM, Walter Hurry walterhu...@lavabit.com
wrote:
Ding ding! Nikos is simply trolling. It's easy enough to killfile him
On Wed, Oct 2, 2013, at 17:33, Terry Reedy wrote:
5. Conversion of apparent recursion to iteration assumes that the
function really is intended to be recursive. This assumption is the
basis for replacing the recursive call with assignment and an implied
internal goto. The programmer can
On Wed, Oct 2, 2013, at 21:46, MRAB wrote:
The difference is that a tuple can be reused, so it makes sense for the
comiler to produce it as a const. (Much like the interning of small
integers) The list, however, would always have to be copied from the
compile-time object. So that object
On Wed, Oct 2, 2013, at 22:34, Steven D'Aprano wrote:
You are both assuming that LOAD_CONST will re-use the same tuple
(1, 2, 3) in multiple places. But that's not the case, as a simple test
will show you:
def f():
... return (1, 2, 3)
f() is f()
True
It does, in fact, re-use it when it
Alain Ketterlin al...@dpt-info.u-strasbg.fr wrote:
Terry Reedy tjre...@udel.edu writes:
Part of the reason that Python does not do tail call optimization is
that turning tail recursion into while iteration is almost trivial,
once you know the secret of the two easy steps. Here it is.
What is the difference between running multiple python scripts and a single
multi-threaded script? May I know what are the pros and cons of each approach?
Right now, my preference is to run multiple separate python scripts because it
is simpler.
--
On 2013-10-03, Duncan Booth duncan.booth@invalid.invalid wrote:
How do know that either = or * didn't rebind the name
fact to something else? I think that's the main reason why
python cannot apply any procedural optimization (even things
like inlining are impossible, or possible only under
This list is for development OF Python, not for development in python. For
that reason, I will redirect this to python-list as well. My actual answer
is below.
On Thu, Oct 3, 2013 at 6:45 AM, Igor Vasilyev igor.vasil...@oracle.com
wrote:
Hi.
Example test.py:
class A():
def
Hi, hope this is the right group for this:
I miss two basic (IMO) features in parallel processing:
1. make `threading.Thread.start()` return `self`
I'd like to be able to `workers = [Thread(params).start() for params in
whatever]`. Right now, it's 5 ugly, menial lines:
workers = []
On Fri, Oct 4, 2013 at 2:12 AM, macker tester.teste...@gmail.com wrote:
I'd like to be able to `workers = [Thread(params).start() for params in
whatever]`. Right now, it's 5 ugly, menial lines:
workers = []
for params in whatever:
thread =
In article f01b2e7a-9fc7-4138-bb6e-447d31179...@googlegroups.com,
JL lightai...@gmail.com wrote:
What is the difference between running multiple python scripts and a single
multi-threaded script? May I know what are the pros and cons of each
approach? Right now, my preference is to run
On 2013-10-04 02:21, Chris Angelico wrote:
workers = []
for params in whatever:
thread = threading.Thread(params)
thread.start()
workers.append(thread)
You could shorten this by iterating twice, if that helps:
workers =
On Fri, Oct 4, 2013 at 2:42 AM, Tim Chase python.l...@tim.thechases.com wrote:
Do you mean
workers = [Thread(params) for params in whatever]
for thrd in workers: thrd.start()
? (Thread(params) vs. Thread(params).start() in your list comp)
Whoops, copy/paste fail. Yes, that's what I
On Fri, Oct 4, 2013 at 2:41 AM, Roy Smith r...@panix.com wrote:
The downside to threads is that all of of this sharing makes them much
more complicated to use properly. You have to be aware of how all the
threads are interacting, and mediate access to shared resources. If you
do that wrong,
On Fri, Oct 4, 2013 at 2:01 AM, JL lightai...@gmail.com wrote:
What is the difference between running multiple python scripts and a single
multi-threaded script? May I know what are the pros and cons of each
approach? Right now, my preference is to run multiple separate python scripts
On Wednesday, October 2, 2013 10:01:16 AM UTC-7, tri...@gmail.com wrote:
am trying to round off values in a dict to 2 decimal points but have been
unsuccessful so far. The input I have is like this:
y = [{'a': 80.0, 'b': 0.0786235, 'c': 10.0, 'd': 10.6742903}, {'a':
80.73246,
On Wed, Oct 2, 2013 at 10:46 AM, rusi wrote:
4. There is a whole spectrum of such optimizaitons --
4a eg a single-call structural recursion example, does not need to push
return address on the stack. It only needs to store the recursion depth:
If zero jump to outside return add; if 0 jump
trip...@gmail.com wrote:
On Wednesday, October 2, 2013 10:01:16 AM UTC-7, tri...@gmail.com wrote:
am trying to round off values in a dict to 2 decimal points but have been
unsuccessful so far. The input I have is like this:
y = [{'a': 80.0, 'b': 0.0786235, 'c': 10.0, 'd':
I have some rather complex code that works perfectly well if I paste it in by
hand to ipython, but if I use %run it can't find some of the libraries, but
others it can. The confusion seems to have to do with mathplotlib. I get it in
stream by:
%pylab osx
and do a bunch of stuff
On 10/03/2013 09:12 AM, macker wrote:
Hi, hope this is the right group for this:
I miss two basic (IMO) features in parallel processing:
1. make `threading.Thread.start()` return `self`
I'd like to be able to `workers = [Thread(params).start() for params in
whatever]`. Right now, it's 5
Dear All,
I have two list of dictionaries like below:
In the below dictionaries the value of ip can be either hostname or ip
address.
output1=[
{'count': 3 , 'ip': 'xxx.xx.xxx.1'},
{'count': 4, 'ip': 'xxx.xx.xxx.2'},
{'count': 8, 'ip': 'xxx.xx.xxx.3'},
{'count': 10, 'ip': 'xxx.xx.xxx.4'},
Hi list,
I write an example script using threading as follow.
It look like hang when the list l_ip is empty. And any suggestion with
debug over the threading in Python ?
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 import re
4 import os
5 import threading
6 from Queue import
On 2013-10-03, trip...@gmail.com trip...@gmail.com wrote:
thekey=[{a: 80.0, b: 0.0, c: 10.0, d: 10.0}, {a:
100.0, b: 0.0, c: 0.0, d: 0.0}, {a: 80.0, b: 0.0,
c: 10.0, d: 10.0}, {a: 90.0, b: 0.0, c: 0.0, d:
10.0}]
However, at the URL, the values show up as 90.43278694123
You'll need to
Here's the answer:
from enthought.traits.api import HasTraits, Str, List, Button, Any
from enthought.traits.ui.api import View, Item
from enthought.traits.ui.api import ListEditor
class A(HasTraits):
StringA = Str
view = View(Item('StringA'))
class B(HasTraits):
StringB = Str
view
On Thursday, October 3, 2013 11:03:17 AM UTC-7, Neil Cerutti wrote:
On 2013-10-03, trip...@gmail.com trip...@gmail.com wrote:
thekey=[{a: 80.0, b: 0.0, c: 10.0, d: 10.0}, {a:
100.0, b: 0.0, c: 0.0, d: 0.0}, {a: 80.0, b: 0.0,
c: 10.0, d: 10.0}, {a: 90.0, b: 0.0, c: 0.0, d:
10.0}]
On 03/10/2013 18:37, 李洛 wrote:
Hi list,
I write an example script using threading as follow.
It look like hang when the list l_ip is empty. And any suggestion with
debug over the threading in Python ?
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 import re
4 import os
5
In article mailman.684.1380819470.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
On Fri, Oct 4, 2013 at 2:41 AM, Roy Smith r...@panix.com wrote:
The downside to threads is that all of of this sharing makes them much
more complicated to use properly. You have to be
On Fri, Oct 4, 2013 at 4:28 AM, Roy Smith r...@panix.com wrote:
Well, the GIL certainly eliminates a whole range of problems, but it's
still possible to write code that deadlocks. All that's really needed
is for two threads to try to acquire the same two resources, in
different orders. I'm
On 3/10/2013 12:50, Chris Angelico wrote:
On Fri, Oct 4, 2013 at 2:41 AM, Roy Smith r...@panix.com wrote:
The downside to threads is that all of of this sharing makes them much
more complicated to use properly. You have to be aware of how all the
threads are interacting, and mediate access
On 03/10/2013 17:11, Mohan L wrote:
Dear All,
I have two list of dictionaries like below:
In the below dictionaries the value of ip can be either hostname or ip
address.
output1=[
{'count': 3 , 'ip': 'xxx.xx.xxx.1'},
{'count': 4, 'ip': 'xxx.xx.xxx.2'},
{'count': 8, 'ip': 'xxx.xx.xxx.3'},
On 10/2/2013 10:34 PM, Steven D'Aprano wrote:
You are both assuming that LOAD_CONST will re-use the same tuple
(1, 2, 3) in multiple places.
No I did not. To save tuple creation time, a pre-compiled tuple is
reused when its display expression is re-executed. If I had been
interested in
On 10/3/2013 1:42 PM, jshra...@gmail.com wrote:
I have some rather complex code that works perfectly well if I paste it in by
hand to ipython, but if I use %run it can't find some of the libraries, but
others it can.
Ipython is a separate product built on top of Python. If no answer here,
On 03/10/2013 20:26, Terry Reedy wrote:
On 10/3/2013 1:42 PM, jshra...@gmail.com wrote:
I have some rather complex code that works perfectly well if I paste
it in by hand to ipython, but if I use %run it can't find some of the
libraries, but others it can.
Ipython is a separate product built
In article mailman.691.1380825390.18130.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
As to your corrupt data example, though, I'd advocate a very simple
system of object ownership: as soon as the object has been put on the
queue, it's owned by the recipient and shouldn't be
On Thursday, May 16, 2013 11:15:45 AM UTC-7, vispha...@gmail.com wrote:
www.prevayler.org in python = pypersist
medusa = python epoll web server and ftp server eventy and async
wow interesting
sprevayler ??
cl-prevalence
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Oct 4, 2013 at 5:53 AM, Roy Smith r...@panix.com wrote:
So, I think my original statement:
if you're looking for a short answer, I'd say just keep doing what
you're doing using multiple processes and don't get into threading.
is still good advice for somebody who isn't sure they need
random...@fastmail.us writes:
Hey, while we're on the subject, can we talk about frozen(set|dict)
literals again? I really don't understand why this discussion fizzles
out whenever it's brought up on python-ideas.
Can you start us off by searching for previous threads discussing it,
and
On Wed, 02 Oct 2013 22:41:00 -0400, Terry Reedy wrote:
I am referring to constant-value objects included in the code object.
def f(): return (1,2,3)
f.__code__.co_consts
(None, 1, 2, 3, (1, 2, 3))
Okay, now that's more clear. I didn't understand what you meant before.
So long as we
On 10/03/2013 05:18 PM, Ben Finney wrote:
random...@fastmail.us writes:
Hey, while we're on the subject, can we talk about frozen(set|dict)
literals again? I really don't understand why this discussion fizzles
out whenever it's brought up on python-ideas.
Can you start us off by searching
On Thu, 03 Oct 2013 17:31:44 +0530, Ravi Sahni wrote:
On Thu, Oct 3, 2013 at 5:05 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
No, you are welcome here. You've posted more in just a few days than
Walter has in months. We need more people like you.
Thanks for the
On Thu, 03 Oct 2013 10:09:25 -0400, random832 wrote:
Speaking of assumptions, I would almost say that we should make the
assumption that operators (other than the __i family, and
setitem/setattr/etc) are not intended to have visible side effects. This
would open a _huge_ field of potential
On Fri, Oct 4, 2013 at 12:14 AM, MRAB pyt...@mrabarnett.plus.com wrote:
On 03/10/2013 17:11, Mohan L wrote:
Dear All,
I have two list of dictionaries like below:
In the below dictionaries the value of ip can be either hostname or ip
address.
output1=[
{'count': 3 , 'ip':
New submission from Eric Snow:
Changeset 1db6553f3f8c for issue #15576 changed
importlib._bootstrap._get_supported_file_loaders() to return a list of 2-tuples
instead of 3-tuples. However, the docstring for the function was not updated
to reflect that. More importantly,
Georg Brandl added the comment:
Patch LGTM.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19148
___
___
Python-bugs-list
Ned Deily added the comment:
That still doesn't explain the problem. How are you trying to compile the
program? For example, one way would be to use your mouse to select the Run
menu item and then the Run Module option. Or use the F5 function key shortcut
for that. Another somewhat unusual
New submission from Eric Snow:
Any reason why ExtensionFileLoader does not implement get_filename()? I'm
guessing it just slipped through the cracks. It should be there (and be
registered as implementing ExecutionLoader).
--
assignee: eric.snow
components: Interpreter Core
messages:
Roundup Robot added the comment:
New changeset 5e8de100f708 by Serhiy Storchaka in branch '2.7':
Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.
http://hg.python.org/cpython/rev/5e8de100f708
New changeset 5950dd4cd9ef by Serhiy Storchaka in branch '3.3':
Issue #18037: 2to3 now
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file31657/2to3_nonascii_bytes.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18965
___
Serhiy Storchaka added the comment:
Added a test.
--
Added file: http://bugs.python.org/file31952/2to3_nonascii_bytes.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18965
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18037
Serhiy Storchaka added the comment:
Backported to 2.7.
--
Added file: http://bugs.python.org/file31953/2to3_nonascii_bytes-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18965
___
Changes by Serhiy Storchaka storch...@gmail.com:
Removed file: http://bugs.python.org/file31952/2to3_nonascii_bytes.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18965
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19143
___
___
Stefan Krah added the comment:
Ok, I think the main reason for disallowing zeros in view-shape here
was that casts are undefined if also the shape argument is given:
x = memoryview(b'')
x.cast('d', shape=[1])
Now, this case *is* already caught at a later stage, since there isn't
enough space
Mark Hammond added the comment:
I am trying to draw attention to the situation where the script has no
shebang line, and there is no other explicit configuration info for
py.exe.
In that case, the user should just type python scriptname.py - py.exe is for
cases where just specifying python
Serhiy Storchaka added the comment:
Could anyone please review the patch?
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18725
___
Antoine Pitrou added the comment:
There is a regression in 3.4 due to changes in shutdown procedure. This
code correctly works in 3.3. There are more than a dozen places in the
stdlib which rely upon accessibility of builtins.
Well, perhaps we can special-case builtins not to be wiped at
Brett Cannon added the comment:
I should mention any solution for the command-line should take a N.N value
*only* and not just 2/3 for instances where tests do not work with the latest
version of Python yet.
--
___
Python tracker
Brett Cannon added the comment:
LGTM; just watch any Windows buildbot for possible failure.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19151
___
Brett Cannon added the comment:
Just an oversight.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
___
___
Python-bugs-list mailing list
Richard Oudkerk added the comment:
Well, perhaps we can special-case builtins not to be wiped at shutdown.
However, there is another problem here in that the Popen object survives
until the builtins module is wiped. This should be investigated too.
Maybe it is because it uses the evil
Stefan Behnel added the comment:
I'm having trouble understanding your last comment. Are you saing that you want
the exact value to be a two digits version and therefore use separate arguments
for both Pythons (e.g. --basever 2.7 --cmpver 3.3), or that you want it to
accept two digit versions
Brett Cannon added the comment:
I want to only accept major.minor version specifications; how that is done on
the command-line I don't care and leave up to you.
And yes, the version may be used in the future to disable tests that e.g. don't
work on Python 3.4 like Chameleon.
--
New submission from Rinat:
I have same error as here described http://bugs.python.org/issue4434
I made everythings according this article
http://docs.python.org/2/extending/embedding.html#compiling-and-linking-under-unix-like-systems
and more but when i try to call interpriter from C++ it
pmoody added the comment:
I've got a patch from pmarks that I've applied to ipaddr and the google code
version of ipaddress-py. I'll get it applied to the hg ipaddress.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18805
New submission from Florent Viard:
In Lib/http/client.py +682(Formerly httplib)
def fileno(self):
return self.fp.fileno()
This function should be modified to be able to handle the case where the http
request is already completed and so fp is closed. Ex.:
def fileno(self):
Roundup Robot added the comment:
New changeset b08e092df155 by Antoine Pitrou in branch '3.3':
Issue #19014: memoryview.cast() is now allowed on zero-length views.
http://hg.python.org/cpython/rev/b08e092df155
New changeset 1e13a58c1b92 by Antoine Pitrou in branch 'default':
Issue #19014:
Antoine Pitrou added the comment:
Applied Stefan's suggestion. Thanks for the review :)
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19014
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19154
___
___
Serhiy Storchaka added the comment:
Thank you Antoine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19014
___
___
Python-bugs-list mailing
Roundup Robot added the comment:
New changeset 0d079c66dc23 by Eric Snow in branch 'default':
[issue19152] Add ExtensionFileLoader.get_filename().
http://hg.python.org/cpython/rev/0d079c66dc23
--
nosy: +python-dev
___
Python tracker
Eric Snow added the comment:
I realized after I committed that this should probably be back-ported to 3.3.
I'll take care of that in a few hours.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
Eric Snow added the comment:
changeset: 85941:152f7235667001fe7cb3c90ad79ab421ef8c03bb
user:Eric Snow ericsnowcurren...@gmail.com
date:Thu Oct 03 12:08:55 2013 -0600
summary: [issue19951] Fix docstring and use of
_get_suppported_file_loaders() to reflect 2-tuples.
(wrong
Roundup Robot added the comment:
New changeset a329474cfe0c by Eric Snow in branch 'default':
[issue19151] Fix issue number in Misc/NEWS entry.
http://hg.python.org/cpython/rev/a329474cfe0c
--
nosy: +python-dev
___
Python tracker
Eric Snow added the comment:
As with #19152, I'll need to backport this to 3.3.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19151
___
___
Antoine Pitrou added the comment:
Here is a slightly modified patch implementing Serhiy's suggestion.
--
Added file: http://bugs.python.org/file31954/bytea_slice3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19087
Antoine Pitrou added the comment:
Raymond, have you had time to look at this?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18986
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +georg.brandl, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17442
___
___
Roundup Robot added the comment:
New changeset 32b18998a560 by Eric Snow in branch '3.3':
[issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect
2-tuples.
http://hg.python.org/cpython/rev/32b18998a560
--
___
Python tracker
Roundup Robot added the comment:
New changeset 832579dbafd6 by Eric Snow in branch '3.3':
[issue19152] Add ExtensionFileLoader.get_filename().
http://hg.python.org/cpython/rev/832579dbafd6
--
___
Python tracker rep...@bugs.python.org
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19151
STINNER Victor added the comment:
bytea_slice3.patch looks simpler than bytea_slice2.patch, I prefer it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19087
___
New submission from Peng Yu:
Currently, the w command does not show the stack info in color. I think that
it might be visually helpful to add some color to emphasize the current frame,
etc. May I suggest to add this feature to pdb? Thanks.
--
messages: 198916
nosy: Peng.Yu
priority:
Brett Cannon added the comment:
Actually you need to back out the 3.3 commit. That's a new API in a bugfix
release and that's bad.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
___
Changes by Brett Cannon br...@python.org:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
___
___
Python-bugs-list
Eric Snow added the comment:
Dang it. I was thinking of it as a bug that the method wasn't there, but
you're right regardless. Revert coming.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
Roundup Robot added the comment:
New changeset 7ed717bd5faa by Eric Snow in branch '3.3':
[issue19152] Revert 832579dbafd6.
http://hg.python.org/cpython/rev/7ed717bd5faa
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
Eric Snow added the comment:
Thanks for noticing that, Brett.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
___
___
Berker Peksag added the comment:
It would be good to add a versionadded(or versionchanged) tag.
--
nosy: +berker.peksag
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19152
Antoine Pitrou added the comment:
And adding __slots__ to a namedtuple subclass doesn't work.
Are you sure? I do it all the time.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19146
New submission from CliffM:
Added some tests for the _is_sunder and _is_dunder helper functions in the enum
module.
--
components: Tests
files: enum.patch
keywords: patch
messages: 198923
nosy: CliffM
priority: normal
severity: normal
status: open
title: Enum helper functions
Guido van Rossum added the comment:
Well this is what I get:
$ python3
Python 3.4.0a1+ (default:41de6f0e62fd+, Aug 27 2013, 18:44:07)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type help, copyright, credits or license for more information.
from collections import
Antoine Pitrou added the comment:
Well this is what I get:
$ python3
Python 3.4.0a1+ (default:41de6f0e62fd+, Aug 27 2013, 18:44:07)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type help, copyright, credits or license for more information.
from collections import
1 - 100 of 111 matches
Mail list logo