James Polley jamezpol...@gmail.com added the comment:
It looks like the first release that had epub support was 1.0; docs.python.org
is still using 0.6.7, according to the footer on the bottom of the page.
I suspect that this is (A) pending the upgrade to 1.0.0, which is (B) more
difficult
Sandro Tosi sandro.t...@gmail.com added the comment:
Hello James,
please note that EPUB is already available for Python 3 documentation:
http://docs.python.org/py3k/download.html . We will probably make it available
also for 2.7 when I'll find the time to work on upgrading sphinx on 2.7
Ezio Melotti ezio.melo...@gmail.com added the comment:
This section has been removed from the 3.x docs in 3828f81a64e7 and
2aeef275bec8, but it's still there in 2.7.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
New submission from mike c coolbutusel...@gmail.com:
Could a test be added to ./Lib/test/test_defaultdict.py to test for TypeError
being thrown when the the first argument to collections.defaultdict is not
callable?
pypy does not behave the same way as CPython 2.7.2 as the problem is not
Ezio Melotti ezio.melo...@gmail.com added the comment:
Sure, do you want to propose a patch? (You can see the devguide for more
information.)
--
keywords: +easy
nosy: +ezio.melotti
stage: - test needed
versions: +Python 3.2, Python 3.3
___
Python
mike c coolbutusel...@gmail.com added the comment:
Cloning repo. Reading the devguide. Patch forthcoming.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13531
___
mike c coolbutusel...@gmail.com added the comment:
Patch to add a defaultdict test which checks that if the first argument is not
callable, then a TypeError is thrown.
--
keywords: +patch
Added file: http://bugs.python.org/file23855/defaultdict_callable_test.patch
mike c coolbutusel...@gmail.com added the comment:
patch v2. Now with assertRaises()!
--
Added file: http://bugs.python.org/file23856/defaultdict_callable_test_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13531
New submission from maniram maniram maniandra...@gmail.com:
In IDLE, sys.stdout.write and sys.stderr can write any pickleable object such
as 100 when they should only allow strings.
IDLE seems to be pickling the object.
import sys
sys.stdout.write(100)
100
sys.stdout.write(sys)
Traceback
Éric Araujo mer...@netwok.org added the comment:
Someone from the mentoring project has volunteered to work on a patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12944
___
New submission from dangermouseb da...@bigredmedia.tv:
I'm building a dll add-in (on Windows) in which I want to use the installed
version of Python, not provide my own installation. When py_initialize fails it
appears to call exit(). This doesn't seem very friendly behaviour for an
Éric Araujo mer...@netwok.org added the comment:
The updated patch looks good, I’ll commit it soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13491
___
Nebelhom nebel...@googlemail.com added the comment:
Hi,
thanks for your help and support, mate.
Unfortunately, no word about the createdb.py business (the last bullet
point on the list) and whether it should be referred to in the doc. Should
we just drop this from the adjustments?
Thanks.
Éric Araujo mer...@netwok.org added the comment:
Unfortunately, no word about the createdb.py business (the last bullet point
on the list)
and whether it should be referred to in the doc.
If you make the whitespace more standard, use the tempfile module (to remove
the os.remove line) and
Sivan Greenberg siv...@gmail.com added the comment:
I am having hard time parsing all the text/html and text/plain parts of a
message, concatenating them into a string. I am thinking of writing some custom
code to do manual handling of this...
If this could be fixed that would be great. The
Antoine Pitrou pit...@free.fr added the comment:
If we add a (yet another) variant of Py_Initialize, I would suggest we make it
extensible by passing it a struct of arguments (so that the struct can be
augmented without breaking compatibility).
--
components: +Interpreter Core -None
R. David Murray rdmur...@bitdance.com added the comment:
That particular problem will get fixed in the next version of the email package
(hopefully in Python3.3), but that isn't ready yet.
--
___
Python tracker rep...@bugs.python.org
Darren Dale dsdal...@gmail.com added the comment:
Patch addressing latest comments in review. Notable change: defines
_PyObject_IsAbstract in object.c/object.h, rather than repeating the code in
multiple files and functions.
--
Added file:
Charles-François Natali neolo...@free.fr added the comment:
Here's a trivial patch reducing the number of calls to open.
before:
$ strace -c -e open ./python -c
% time seconds usecs/call callserrors syscall
-- --- --- - -
100.00
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset e2959a6a1440 by Antoine Pitrou in branch 'default':
Issue #13503: Use a more efficient reduction format for bytearrays with
http://hg.python.org/cpython/rev/e2959a6a1440
--
nosy: +python-dev
Antoine Pitrou pit...@free.fr added the comment:
The patch wasn't entirely PEP 7-compliant (spaces around operators, space after
if), but I've fixed that when committing. Thank you!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13533
___
___
Python-bugs-list
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11051
___
___
Python-bugs-list
Barry A. Warsaw ba...@python.org added the comment:
Confirmed, and this is really annoying. I'm of the mind to apply your second
idea.
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11147
Barry A. Warsaw ba...@python.org added the comment:
Sorry, I meant your first option.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11147
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Why do you think this is a bug? Is this behavior causing problems?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13532
Martin v. Löwis mar...@v.loewis.de added the comment:
First, I don't understand why we need to check both foo.so and
foomodule.so.
Because we always did, i.e. changing it now may break backwards compatibility.
Now, as for why we always had *module.so also: it may be that calling an
Changes by Barry A. Warsaw ba...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11147
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 4579cd952156 by Barry Warsaw in branch '3.2':
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
http://hg.python.org/cpython/rev/4579cd952156
New changeset 6b6c79eba944 by Barry Warsaw in
STINNER Victor victor.stin...@haypocalc.com added the comment:
Alex ? Florent ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11886
___
___
New submission from Dave Malcolm dmalc...@redhat.com:
On ppc64, on this box, with glibc-2.14.90-19.ppc64, test_cmath fails with:
==
FAIL: test_specific_values (test.test_cmath.CMathTests)
Dave Malcolm dmalc...@redhat.com added the comment:
Reported in glibc's bug tracker as:
http://sourceware.org/bugzilla/show_bug.cgi?id=13472
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13534
Antoine Pitrou pit...@free.fr added the comment:
Here's a trivial patch reducing the number of calls to open.
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11051
___
New submission from Nick Coghlan ncogh...@gmail.com:
This RFE proposes two new methods to_signed and to_unsigned on 'int'
objects and on the numbers.Integral ABC.
Semantics (and number.Integral implementation):
def to_unsigned(self, bits):
Convert this integer to its unsigned two's
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13535
___
___
Python-bugs-list
New submission from Alex Gaynor alex.gay...@gmail.com:
In 2.7 ast.literal_eval blows up with a set for input:
import ast
ast.literal_eval({1})
--
messages: 148897
nosy: alex
priority: low
severity: normal
status: open
title: ast.literal_eval fails on sets
versions: Python 2.7
Alex Gaynor alex.gay...@gmail.com added the comment:
Patch with tests
--
keywords: +patch
Added file: http://bugs.python.org/file23859/x.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13536
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson, brett.cannon, georg.brandl, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13536
___
Brian Curtin br...@python.org added the comment:
I don't profess to have any special ast knowledge, but given the context around
there and the fact that it works...it looks fine to me.
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13535
___
___
Python-bugs-list
Nick Coghlan ncogh...@gmail.com added the comment:
Dict and Set comprehensions are also broken:
{1 for x in ()}
set([])
{1:2 for x in ()}
{}
ast.literal_eval({1 for x in ()})
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib64/python2.7/ast.py, line 80, in
Alex Gaynor alex.gay...@gmail.com added the comment:
There's no support for comprehensions of any sort, and confusingly limited
support for arithmetic ops, I'd like to keep the scope of this issue small,
basically backporting 90bf0631bfb8 and adding the tests (which I can also add
to
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - invalid
status: open - closed
superseder: - ast.literal_eval does not handled new set literals
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13536
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Antoine, do we have unit tests for this code path?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13503
___
Alexandre Vassalotti alexan...@peadrop.com added the comment:
This might not be the case anymore, but __module__ can sometime be None. There
is some discussion about this in Issue 3657. We should define the expected
behavior when this happens.
Also, I don't think backward-compatibility of the
Alexandre Vassalotti alexan...@peadrop.com added the comment:
I think we are kind of stuck here. I might need to rely on some clever hack to
generate the desired str object in 2.7 without breaking the bytes support in
3.3 and without changing 2.7 itself.
One *dirty* trick I am thinking about
Alexandre Vassalotti alexan...@peadrop.com added the comment:
I don't think it is a bug.
The posted code completely breaks the expected behavior of __getattribute__.
With a such implementation, there is nothing we can do with this object as we
cannot introspect it.
Use the following if you
Marco Scataglini atlant...@gmx.com added the comment:
I agree with Anatoly that it should be an easy way to create and apply Unified
Diff Patches within Python. Also issue 2142 should get fixed, as proposed, but
also include the fix at least on 2.7 not only on 3.x
--
nosy: +marco
maniram maniram maniandra...@gmail.com added the comment:
It is different behaviour than usual.
I agree it is of low importance.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13532
___
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13530
___
___
Python-bugs-list
Changes by Nick Coghlan ncogh...@gmail.com:
Removed file: http://bugs.python.org/file23819/abc_descriptor.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11610
___
Changes by Nick Coghlan ncogh...@gmail.com:
Removed file: http://bugs.python.org/file22729/abc_descriptor.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11610
___
Changes by Nick Coghlan ncogh...@gmail.com:
Removed file: http://bugs.python.org/file22407/abc_descriptor.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11610
___
53 matches
Mail list logo