The EuroPython 2010 call for papers closes this Friday on 30th April.
We've already had many submissions covering Python 3, Python 2.7,
IronPython, Game Programming, Testing, Behavior Driven Development,
NoSQL, Accessiblilty and others.
We still are looking for talks and tutorials on Django,
pyjamas - the stand-alone python-to-javascript compiler, and separate
GUI Widget Toolkit, has its 0.7 release, today. this has been much
delayed, in order to allow the community plenty of time between the
0.7pre2 release and the final release, to review and test all the
examples.
pyjamas allows
Pyevolve is an evolutionary computation framework written in pure
Python. This is the first release candidate before the 0.6 official
release.
See more information about this release on the official announce at
(http://pyevolve.sourceforge.net/wordpress/?p=1164) or in the
Documentation site at
On Sat, Apr 24, 2010, Yingjie Lan lany...@yahoo.com wrote:
On Sun, 4/25/10, Chris Rebert c...@rebertia.com wrote:
On Sat, Apr 24, 2010, Yingjie Lan lany...@yahoo.com wrote:
On Sat, 4/24/10, Gary Herron gher...@islandtraining.com wrote:
Yingjie Lan wrote:
On Sat, 4/24/10, Steven D'Aprano
--- On Sun, 4/25/10, Chris Rebert c...@rebertia.com wrote:
From: Chris Rebert c...@rebertia.com
Subject: Re: NameError: how to get the name?
To: Yingjie Lan lany...@yahoo.com
Cc: python list python-list@python.org
Date: Sunday, April 25, 2010, 10:09 AM
On Sat, Apr 24, 2010, Yingjie Lan
could anyone help me?
On Apr 21, 2:55 pm, jacky wang bugking.w...@gmail.com wrote:
Hello
recently, I met a problem with one python application running with
python2.5 | debian/lenny adm64 system: it crashed occasionally in our
production environment. The problem started to happen just
On Apr 21, 12:56 pm, candide cand...@free.invalid wrote:
Is the del instruction able to remove _at the same_ time more than one
element from a list ?
For instance, this seems to be correct :
z=[45,12,96,33,66,'c',20,99]
del z[2], z[6],z[0]
z
[12, 33, 66, 'c', 20]
Another possibility is to open the file in binary mode and do the
encoding yourself when writing text. This might actually be a better
solution, since I'm not sure RTF uses utf-8 by default.
Yes, thanks for this suggestion, it seems the best to me. Actually RTF
is not UTF-8 encoded, it's
I've got an application which makes fairly heavy use of daemon threads to
perform 'background' processing and various other long-running tasks that are
likely to block.
I originally thought I could safely fire off a daemon threading.Thread and
essentially forget about managing the thread's
Chris Rebert wrote:
On Sat, Apr 24, 2010 at 1:53 PM, Jonathan Fine jf...@pytex.org wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is
Hi,
I want to debug my c++blocks which are dynamically
loaded into python for execution. I am using wingide for debugging python. But
its limitation is that when c++module is called in python script it doent take
me into c++ module. What I want is that I should be able to visually see the
c++
hi hope all are doing good, i have code written in perl which quries
too many devices and then stores the result in mysqldb, whiel shifting
to python and googling i heared of and studied google asynch python
code, now i wanted to use it n convert my perl code to it but i have
some problem.
1.
Say, a Standard Library function works in a way it was not supposed
to.
Developers (who use Python) handle this issue themselves.
And then, you (a python-core developer) fix the behavior of the
function.
Although you have “fixed” the bug, anyone who upgrades, will be in
trouble.
Their code may
On Apr 23, 9:23 am, Phlip phlip2...@gmail.com wrote:
When I use the CSV library, with QUOTE_NONNUMERIC, and when I pass in
a Decimal() object, I must convert it to a string.
Why must you? What unwanted effect do you observe when you don't
convert it?
the search for an alternate CSV module,
Aahz wrote:
In article u_idnaxonvb9x07wnz2dnuvz8kmdn...@brightview.co.uk,
Jonathan Fine jf...@pytex.org wrote:
I'm hoping to avoid reinventing a wheel (or other rolling device). I've
got a number of dependencies and, if possible, I want to order them so
that each item has its dependencies
Hi,
I released Oktest 0.2.2.
http://packages.python.org/Oktest/
http://pypi.python.org/pypi/Oktest/
Overview
Oktest is a new-style testing library for Python.
::
from oktest import ok
ok (x) 0 # same as assert_(x 0)
ok (s) == 'foo'# same as
On Sun, Apr 25, 2010 at 5:53 AM, Jonathan Fine jf...@pytex.org wrote:
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is processed.
I think I could
pyjamas - the stand-alone python-to-javascript compiler, and separate
GUI Widget Toolkit, has its 0.7 release, today. this has been much
delayed, in order to allow the community plenty of time between the
0.7pre2 release and the final release, to review and test all the
examples.
pyjamas allows
On 10:02 am, elvismoodbi...@gmail.com wrote:
Say, a Standard Library function works in a way it was not supposed
to.
Developers (who use Python) handle this issue themselves.
And then, you (a python-core developer) fix the behavior of the
function.
Although you have 1Cfixed 1D the bug, anyone
On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine jf...@pytex.org wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is processed.
I think I
Hi,
This is my first try at XML with Python, and though I tried to read on the web,
I'm unable to traverse a DOM tree, as my top element seems to be DOCUMENT_NODE
and I cannot find a way to get to the nodes below it.
Below is a sample data, script and execution.
Could you point to where I'm
Barak, Ron, 25.04.2010 17:06:
This is my first try at XML with Python, and though I tried to read on the web,
I'm unable to traverse a DOM tree, as my top element seems to be DOCUMENT_NODE
and I cannot find a way to get to the nodes below it.
You might find the xml.etree.ElementTree package
Makoto Kuwata wrote:
On Sun, Apr 25, 2010 at 5:53 AM, Jonathan Fine jf...@pytex.org wrote:
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is
Eduardo Schettino wrote:
On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine jf...@pytex.org wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've got
a number of dependencies and, if possible, I want to order them so that each
item has its dependencies met before it is
Makoto Kuwata wrote:
Hi,
I released Oktest 0.2.2.
http://packages.python.org/Oktest/
http://pypi.python.org/pypi/Oktest/
Overview
Oktest is a new-style testing library for Python.
::
from oktest import ok
ok (x) 0 # same as assert_(x 0)
ok (s) == 'foo'
On Sun, Apr 25, 2010 at 11:44 PM, Jonathan Fine jf...@pytex.org wrote:
Eduardo Schettino wrote:
On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine jf...@pytex.org wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've
got
a number of dependencies and, if possible,
Eduardo Schettino wrote:
On Sun, Apr 25, 2010 at 11:44 PM, Jonathan Fine jf...@pytex.org wrote:
Eduardo Schettino wrote:
On Sun, Apr 25, 2010 at 4:53 AM, Jonathan Fine jf...@pytex.org wrote:
Hi
I'm hoping to avoid reinventing a wheel (or other rolling device). I've
got
a number of
On 04/26/10 02:37, Jonathan Fine wrote:
I don't know if the quadratic running time is an issue for my purpose.
It's not until you decide it's yes.
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 25, 9:41 am, Shabbir Ahmed shabbir1...@gmail.com wrote:
hi hope all are doing good, i have code written in perl which quries
too many devices and then stores the result in mysqldb, whiel shifting
to python and googling i heared of and studied google asynch python
code, now i wanted to
On Mar 11, 2:16 am, alex23 wuwe...@gmail.com wrote:
Victor Subervi victorsube...@gmail.com wrote:
There's a program (vpopmail) that has commands which, when called, request
input (email address, password, etc.) from the command line. I would
like to build a TTW interface for my clients
for fits and giggles, to show what's possible in only 400
lines of python, here is a game of asteroids, written by joe rumsey.
yes, it runs under pyjamas-desktop too.
http://pyjs.org/examples/asteroids/public/Space.html
This URL returns a blank page for me on firefox 3.3.5 (linux) with
Shabbir Ahmed shabbir1...@gmail.com writes:
hi hope all are doing good, i have code written in perl which quries
too many devices and then stores the result in mysqldb, whiel shifting
to python and googling i heared of and studied google asynch python
code, now i wanted to use it n convert my
Pyevolve is an evolutionary computation framework written in pure
Python. This is the first release candidate before the 0.6 official
release.
See more information about this release on the official announce at
(http://pyevolve.sourceforge.net/wordpress/?p=1164) or in the
Documentation site at
On 4/25/2010 2:07 PM, Daniel Fetchinson wrote:
for fits and giggles, to show what's possible in only 400
lines of python, here is a game of asteroids, written by joe rumsey.
yes, it runs under pyjamas-desktop too.
http://pyjs.org/examples/asteroids/public/Space.html
This URL returns a
On 4/25/2010 3:43 PM, Terry Reedy wrote:
On 4/25/2010 2:07 PM, Daniel Fetchinson wrote:
for fits and giggles, to show what's possible in only 400
lines of python, here is a game of asteroids, written by joe rumsey.
yes, it runs under pyjamas-desktop too.
I have the following issue:
My program runs a thread called the MainThread, that loops trough a
number of URLs and decides when it's the right time for one to be
fetched. Once a URL has to be fetched, it's added to a Queue object,
where the FetchingThread picks up and does the actual work.
* Luke Kenneth Casson Leighton:
http://pyjs.org/examples/asteroids/public/Space.html
result
An error has been encountered in accessing this page.
1. Server: pyjs.org
2. URL path: /examples/asteroids/public/examples/asteroids/public/bootstrap.js
3. Error notes: NONE
4. Error type: 404
5.
[I originally sent this to python-help; the volunteer who responded
thought it was OK to repost it here.]
I'm sure this has been discussed somewhere before, but I can't find it
in the Python issue tracker. The following behavior from the
interactive interpreter is rather confusing. (I've seen
On Apr 25, 8:49 am, Luke Kenneth Casson Leighton l...@lkcl.net
wrote:
pyjamas - the stand-alone python-to-javascript compiler, and separate
GUI Widget Toolkit, has its 0.7 release, today. this has been much
delayed, in order to allow the community plenty of time between the
0.7pre2 release
On Apr 25, 3:31 pm, Colin Howell colin.d.how...@gmail.com wrote:
[I originally sent this to python-help; the volunteer who responded
thought it was OK to repost it here.]
I'm sure this has been discussed somewhere before, but I can't find it
in the Python issue tracker. The following behavior
Daniel Fetchinson fetchin...@googlemail.com:
for fits and giggles, to show what's possible in only 400
lines of python, here is a game of asteroids, written by joe rumsey.
yes, it runs under pyjamas-desktop too.
http://pyjs.org/examples/asteroids/public/Space.html
This URL returns a
Hi everyone,
I posted this in the cocos2d and pyglet discussion group, I thought
I'll get a response right away since my problem is quite general but I
got no response. I hope you will help me!!! this is the original post
On Apr 25, 2:55 pm, sdistefano sdistef...@gmail.com wrote:
I have the following issue:
My program runs a thread called the MainThread, that loops trough a
number of URLs and decides when it's the right time for one to be
fetched. Once a URL has to be fetched, it's added to a Queue object,
Colin Howell colin.d.how...@gmail.com writes:
I know that Dive Into Python is quite old and there have been many
improvements in the language since,
FYI There is a Dive Into Python 3.
--
John Bokma j3b
Hacking Hiking in Mexico -
I have been using ulipad to edit .rst and .py files. I have currently been
launching using terminal python32 ulipad.py and then opening the file I
what to edit. I would like to be able to set ulipad as the defualt editor
for .rst and .py files. I posted this question on superuser.com and got a
In article mailman.1917.1271357827.23598.python-l...@python.org,
J. Cliff Dyer j...@sdf.lonestar.org wrote:
On Thu, 2010-04-15 at 11:25 -0700, koranthala wrote:
Suppose I am doing the following:
req = urllib2.urlopen('http://www.python.org')
data = req.read()
When is the actual data
I am considering writing a PEP for the inclusion of an engineering
format specifier, and would appreciate input from others.
Background (for those who don't already know about engineering
notation):
Engineering notation (EN) is type of floating point representation.
The idea with EN is that the
http://www.scribd.com/doc/30492594/If-Not-Busy-You-Could-Prevent-the-FINAL-WAR-Today
This is not a Drill … PRIORITY ONE
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, Apr 25, 2010 at 8:36 PM, Keith keith.braff...@gmail.com wrote:
I am considering writing a PEP for the inclusion of an engineering
format specifier, and would appreciate input from others.
Background (for those who don't already know about engineering
notation):
Engineering notation
On Sun, 25 Apr 2010 20:36:22 -0700, Keith wrote:
I am considering writing a PEP for the inclusion of an engineering
format specifier, and would appreciate input from others.
[...]
For instance, no one talks about 4.7e-5F, as they would rather see 47e-6
(micro). Instead of 2.2e-2, engineers
On Apr 26, 12:02 am, Chris Rebert c...@rebertia.com wrote:
On Sun, Apr 25, 2010 at 8:36 PM, Keith keith.braff...@gmail.com wrote:
I am considering writing a PEP for the inclusion of an engineering
format specifier, and would appreciate input from others.
snip
Relevant related information:
On Apr 26, 12:29 am, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sun, 25 Apr 2010 20:36:22 -0700, Keith wrote:
no one talks about 4.7e-5F, as they would rather see 47e-6
(micro). Instead of 2.2e-2, engineers need to see 22.0e-3 (milli).
I'd be cautious about making claims
On Sun, Apr 25, 2010 at 9:42 PM, Keith keith.braff...@gmail.com wrote:
On Apr 26, 12:02 am, Chris Rebert c...@rebertia.com wrote:
On Sun, Apr 25, 2010 at 8:36 PM, Keith keith.braff...@gmail.com wrote:
I am considering writing a PEP for the inclusion of an engineering
format specifier, and
On Mon, Apr 26, 2010 at 3:19 PM, Chris Rebert c...@rebertia.com wrote:
Apparently either you and the General Decimal Arithmetic spec differ
on what constitutes engineering notation, there's a bug in the Python
decimal library, or you're hitting some obscure part of the spec's
definition. I
On Sun, Apr 25, 2010 at 10:25 PM, Xavier Ho cont...@xavierho.com wrote:
On Mon, Apr 26, 2010 at 3:19 PM, Chris Rebert c...@rebertia.com wrote:
Apparently either you and the General Decimal Arithmetic spec differ
on what constitutes engineering notation, there's a bug in the Python
decimal
On Apr 26, 1:19 am, Chris Rebert c...@rebertia.com wrote:
Apparently either you and the General Decimal Arithmetic spec differ
on what constitutes engineering notation, there's a bug in the Python
decimal library, or you're hitting some obscure part of the spec's
definition.
snip
The
On Mon, Apr 26, 2010 at 3:39 PM, Chris Rebert c...@rebertia.com wrote:
The conversion **exactly follows the rules for conversion to
scientific numeric string** except in the case of finite numbers
**where exponential notation is used.**
Well, then maybe the conversion doesn't exactly follow
Changes by Georg Brandl ge...@python.org:
--
assignee: - georg.brandl
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8525
___
Changes by Pascal Chambon chambon.pas...@gmail.com:
Removed file: http://bugs.python.org/file17046/release_io_close_exceptions.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7865
___
Pascal Chambon chambon.pas...@gmail.com added the comment:
SHould be better this way then B-)
--
Added file: http://bugs.python.org/file17077/no_swallow_on_close2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7865
New submission from akira 4kir4...@gmail.com:
`messges` should be replaced by `messages` on
http://docs.python.org/dev/library/argparse.html#upgrading-optparse-code page.
--
assignee: d...@python
components: Documentation
messages: 104144
nosy: akira, d...@python
severity: normal
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r80460.
--
assignee: d...@python -
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8528
Georg Brandl ge...@python.org added the comment:
Thanks, applied in r80461.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8522
Changes by Dan Kenigsberg dan...@redhat.com:
--
nosy: +danken
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4147
___
___
Python-bugs-list mailing
Changes by Ray.Allen ysj@gmail.com:
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list mailing list
STINNER Victor victor.stin...@haypocalc.com added the comment:
Please follow the naming convention used in os.path. The functions
would have to be called os.path.fsencode() and os.path.fsdecode().
Ok
Other than that, I'm +0 on the patch: the sys.filesystemencoding
logic doesn't really work
New submission from Florent Xicluna florent.xicl...@gmail.com:
It looks like a bug, because __getslice__ is deprecated since 2.0.
If you subclass a builtin type and override the __getitem__ method, you need to
override the (deprecated) __getslice__ method too.
And if you run your program with
New submission from Alex alex.gay...@gmail.com:
In Objects/stringlib/fastsearch.h the lines:
if (!STRINGLIB_BLOOM(mask, s[i-1]))
and
if (!STRINGLIB_BLOOM(mask, s[i-1]))
can read beyond the front of the array that is passed to it when the loop
enters with i =
Changes by Antoine Pitrou pit...@free.fr:
--
components: +Interpreter Core
nosy: +flox
priority: - normal
stage: - needs patch
type: - behavior
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
Florent Xicluna florent.xicl...@gmail.com added the comment:
I guess we don't have the same issue with the find() implementation?
if (!STRINGLIB_BLOOM(mask, s[i+m]))
Because:
* len(s) = n = (w + m)
* the loop condition is (i = w)
== s[w+m] is beyond the array, but it is '\0' probably
Is
Alex alex.gay...@gmail.com added the comment:
Yes, as the comment of the top of the file notes, reading to s[n] (where n ==
len(s)) is safe because strings are null padded.
--
___
Python tracker rep...@bugs.python.org
Matthias Klose d...@debian.org added the comment:
r80474: Replace AC_HELP_STRING with AS_HELP_STRING
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8510
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
This patch should fix it.
Since there's no failure, I don't find any test to add.
--
keywords: +patch
stage: needs patch - patch review
Added file: http://bugs.python.org/file17078/issue8530_rfind.diff
Charles-Francois Natali neolo...@free.fr added the comment:
The attached patch caches the result of FQDN lookup.
--
keywords: +patch
Added file: http://bugs.python.org/file17079/base_http_server_fqdn_lag.diff
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
I can't manage to trigger any crash on a Linux machine, so I think we'll live
without a test.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8530
Antoine Pitrou pit...@free.fr added the comment:
Of course your patch might slow down the loop, so perhaps you want to run some
benchmarks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8530
Changes by Antoine Pitrou pit...@free.fr:
--
versions: -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8530
___
___
Matthias Klose d...@debian.org added the comment:
r80475: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8510
___
Bill Janssen bill.jans...@gmail.com added the comment:
I'm certainly using the API provided by msilib, but perhaps I'm using it badly.
Which API did you have in mind? I'm using msilib directly, not through
bdist_msi.
This seems like an artificial limitation to put on the Python library; the
Changes by Brett Cannon br...@python.org:
--
assignee: - tarek
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8523
___
___
Santoso Wijaya santa@me.com added the comment:
Doesn't that only cache the first remote client it encounters, though? Maybe a
dictionary of caches?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6085
Martin v. Löwis mar...@v.loewis.de added the comment:
I still don't see the need to create multiple CABs. Just use the Directory
class to add files, and that will automatically record them in the singleton
CAB.
--
___
Python tracker
Changes by Charles-Francois Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file17079/base_http_server_fqdn_lag.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6085
___
Antoine Pitrou pit...@free.fr added the comment:
Well, in 2.x you didn't even have the choice. The dict of an extension module
was always copied, becoming essentially immortal. In 3.x you can use an
m_size=0 so as to disable this behaviour.
--
nosy: +pitrou
versions: +Python 3.2
Brett Cannon br...@python.org added the comment:
New patch updated to at least r80476.
--
Added file: http://bugs.python.org/file17080/subprocess_shutdown.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5099
Changes by Brett Cannon br...@python.org:
Removed file: http://bugs.python.org/file16976/subprocess__del__.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5099
___
Matthias Klose d...@debian.org added the comment:
r80478 converts all obsolete AC_TRY_* macros to AC_*_IFELSE, the outcome is ...
nothing (but whitespace changes):
$ svn diff --diff-cmd diff -x -uEwB configure
Index: configure
===
Charles-Francois Natali neolo...@free.fr added the comment:
Doesn't that only cache the first remote client it encounters, though? Maybe
a dictionary of caches?
A BaseHTTPRequestHandler is instantiated every time a client connects, so there
should be only one client per handler, no (the
Benjamin Peterson benja...@python.org added the comment:
Why add a bounds check if it can't be caused to fail. How about just a comment?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8530
Alex alex.gay...@gmail.com added the comment:
Well, the fact that it hasn't been shown to fail doesn't mean it can't fail.
It relies on reading undefined memory, which is usually bad ;). However, since
we're at i=0, regardless of what we add to the value it's going to end up
terminating the
Matthias Klose d...@debian.org added the comment:
r80481: configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510).
Keep the definition, although the python code itself doesn't use it anymore.
--
___
Matthias Klose d...@debian.org added the comment:
r80483: Makefile.pre.in (autoconf): Call autoconf/autoheader with -Wall to help
the configure script to stay warning free.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
It could read into an invalid page and segfault. It depends on specifics of the
memory allocator.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8530
Benjamin Peterson benja...@python.org added the comment:
This is because unicode implements __getslice__.
--
nosy: +benjamin.peterson
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Florent Xicluna florent.xicl...@gmail.com added the comment:
OK, but it yields Python 3 DeprecationWarning in the subclass.
And there's no workaround to get rid of the deprecation.
If it is the correct behaviour, maybe some words could be added about
subclassing builtin types:
Florent Xicluna florent.xicl...@gmail.com added the comment:
OK, I said nothing, it is already in the doc.
:-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8529
___
Antoine Pitrou pit...@free.fr added the comment:
Fixed with a test in r80484 (trunk), r80486 (2.6), r80487 (py3k), r80491 (3.1).
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Brett Cannon br...@python.org added the comment:
-Q now works like -3 by causing the DeprecationWarning silencing to be skipped.
Committed in r80492.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
I blocked the fix in Python 3.1 because it's non trivial and I prefer to avoid
complex changes in Python 3.1. But then I realized that Python 3.1 has two bugs
about environment variables.
It uses
Changes by Brett Cannon br...@python.org:
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7288
___
1 - 100 of 129 matches
Mail list logo