I'm proud to release version 1.4.19 of Roundup which introduces some
minor features and, as usual, fixes some bugs:
Features:
- Xapian indexing improved: Slightly faster and slightly smaller database.
Closes issue2550687. Thanks to Olly Betts for the patch. (Bernhard Reiter)
- PostgreSQL
Hello,
[The first message didn't seem to have come through, So I try posting it again.
I'm
sorry if you receive this message twice.]
Pyro 4.8 has been released!
Get it from Pypi: http://pypi.python.org/pypi/Pyro4/
Documentation: http://packages.python.org/Pyro4/
The most important changes
PyGUI 2.5.3 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Clipboard access now implemented on MacOSX, plus a few
bug fixes.
What is PyGUI?
--
PyGUI is a cross-platform GUI toolkit designed to be lightweight
and have a highly Pythonic API.
--
Gregory
Supplement:
The assertion will not be handled anyway.
I want AssertionError raise as early as possible.(mentinoed before)
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
(My post did not appear in the mailing list, so this is my second try.
Apology if it ends up posted twice)
Hi, all,
If you have read my previous posts to the group, you probably have some
idea why I asked this question.
I am giving a few presentations on python to my
Chris Rebert wrote:
On Fri, Jul 15, 2011 at 7:47 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
snip
Assertions are for testing internal program logic, not for validation.
(I don't even like using assert for testing. How do you test your code
with assertions turned off if
Rainer Grimm wrote:
I think it's relatively difficult to get a feeling what a are the key
points behind functional programming. So I think you should start
explaining the concepts behind functional programming. A few ideas.
- higher order functions
- first class functions
- currying
- pure
If you are spawning the process yourself, you can use subprocess.Popen and then
call p.wait() which is cross platform.
--
http://mail.python.org/mailman/listinfo/python-list
Excerpts from Inside's message of Sat Jul 16 01:40:21 -0400 2011:
Supplement:
The assertion will not be handled anyway.
I want AssertionError raise as early as possible.(mentinoed before)
An AssertionError is pretty useless, there are much better exceptions
that you could (and should!) use,
Am Samstag, 16. Juli 2011 08:46:42 UTC+2 schrieb Steven D#39;Aprano:
Rainer Grimm wrote:
I think it's relatively difficult to get a feeling what a are the key
points behind functional programming. So I think you should start
explaining the concepts behind functional programming. A few
Ellerbee, Edward wrote:
I've been working on this for 3 weeks as a project while I'm learning
python. It's ugly, only function in there is from a fellow lister, but
it works perfectly and does what it is intended to do.
I'd love to hear comments on how I could improve this code, what would
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
I found this on StackOverflow and it was very helpful:
http://stackoverflow.com/questions/10490/best-open-source-project-hosting-site
Now, I have it narrowed down to 3 choices - SF, Google Code and CodePlex.
SF pros:
Very popular and has tons
I have a custom object that customises the usual maths functions and
operators, such as addition, multiplication, math.ceil etc.
Is there a way to also customise math.sqrt? I don't think there is, but I
may have missed something.
--
Steven
--
On Sat, Jul 16, 2011 at 6:35 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I have a custom object that customises the usual maths functions and
operators, such as addition, multiplication, math.ceil etc.
Is there a way to also customise math.sqrt? I don't think there is, but
Steven D'Aprano wrote:
I have a custom object that customises the usual maths functions and
operators, such as addition, multiplication, math.ceil etc.
Is there a way to also customise math.sqrt? I don't think there is, but I
may have missed something.
There seem to be only three methods
Dnia Fri, 15 Jul 2011 23:09:02 +0200, Stefan Behnel napisał(a):
[...]
array[count++]=value;
or the more direct pointer management:
*ptr++=value;
More direct, sure. But readable? Well, only when you know what this
specific pattern does. If you have to think about it, it may end up hurting
On 07/16/2011 10:32 AM, Andrew Berg wrote:
Does anyone know if there are any services that have cross-project
integration? I can see myself closing a ton of bug reports just because
they are issues with the library part of the program, which will be a
separate project (because there will be
Dnia Fri, 15 Jul 2011 22:15:15 -0700, Dennis Lee Bieber napisał(a):
And (so far as I understand it) each process can claim its own CPU
core, whereas threads share the active core.
I do not think so. AFAIK, threads may be distributed over differrent
CPUs (just like in any other programming
PyGUI 2.5.3 is available:
http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/
Clipboard access now implemented on MacOSX, plus a few
bug fixes.
What is PyGUI?
--
PyGUI is a cross-platform GUI toolkit designed to be lightweight
and have a highly Pythonic API.
--
Gregory
On Fri, 15 Jul 2011 23:09:02 +0200, Stefan Behnel wrote:
or the more direct pointer management:
*ptr++=value;
More direct, sure. But readable? Well, only when you know what this
specific pattern does. If you have to think about it, it may end up
hurting your eyes before you figure it out.
On Sat, 16 Jul 2011 19:14:47 +1000, Chris Angelico wrote:
Only thing I can think of is:
import math
math.sqrt=lambda(x) x.__sqrt__(x) if x.whatever else math.sqrt(x)
math.sqrt=(lambda sqrt=math.sqrt: lambda x: x.__sqrt__(x) if
hasattr(x,'__sqrt__') else sqrt(x))()
--
Hi,
What's a java interface library doing in comp.lang.python, you might ask.
Well, this one, called 'Pyrolite' is meant to be a lightweight library (50kb)
to
interface your java application to Python in a very easy and straightforward
way.
Pyrolite uses the Pyro protocol to call methods on
Chris Angelico ros...@gmail.com wrote:
On Sat, Jul 16, 2011 at 6:26 AM, Dan Stromberg drsali...@gmail.com wrote:
I don't regard this as a low level versus VHLL issue - I regard it as a
matter of operators with side effects being too error prone. Adding such
operators to Python has been
On Jul 15, 6:16 pm, Chris Angelico ros...@gmail.com wrote:
On Sat, Jul 16, 2011 at 4:56 AM, rantingrick rantingr...@gmail.com wrote:
Hmm, that's strange considering that code MUST be formatted in certain
ways or you get a syntax error (indention, colons, parenthesis, etc,
etc). I don't hear
On Sat, Jul 16 2011, Thomas Jollans wrote:
On 07/16/2011 10:32 AM, Andrew Berg wrote:
Does anyone know if there are any services that have cross-project
integration? I can see myself closing a ton of bug reports just because
they are issues with the library part of the program, which will be
On 07/16/2011 01:35 AM, Steven D'Aprano wrote:
I have a custom object that customises the usual maths functions and
operators, such as addition, multiplication, math.ceil etc.
Is there a way to also customise math.sqrt? I don't think there is, but I
may have missed something.
Create a file
On 7/16/11 4:55 AM, Waldek M. wrote:
Dnia Fri, 15 Jul 2011 23:09:02 +0200, Stefan Behnel napisał(a):
[...]
array[count++]=value;
or the more direct pointer management:
*ptr++=value;
More direct, sure. But readable? Well, only when you know what this
specific pattern does. If you have to
On Sun, Jul 17, 2011 at 1:32 AM, rantingrick rantingr...@gmail.com wrote:
On Jul 15, 6:16 pm, Chris Angelico ros...@gmail.com wrote:
Not Ruby, but to other languages. There's this guy in my house named
Chris who tries his best to avoid Python if the code is going to be
shared over any dodgy
On Sun, Jul 17, 2011 at 2:31 AM, Phlip phlip2...@gmail.com wrote:
pydhcplib? Shell to a DHCP utility? Ping every server in a range
around my own?
I'd say there's several imperfect options, and no perfect ones.
1) DHCP, which hosts may or may not be using.
2) DNS - look up a list of the hosts
--
Summary
--
As we all know python allows us to use either tabs or spaces but NEVER
both in the same source file. And as we also know the python style
guide says we should use four spaces and refrain
Cameron,
You use a directory as lock mechanism. I think I get how that works.
When you're done manipulating the file, do you just remove the director?
Josh
--
http://mail.python.org/mailman/listinfo/python-list
I found a FileLock (lost the link and it's not in the code) that uses context
managers to create a .lock file in the same directory of the file. It uses
os.unlink to delete the .lock file but I don't know if this deletes the file or
just removes it from the directory and leaves the memory
Chris,
Thank you for spelling this out. I thought about this as a solution but I don't
have the skills to create this server application, and I don't know if the
target network can handle this request. They can see files on a shared drive.
They can't see each other's computers on the network,
On 07/16/2011 11:51 AM, rantingrick wrote:
1) Using only one indention token removes any chance of user error.
I'm not sure it removes any chance of user error...programmers
are an awfully error-prone lot -- especially beginners. Picking
one or the other might help reduce friction when
On 7/16/2011 9:52 AM Chris Angelico said...
On Sun, Jul 17, 2011 at 2:31 AM, Phlipphlip2...@gmail.com wrote:
pydhcplib? Shell to a DHCP utility? Ping every server in a range
around my own?
I'd say there's several imperfect options, and no perfect ones.
1) DHCP, which hosts may or may not
On Fri, Jul 15, 2011 at 3:47 PM, Josh English
joshua.r.engl...@gmail.com wrote:
Maybe not to the gurus here, but for me, this is a complex problem and I want
to make sure I understand the real problem.
All of this is in Python 2.7 and wxPython
I have several XML files on a shared drive.
I
On Sun, Jul 17, 2011 at 3:41 AM, Josh English
joshua.r.engl...@gmail.com wrote:
Chris,
Thank you for spelling this out. I thought about this as a solution but I
don't have the skills to create this server application, and I don't know if
the target network can handle this request. They can
On 07/16/2011 06:31 PM, Phlip wrote:
Yes, pythonistas, sometimes I even amaze myself with the quality of
question that a computer scientist with a 25 year resume can ask
around here...
In my defense, a Google search containing intranet host will fan out
all over the place, not narrow on
On Sun, Jul 17, 2011 at 4:04 AM, Emile van Sebille em...@fenx.com wrote:
On 7/16/2011 9:52 AM Chris Angelico said...
I'd say there's several imperfect options, and no perfect ones.
1) DHCP, which hosts may or may not be using.
2) DNS - look up a list of the hosts within a (sub)domain.
3)
On 07/16/2011 06:00 PM, Jason Earl wrote:
On Sat, Jul 16 2011, Thomas Jollans wrote:
On 07/16/2011 10:32 AM, Andrew Berg wrote:
Does anyone know if there are any services that have cross-project
integration? I can see myself closing a ton of bug reports just because
they are issues with the
On Sun, Jul 17, 2011 at 4:15 AM, Thomas Jollans t...@jollybox.de wrote:
In the end, there is only one way to get all active machines: Ping
everyone on the subnet.
But that will list everyone who's _currently_ active; it won't list
everyone who _ought to be_ active. However, the OP was slightly
Is the whole program pure python? Sometimes a reference to undefined memory
or a lack of error checking elsewhere in a program, can cause innocuous code
to fail later: http://stromberg.dnsalias.org/~dstromberg/checking-early.html
If the program uses ctypes, or an unusual Python/C API module, I'd
On Sat, Jul 16, 2011 at 9:51 AM, rantingrick rantingr...@gmail.com wrote:
--
Summary
--
As we all know python allows us to use either tabs or spaces but NEVER
both in the same source file. And
Dodgy medium? Such as? I just avoid sending code over any medium
that is going to change the text in any way. Are you sending it with
an instant messenger client or something? There are lots of ways,
some very convenient, to transfer files without them being modified.
If you need to quickly
Multiple clients reading from and writing to a central collection of
related data is a problem that has been largely solved. Use a
database, and have the clients act on it with transactions. There's
no reason to re-invent the wheel.
You could have the clients connect to the database directly
Am 16.07.2011 21:13, schrieb Dan Stromberg:
Some options:
1) Broadcast ping
2) nmap the subnet, optionally with -P0
3) Check the arp cache (optionally after options 1, 2 or 4)
4) Unicast ping everything on the subnet in parallel - very effective, very
fast, might want to do it with threads
On Sun, Jul 10, 2011 at 2:15 PM, rantingrick rantingr...@gmail.com wrote:
On Jul 4, 3:43 am, Gregory Ewing greg.ew...@canterbury.ac.nz wrote:
rantingrick wrote:
what concerns me is the fact that virtual methods in derived
classes just blend in to the crowd.
I think we really need some
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 11:51 AM, rantingrick wrote:
-- Evidence: Tabs ARE
superior! --
That may be the case (for indentation, NOT alignment), but you're
On Jul 16, 5:34 pm, Fabio Zadrozny fabi...@gmail.com wrote:
I also like the idea of override annotations and I've created a blog
post
at:http://pydev.blogspot.com/2011/06/overrideimplements-templates-on-pyd...
to explain how I do use it (and in a way that I think should be
standard in
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 10:32 AM, rantingrick wrote:
This method will preserve indention. However some might
blubber...Yeah but then you have to remove the arrows, boo :( ...
well just watch and learn kiddo:
s =
def foo(): ---for x in range(10):
On Sun, Jul 17, 2011 at 5:23 AM, Michael Hrivnak mhriv...@hrivnak.org wrote:
Dodgy medium? Such as? I just avoid sending code over any medium
that is going to change the text in any way. Are you sending it with
an instant messenger client or something? There are lots of ways,
some very
rantingrick rantingr...@gmail.com wrote:
As we all know python allows us to use either tabs or spaces but NEVER
both in the same source file.
That's not true. Python allows tabs and spaces to be used in the same
source file, and even in the same source line.
I'm not saying it's wise, but it
On 16Jul2011 10:34, Josh English joshua.r.engl...@gmail.com wrote:
| I found a FileLock (lost the link and it's not in the code) that uses
| context managers to create a .lock file in the same directory of the
| file. It uses os.unlink to delete the .lock file but I don't know if
| this deletes
On 16Jul2011 10:37, Josh English joshua.r.engl...@gmail.com wrote:
| You use a directory as lock mechanism. I think I get how that works.
| When you're done manipulating the file, do you just remove the director?
Yes. The advantages of a directory are twofold: you can't mkdir() twice
while you
On 16Jul2011 13:42, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
wrote:
| Billy Mays wrote:
| I was thinking that a convenient solution to this problem would be to
| introduce a new Exception call PauseIteration, which would signal to the
| caller that there is no more data for now,
On Jul 16, 6:03 pm, Andrew Berg bahamutzero8...@gmail.com wrote:
Shouldn't that be s = s.replace('---', '\t') ?
Now you see what this four space brain washing has done to us!
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 06:12 PM, Chris Angelico wrote:
He's on Steven's killfile, and he might get himself on mine.
He's like a guy at a party who's had too much to drink. He'll start
going on about conspiracy theories and philosophies based more on
On Sun, Jul 17, 2011 at 9:25 AM, rantingrick rantingr...@gmail.com wrote:
Now you see what this four space brain washing has done to us!
At least we have clean, freshly-washed brains.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On 16Jul2011 09:51, rantingrick rantingr...@gmail.com trolled:
| Evidence: Tabs ARE superior!
| --
| I have begun to believe that tabs are far more superior to spaces
Please Rick: you need at least three things to use the term more
superior. With
On Sat, Jul 16, 2011 at 4:52 PM, Cameron Simpson c...@zip.com.au wrote:
Well to some extent because I share files with
another who uses 4 position tabs. Editing these is a real nightmare if
one uses 8 position tabs (as I do, the common editor/terminal default
these days).
8's been the
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 06:52 PM, Cameron Simpson wrote:
Only for leading indentation, not following indentation. Consider
docstrings and other stuff with embedded fixed witdh layout.
I try to avoid aligning things unless not doing it really hurts
On Sun, Jul 17, 2011 at 9:52 AM, Cameron Simpson c...@zip.com.au wrote:
| Programming languages MUST have rules or
| ambiguities will run a muck and bring the entire system crashing down.
Amuck is one word you know...
Yes, but maybe he's wanting to run a MUCK. It's quite possible; I run
a
Gregory Ewing wrote:
Ethan Furman wrote:
some of the return values (Logical, Date, DateTime, and probably
Character) will have their own dedicated singletons (Null, NullDate,
NullDateTime, NullChar -- which will all compare equal to None)
That doesn't seem like a good idea to me. It's common
On 16Jul2011 19:29, Andrew Berg bahamutzero8...@gmail.com wrote:
| Of everything I've read on tabs vs. spaces, this is what makes the most
| sense to me:
| http://www.iovene.com/61/
Makes sense to me. Thanks for the URL. Cheers,
--
Cameron Simpson c...@zip.com.au DoD#743
Hello,
So, regarding the path that python uses to find modules, I read
the link that you sent. Suppose, I open IDLE and start an interactive
session. That would mean the input script location is wherever python is
installed, correct? I did add an environment variable PYTHONPATH
On 01/-10/-28163 02:59 PM, rantingrick wrote:
On Jul 16, 5:34 pm, Fabio Zadroznyfabi...@gmail.com wrote:
I also like the idea of override annotations and I've created a blog
post at:http://pydev.blogspot.com/2011/06/overrideimplements-templates-on-pyd...
to explain how I do use it (and in a
Andrew Berg wrote:
I try to avoid aligning things unless not doing it really hurts
readability for that reason. For example, in most of my source files, I
use tabs to indent. Since Python won't allow a mix of tabs and spaces
(for whitespace) on one line, I don't try to align things:
else:
Cameron Simpson wrote:
On 16Jul2011 09:51, rantingrick rantingr...@gmail.com trolled:
| Evidence: Tabs ARE superior!
| --
| I have begun to believe that tabs are far more superior to spaces
Please Rick: you need at least three things to use
Michael Hrivnak wrote:
Dodgy medium? Such as? I just avoid sending code over any medium
that is going to change the text in any way. Are you sending it with
an instant messenger client or something? There are lots of ways,
some very convenient, to transfer files without them being
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
On 2011.07.16 10:07 PM, Steven D'Aprano wrote:
Hilariously, in my newsreader, the first example (allegedly
unaligned) was lined up as straight as an arrow,
It has consistent indentation, but the self.whatever references aren't
aligned.
The
On Sun, Jul 17, 2011 at 08:39, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
I have reluctantly come to do the same thing. There is a plethora of broken
tools out there that don't handle tabs well, and consequently even though
tabs for indentation are objectively better, I use
On 17Jul2011 13:09, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
wrote:
| Cameron Simpson wrote:
| On 16Jul2011 09:51, rantingrick rantingr...@gmail.com trolled:
| | Evidence: Tabs ARE superior!
| | --
| | I have begun to believe that
Nick Coghlan ncogh...@gmail.com added the comment:
The redundancy of the (most recent call last) when there's only one frame in
the stack is a separate problem (as it happens even for unchained tracebacks),
but feel free to create a new issue if you'd like to see it changed (I expect
it would
Nick Coghlan ncogh...@gmail.com added the comment:
+1 for a new exception type to indicate this may technically be legal Python,
but this Python implementation cannot handle it correctly
Whatever exception type we add, it would be nice to also be able to use it if
someone eventually fixes the
Georg Brandl ge...@python.org added the comment:
I like SyntaxLimitError much better than ParserError.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11343
___
Changes by Bharadwaj barbi.br...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file22674/http_example.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12524
___
Georg Brandl ge...@python.org added the comment:
httpstat.us is has been registered quite recently, and is titled as an
experiment in the footer. I'd rather use something more likely to be
persistent. bugs.python.org seems a better choice.
--
___
Eli Bendersky eli...@gmail.com added the comment:
The difference between 2.6 and 2.7 stems from the rewrite of the IO library in
C that was made for 2.7
The error Terry sees gets thrown here (in Modules/_io/stringio.c):
if (!PyUnicode_Check(obj)) {
PyErr_Format(PyExc_TypeError,
Also, it does not say or advertise about POST, it gives examples for
GET. I find Ezio's suggestion using bugs.python.org as a good one.
___
Python-bugs-list mailing list
Unsubscribe:
Eli Bendersky eli...@gmail.com added the comment:
Peter, doesn't your patch also refer to the meaning of * and ** in function
definitions?
I would argue that the missing reference is to a paragraph further down:
[...] If the syntax *expression appears in the function call, expression
Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10271
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
Please don't manage independent bugs in a single issue, even if they are
related. The way this is done here will it make hard to track what exactly has
been done, and what needs to be done.
As it stands, please combine all patches into a
Martin v. Löwis mar...@v.loewis.de added the comment:
FWIW, it only happens with IDLE; python.exe seems to terminate fine when done.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12540
Martin v. Löwis mar...@v.loewis.de added the comment:
In the #2382 code, how is the Windows case supposed to work? Also, what about
systems that don't have wcswidth? IOW, the patch appears to be incorrect.
I like the #6755 approach better, except that it shouldn't be using hard-coded
tables,
Martin v. Löwis mar...@v.loewis.de added the comment:
Terry, please don't overreact. Nobody has noticed it during the *long* rc
period of 3.2.1, so it can't be that bad. Actually, I *did* notice, but didn't
have the time to submit a bug report.
--
priority: critical - high
Martin v. Löwis mar...@v.loewis.de added the comment:
sys.version_info and sys._mercurial provide all the info needed for someone
(like me for mnfy)
Can you please elaborate? How do you know from looking at
sys._mercurial whether you can support that AST version?
sys._mercurial changes with
Nick Coghlan ncogh...@gmail.com added the comment:
On Sat, Jul 16, 2011 at 8:24 PM, Martin v. Löwis rep...@bugs.python.org wrote:
sys.version_info and sys._mercurial provide all the info needed for someone
(like me for mnfy)
Can you please elaborate? How do you know from looking at
Sandro Tosi sandro.t...@gmail.com added the comment:
Sorry for the late reply: I've applied Éric comments made on Rietveld.
--
Added file: http://bugs.python.org/file22675/shutil_chown-default-v5.patch
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
The error Terry sees gets thrown here (in Modules/_io/stringio.c):
if (!PyUnicode_Check(obj)) {
PyErr_Format(PyExc_TypeError, string argument expected, got '%s',
Py_TYPE(obj)-tp_name);
return NULL;
Nick Coghlan ncogh...@gmail.com added the comment:
NotImplemented is a speed and maintainability hack - the runtime cost and
additional code complexity involved in doing the same operator signalling via
exceptions would be prohibitive (check Objects/abstract.c in the CPython source
if you
Nick Coghlan ncogh...@gmail.com added the comment:
Also, a note regarding efficiency: as it calls the underlying methods directly
and avoids recursing through the full operand coercion machinery, I would
actually expect this approach to run faster than the current implementation.
--
Eli Bendersky eli...@gmail.com added the comment:
On one hand, I agree that the situation isn't intuitive. Why should some
methods of bytearray accept bytearrays, and some shouldn't?
On the other hand, this actually has rather deep implementation reasons.
Methods like 'translate' are
Benjamin Peterson benja...@python.org added the comment:
2011/7/16 Nick Coghlan rep...@bugs.python.org:
Nick Coghlan ncogh...@gmail.com added the comment:
+1 for a new exception type to indicate this may technically be legal
Python, but this Python implementation cannot handle it correctly
Eli Bendersky eli...@gmail.com added the comment:
The documentation for Queue in all versions of Python 2.7 and 2.6 (see
http://docs.python.org/release/2.6.7/library/queue.html#module-Queue for
the 2.7 docs) has the title queue -- A synchronized queue class. The
module, however, is named
Nick Coghlan ncogh...@gmail.com added the comment:
It's important to remember that other implementations treat CPython as
the gold standard for compatibility purposes. If we declare
something to be an ordinary SyntaxError, then that carries strong
implications for what other implementations
Benjamin Peterson benja...@python.org added the comment:
2011/7/16 Nick Coghlan rep...@bugs.python.org:
Nick Coghlan ncogh...@gmail.com added the comment:
It's important to remember that other implementations treat CPython as
the gold standard for compatibility purposes. If we declare
Nick Coghlan ncogh...@gmail.com added the comment:
It also makes it clear to users whether they've just run up against a
limitation of the implementation they're using or whether what they've
written is genuinely illegal code. They are NOT the same thing.
Attempting to conflate them into one
Benjamin Peterson benja...@python.org added the comment:
2011/7/16 Nick Coghlan rep...@bugs.python.org:
Nick Coghlan ncogh...@gmail.com added the comment:
It also makes it clear to users whether they've just run up against a
limitation of the implementation they're using or whether what
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11343
___
Nick Coghlan ncogh...@gmail.com added the comment:
It matters, because Python users are programmers, and most
programmers want to know *why* they're being told something is wrong.
Raising MemoryError is technically incorrect at this point, but at
least gives the right flavour of the user not
1 - 100 of 119 matches
Mail list logo