New submission from Florent Xicluna :
The -3 flag no longer works with Python 2.7.
~ $ ./python -3 -c 'print 1 <> 2, {}.has_key(3)'
True False
On python 2.6:
~ $ ./python -3 -c 'print 1 <> 2, {}.has_key(3)'
:1: DeprecationWarning: <> not supported i
Changes by Florent Xicluna :
--
components: +Interpreter Core
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue7700>
___
___
Python-bugs-lis
Florent Xicluna added the comment:
The undocumented "-b" flag behaves correctly.
I would suggest to implement it the same way.
~ $ ./python -b -c "bytearray('') == u''"
-c:1: BytesWarning: Comparsion between bytearray and string
(By the way, this fe
Florent Xicluna added the comment:
A variant, which mimics BytesWarning implementation.
--
Added file: http://bugs.python.org/file15872/issue7700_variant.diff
___
Python tracker
<http://bugs.python.org/issue7
New submission from Florent Xicluna :
In order to upgrate the tests for ctypes, following changes are required:
- binascii.hexlify should accept memoryview() objects
- the ctypes character buffer should accept assignment of memoryview() objects
using their "raw" property
Then we ca
Changes by Florent Xicluna :
--
keywords: +patch
Added file: http://bugs.python.org/file15874/issue7703_binascii_memoryview.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file15875/issue7703_ctypes_memoryview.diff
___
Python tracker
<http://bugs.python.org/issue7703>
___
___
Florent Xicluna added the comment:
Patches attached:
- partial backport of Modules/binascii.c
- partial backport of Modules/_ctypes/_ctypes.c (preserving 2.3 compat.)
- update ctypes tests (buffer -> memoryview)
--
assignee: -> theller
components: +ctypes
nosy: +theller
Florent Xicluna added the comment:
Additional tests for binascii.
--
Added file: http://bugs.python.org/file15877/issue7703_test_binascii.diff
___
Python tracker
<http://bugs.python.org/issue7
Florent Xicluna added the comment:
It is on Python 2.7a2
>>> os.popen('"C:\\Python27\\python.exe" -c "import sys; print sys.argv"
>>> 42').read()
''
>>> os.popen('""C:\\Python27\\python.exe" -c "
Florent Xicluna added the comment:
Modules "hotshot" and "xmllib" give deprecation warnings. But they are not part
of PEP 3108 or PEP 4.
--
nosy: +flox
___
Python tracker
<http://bu
Changes by Florent Xicluna :
--
resolution: -> duplicate
stage: test needed ->
status: open -> closed
superseder: -> Windows buildbot occasional DBFileExistsError failures in
test_bsddb3
___
Python tracker
<http://bugs.pytho
Florent Xicluna added the comment:
#7691 marked duplicate of this bug.
I've set the current directory read-only to track this bug.
There's a single TestCase which creates the file in the current directory
instead of /tmp. All other bsddb tests use either "get_new_envir
Changes by Florent Xicluna :
--
keywords: +buildbot
___
Python tracker
<http://bugs.python.org/issue1559298>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
keywords: +buildbot
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue7668>
___
___
Python-bugs-list mai
Changes by Florent Xicluna :
--
keywords: +buildbot
priority: -> normal
stage: -> test needed
___
Python tracker
<http://bugs.python.org/issue7667>
___
___
Changes by Florent Xicluna :
--
keywords: +buildbot
___
Python tracker
<http://bugs.python.org/issue3426>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
There's still similar failures on 3.1 branch only.
Some buildbots which have reported the error:
AMD64 Ubuntu
ia64 Ubuntu
alpha Debian
AMD64 Gentoo
http://www.python.org/dev/buildbot/all/builders/AMD64%20Ubuntu%203.1/builds/194
http://www.pytho
Florent Xicluna added the comment:
whoops... I missed #7591 which is a report for the same issue.
--
resolution: -> invalid
status: open -> closed
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
Some buildbots which have reported the error:
AMD64 Ubuntu
ia64 Ubuntu
alpha Debian
AMD64 Gentoo
--
nosy: +flox
title: test_get_platform fails on 3.1 -> test_distutils: test_get_platform
fails on
New submission from Florent Xicluna :
Another buildbot failure (repeated on AMD64 Ubuntu wide).
test_xmlrpc
Exception happened during processing of request from ('127.0.0.1', 59299)
Traceback (most recent call last):
File
"/home/buildb
New submission from Florent Xicluna :
On Python 3:
>>> int('\0')
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'decimal' codec can't encode character '\x00' in position
0: invalid decimal Unicode string
&g
Florent Xicluna added the comment:
The null byte gives UnicodeEncodeError for other conversions too.
Python 3:
int('\0'), float('\0'), complex('\0')
Python 2:
int(u'\0'), long(u'\0'), float(u'\0'), complex(u'0')
Traceb
Changes by Florent Xicluna :
--
nosy: +flox
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5
___
Python tracker
<http://bugs.python.org/issue4
Florent Xicluna added the comment:
Python 3 gives same confusing error:
>>> int(b'\0', 999)
Traceback (most recent call last):
File "", line 1, in
ValueError: invalid literal for int() with base 999: b'\x00'
>>> int(b'x', 999
Florent Xicluna added the comment:
Patch for the last "t#" format string in binascii module.
And provide additional tests.
PS: I removed this comment. IMHO, it is a wrong assertion:
"# The hqx test is in test_binhex.py"
--
Added file: http://bugs.
Florent Xicluna added the comment:
A patch which provides a context manager and a decorator.
(with ideas from Ezio and Antoine)
Sample usages:
with temp_cwd() as cwd:
assert cwd == os.getcwd()
@writablecwd
def test_zipfile():
# do something useful
print os.path.abspath
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15906/issue7703_binascii_a2b_hqx.diff
___
Python tracker
<http://bugs.python.org/issue7703>
___
___
Florent Xicluna added the comment:
Changed.
--
Added file: http://bugs.python.org/file15908/issue7703_binascii_a2b_hqx_v2.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file17291/issue1285086_fast_quote.diff
___
Python tracker
<http://bugs.python.org/issue1285086>
___
___
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file17295/issue1285086_using_translate.diff
___
Python tracker
<http://bugs.python.org/issue1285
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file17298/issue1285086_using_rstrip.diff
___
Python tracker
<http://bugs.python.org/issue1285
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file17299/urllib_quote_speed_test.py
___
Python tracker
<http://bugs.python.org/issue1285086>
___
___
Florent Xicluna added the comment:
Updated script for benchmarks (on 2.x and 3.x).
Inspired by the "Tools/iobench" script.
It benchmarks various quote/unquote implementations on 2.x and 3.x.
On 2.7 the fastest implementation is something like:
def quote(s):
if no
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file17366/issue1285086_using_rstrip_v2.diff
___
Python tracker
<http://bugs.python.org/issue1285
Florent Xicluna added the comment:
Proposed patches for quote and unquote on 2.7 and 3.2.
--
Added file: http://bugs.python.org/file17367/issue1285086_using_rstrip_py3k.diff
___
Python tracker
<http://bugs.python.org/issue1285
Florent Xicluna added the comment:
Committed in r81265 for 2.7.
--
___
Python tracker
<http://bugs.python.org/issue1285086>
___
___
Python-bugs-list mailin
Florent Xicluna added the comment:
Next release should fix it: 3.1.3
(Tested on 3.1 branch)
--
nosy: +flox, haypo
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> sys.setfilesystemencoding("xxx"); open(
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file17366/issue1285086_using_rstrip_v2.diff
___
Python tracker
<http://bugs.python.org/issue1285
Florent Xicluna added the comment:
Committed to 3.2 in r81271, after some additional tuning.
Btw, I kept list comprehension in 3.2, because it is faster for small strings
(even if the gain is ~10%).
--
status: open -> closed
___
Python trac
Florent Xicluna added the comment:
Maybe this is due to webbrowser dependency on "ic" module.
Patch not tested.
--
assignee: -> ronaldoussoren
components: +Macintosh
keywords: +patch
nosy: +flox, ronaldoussoren
stage: -> patch review
type: -> behavior
versions:
Florent Xicluna added the comment:
It seems fixed now.
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> pending
___
Python tracker
<http://bugs.python.o
Changes by Florent Xicluna :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue8142>
___
___
Python-bugs-list mailing list
Unsubscri
Florent Xicluna added the comment:
Here it works with :
PYTHONSTARTUP="$HOME/.pythonrc" ./python
--
components: +Interpreter Core
nosy: +flox
resolution: -> wont fix
stage: -> committed/rejected
status: open -> pending
ve
New submission from Florent Xicluna :
When Python is compiled without zlib support, the error message is not very
helpful when trying to untar an archive.
>>> tarfile.open('sample.tar.gz')
tarfile.ReadError: file could not be opened successfully
It happens w
Florent Xicluna added the comment:
something like :
raise CompressionError("zlib module is not available")
--
___
Python tracker
<http://bugs.python.
Changes by Florent Xicluna :
--
components: +Library (Lib) -Extension Modules
___
Python tracker
<http://bugs.python.org/issue8978>
___
___
Python-bugs-list mailin
Changes by Florent Xicluna :
--
assignee: -> flox
components: -Library (Lib)
resolution: -> accepted
stage: -> needs patch
___
Python tracker
<http://bugs.python.o
Florent Xicluna added the comment:
Fixed with r82529
--
resolution: accepted -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Changes by Florent Xicluna :
--
assignee: ghaering ->
keywords: +easy
nosy: +flox
type: -> behavior
versions: -Python 2.6, Python 3.0
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
I did not commit the patch because I'm not sure it is the right approach.
I need someone else to comment on this.
--
___
Python tracker
<http://bugs.python.org/i
Florent Xicluna added the comment:
Fixed with r83182.
--
assignee: -> flox
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
versions: -Python 3.1
___
Python tracker
<http://bugs.pytho
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue8966>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
For 3.2, there's some other corner cases which are not covered by the patch.
Example:
>>> unquote(())
>>> unquote({})
See attached patch.
--
keywords: +patch
stage: committed/rejected -> commit review
status: closed -&g
Florent Xicluna added the comment:
Now it's fixed for 2.7 with r83187. (thanks for the hint, Antoine)
No issue on 3.x, AFAICT.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python
Florent Xicluna added the comment:
1/ The AttributeError on unquote() is backward compatible with 2.6, 2.7 and
3.1. (issue 9301 is about backward compatibility)
2/ All the quote*/unquote* functions accept both str and bytes (except
quote_from_bytes). I don't find a strong reason to c
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue5006>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
IMHO we could keep AttributeError in this case.
This is a case where "practicality beats purity".
See also issue 1285086.
--
components: +Library (Lib)
nosy: +flox
resolution: -> fixed
___
Python t
Florent Xicluna added the comment:
Fixed in r83319. Thanks.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue9301>
___
___
Python-
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue9433>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
components: +Tests, Windows
stage: -> needs patch
type: -> behavior
___
Python tracker
<http://bugs.python.org/
Changes by Florent Xicluna :
--
nosy: +flox
stage: -> needs patch
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue8433>
___
___
Pyth
Florent Xicluna added the comment:
See #6583.
--
nosy: +flox
resolution: -> duplicate
status: open -> closed
superseder: -> 2to3 fails to fix test.test_support
___
Python tracker
<http://bugs.python.o
Florent Xicluna added the comment:
This issue is over, except for #7723 which is tracked separately.
--
dependencies: -sqlite only accept buffer() for BLOB objects(input/output)
resolution: accepted -> fixed
stage: patch review -> committed/rejected
status: open -&g
Changes by Florent Xicluna :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue8920>
___
___
Python-bugs-list mailing list
Unsubscri
Florent Xicluna added the comment:
This is a duplicate of #5504, according to Arfrever
--
nosy: +flox
resolution: -> duplicate
status: open -> closed
superseder: -> ctypes should work with systems where mmap can't be PROT_WRITE
Florent Xicluna added the comment:
Issue #9385 marked as duplicate.
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue5504>
___
___
Python-bug
Florent Xicluna added the comment:
The patch (braced_override.diff) still applies on 3.2.
I am +0, because it is small and tested.
What is the decision?
--
nosy: +flox
stage: -> patch review
versions: +Python 3.2 -Python 3.0
___
Python trac
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16543/issue8047_etree_encoding.diff
___
Python tracker
<http://bugs.python.org/issue8047>
___
___
Florent Xicluna added the comment:
Patch updated here, and on Rietveld too.
http://codereview.appspot.com/664043
Rules (as discussed):
- tree.tostring(encoding=None) => encodes to "US-ASCII"
(compatible with 2.7 and lxml.etree)
- tree.tostring(encoding="unicode&qu
Changes by Florent Xicluna :
--
assignee: -> flox
components: +XML
stage: -> patch review
status: languishing -> open
___
Python tracker
<http://bugs.python.o
Changes by Florent Xicluna :
--
resolution: -> duplicate
superseder: -> codecs missing: base64 bz2 hex zlib hex_codec ...
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
Unable to reproduce.
--
nosy: +haypo
resolution: -> works for me
status: pending -> closed
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
A duplicate of #7675?
--
nosy: +flox
resolution: -> duplicate
status: open -> pending
superseder: -> help() doesn't accept unicode literals in built in docstrings
___
Python tracker
<http:
Florent Xicluna added the comment:
Oops, I really mean #6625.
--
status: pending -> open
superseder: help() doesn't accept unicode literals in built in docstrings ->
UnicodeEncodeError on pydoc's CLI
___
Python tracker
<htt
Changes by Florent Xicluna :
--
nosy: +effbot, flox
___
Python tracker
<http://bugs.python.org/issue9458>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
Confirmed on 2.6 and 3.1 PPC Tiger and PPC Leopard buildbots.
Example (on PPC Leopard 2.6):
test_httpservers
'import site' failed; use -v for traceback
[16390 refs]
'import site' failed; use -v for traceback
[16390 refs]
'import
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue8757>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
This is similar with #9438, about __debug__ being read-only.
--
nosy: +flox
stage: -> needs patch
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/iss
Changes by Florent Xicluna :
--
keywords: +easy
___
Python tracker
<http://bugs.python.org/issue7186>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue4493>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue7110>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
components: +Extension Modules, XML -Library (Lib)
nosy: +effbot, flox
type: -> crash
___
Python tracker
<http://bugs.python.org/iss
Changes by Florent Xicluna :
--
components: +Extension Modules, XML -Library (Lib)
nosy: +effbot, flox
stage: -> patch review
type: -> crash
___
Python tracker
<http://bugs.python.org/
Changes by Florent Xicluna :
--
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue9403>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue9396>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +benjamin.peterson
title: 2to to simultaneously do code AND doctests -> 2to3 to simultaneously do
code AND doctests
type: -> feature request
___
Python tracker
<http://bugs.python.org/
Changes by Florent Xicluna :
--
keywords: +easy
nosy: +flox
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue9364>
___
___
Python-bugs-lis
Florent Xicluna added the comment:
It behaves as documented. Moved to "feature request".
http://docs.python.org/library/xml.etree.elementtree.html
--
components: +XML
type: behavior -> feature request
versions: +Python 3.2, Python 3.
Changes by Florent Xicluna :
--
nosy: +scoder
___
Python tracker
<http://bugs.python.org/issue9522>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
Thanks, Brian.
Pushed with revision 83833.
--
assignee: facundobatista -> flox
nosy: +flox
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tr
Florent Xicluna added the comment:
Fixed with revision 83839.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Florent Xicluna added the comment:
Done for 3.2 with r83851.
Still opened, if someone wants to propose a patch for 3.1.
--
assignee: effbot ->
keywords: +easy -patch
stage: commit review -> needs patch
versions: -Python 3.2
___
Python t
Florent Xicluna added the comment:
This bug is waiting for unit tests and a small patch cleanup.
See previous message: http://bugs.python.org/issue4617#msg99950
--
keywords: -needs review
nosy: +ezio.melotti, scoder
versions: +Python 3.2 -Python 3.0
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16571/unnamed
___
Python tracker
<http://bugs.python.org/issue7214>
___
___
Python-bugs-list mailin
Florent Xicluna added the comment:
The verification of the matching between start and end tag is performed in a
debug "assert" statement in the Python version.
This check is ignored if the module is compiled with -O.
It is ignored in the C version, too.
I would suggest to keep t
Florent Xicluna added the comment:
Documentation patch accepted, for the "path == XPath" confusion and clarify
other points too.
http://bugs.python.org/issue6488#msg90528
--
assignee: effbot ->
type: -> behavior
___
Pytho
Changes by Florent Xicluna :
--
nosy: -flox
___
Python tracker
<http://bugs.python.org/issue8110>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
IIUC it works like that by design.
The ElementTree 1.3 (which is part of Python 2.7 and 3.2) allows to define your
own parser which parses comments (see previous comments).
Close as "won't fix"?
--
nosy: +scoder
resolution: -&
Florent Xicluna added the comment:
Fixed with r82149.
--
dependencies: +buildbot: DeprecationWarning not raised for icglue
(test_py3kwarn.TestStdlibRemovals)
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
1201 - 1300 of 1386 matches
Mail list logo