Florent Xicluna added the comment:
This is by design in Python 3
http://docs.python.org/py3k/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit
--
nosy: +flox
resolution: -> works for me
status: open -> closed
___
Python tracker
Florent Xicluna added the comment:
You probably missed Lib/test/tracedmodules/ in r84780 ;)
--
keywords: +buildbot
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue9
Florent Xicluna added the comment:
It looks like lots of 3.1 buildbots are unhappy with r84783.
But the test passes on my local 3.1 checkout.
==
FAIL: test_trace_list_comprehension (test.test_trace.TestLineCounts
Florent Xicluna added the comment:
The issue on 3.1 happens when Python is configured --with-computed-gotos.
(this is the case on all 3.1 buildbots)
But this issue does not happen on 3.x branch. On this branch computed-gotos is
the default, but the switch --without-computed-gotos does not
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file18923/unnamed
___
Python tracker
<http://bugs.python.org/issue9895>
___
___
Python-bugs-list mailin
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file18924/unnamed
___
Python tracker
<http://bugs.python.org/issue9895>
___
___
Python-bugs-list mailin
Florent Xicluna added the comment:
+1 fo faster regrtest
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue9895>
___
___
Python-bugs-list mailin
Florent Xicluna added the comment:
Committed with r84888.
--
assignee: -> flox
resolution: accepted -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.pytho
Florent Xicluna added the comment:
annoying stuff, indeed...
$ python -c 'print u"La cl\xe9: "'
La clé:
$ python -c 'raw_input(u"La cl\xe9: ")'
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii'
Florent Xicluna added the comment:
Unable to reproduce, here. It seems fixed.
--
nosy: +haypo
resolution: -> works for me
status: open -> pending
___
Python tracker
<http://bugs.python.org/
Florent Xicluna added the comment:
Fixed in 2.7 with r85496 and r85501. Thank you.
(in 3.2 only tests, r85495 and r85500)
--
resolution: -> fixed
stage: unit test needed -> committed/rejected
status: open -> closed
___
Python track
Florent Xicluna added the comment:
+1 to merge simplejson 2.1+ before 3.2 beta 1 (mid-november)
--
nosy: +flox
resolution: -> accepted
stage: -> patch review
type: -> behavior
versions: +Python 3.1, Python 3.2
___
Python track
New submission from Florent Xicluna :
>>> import copy
>>> from xml.dom import minidom
>>> doc = minidom.parseString('')
>>> doc2 = copy.deepcopy(doc)
>>> doc.toxml()
u''
>>> doc2.toxml()
u''
>>> mi
Florent Xicluna added the comment:
It works fine with 2.5 and 2.6.
--
___
Python tracker
<http://bugs.python.org/issue10131>
___
___
Python-bugs-list mailin
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue7013>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue4492>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue900744>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
Duplicate of #900744
--
resolution: -> duplicate
status: open -> closed
superseder: -> catch invalid chunk length in httplib read routine
___
Python tracker
<http://bugs.python.o
Florent Xicluna added the comment:
Do you experience same issue with current versions of Python? (3.2 or 2.7)
The package was upgraded in latest versions.
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue11
Florent Xicluna added the comment:
I've tested a small variant of your script, on OSX.
It seems to behave correctly (with 2.5, 2.6, 2.7 and 3.1).
You can force Python to release memory immediately by calling "gc.collect()".
--
Added file: http://bugs.pytho
Florent Xicluna added the comment:
this is the output for 2.7.1:
$ python2.7 issue11849_test.py
*** Python 2.7.1 final
--- PID STAT TIME SL RE PAGEIN VSZRSS LIM TSIZ %CPU
%MEM COMMAND
0 2754 S+ 0:00.07 0 0 0 2441472 5372 -0 11,7
0,1
Changes by Florent Xicluna :
--
keywords: -needs review
___
Python tracker
<http://bugs.python.org/issue7712>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
Removed file:
http://bugs.python.org/file15908/issue7703_binascii_a2b_hqx_v2.diff
___
Python tracker
<http://bugs.python.org/issue7
Florent Xicluna added the comment:
Removed no-op str("...") conversions.
--
Added file: http://bugs.python.org/file15910/issue7703_binascii_a2b_hqx_v3.diff
___
Python tracker
<http://bugs.python.
Florent Xicluna added the comment:
Still failing: buildbot "AMD64 Ubuntu wide 2.6"
Revisions r77466 and r77467 need backport.
--
keywords: +buildbot
___
Python tracker
<http://bugs.python.
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15563/issue4770_binascii_py3k_v2.diff
___
Python tracker
<http://bugs.python.org/issue4770>
___
___
Florent Xicluna added the comment:
Patch updated, after 7703 is merged in py3k.
--
Added file: http://bugs.python.org/file15914/issue4770_binascii_py3k_v3.diff
___
Python tracker
<http://bugs.python.org/issue4
Changes by Florent Xicluna :
--
versions: +Python 2.7
___
Python tracker
<http://bugs.python.org/issue2531>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
Confirmed. The snippet works for 3.1 and 2.7a2.
from itertools import count, islice
irange = lambda start, stop, step: islice(count(start, step),
(stop-start+step-1)//step)
The documentation needs update for 2.6 only.
This kind of snippet seems backward
Florent Xicluna added the comment:
Right. Insufficient test.
This snippet looks better, if we provide a replacement for 2.6.
>>> irange = lambda start, stop, step: islice(count(start), 0, stop-start, step)
--
___
Python track
Florent Xicluna added the comment:
You will prefer this one. It is as fast as the 2.7 version.
from itertools import count, takewhile
irange = lambda start, stop, step: takewhile(lambda x: x>> list(irange(-2**65,2**65,2**61))
[-36893488147419103232L, -345876451382054
Florent Xicluna added the comment:
You will prefer this one. It is as fast as the 2.7 version.
The restrictions are described in the itertools documentation.
from itertools import count, takewhile
irange = lambda start, stop, step: takewhile(lambda x: x>> list(irange(-2**65,2**65
Florent Xicluna added the comment:
If you need also negative steps:
from itertools import count, takewhile
def irange(start, stop, step):
if step < 0:
cond = lambda x: x > stop
else:
cond = lambda x: x < stop
return takewhile(cond, (start + i * step for i
New submission from Florent Xicluna :
Since buffer() is deprecated in Python 2.7, it should not be used for BLOB
input/output.
SAMPLES = (
('unicode', u''),
('bytes', ''),
('buffer', buffer('')),
# ('bytearra
Florent Xicluna added the comment:
I've created issue7723 for sqlite3 module using buffer().
It's not so simple.
--
dependencies: +sqlite only accept buffer() for BLOB objects (input/output)
___
Python tracker
<http://bugs.python.
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15794/issue7092_json_sqlite_v2.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file15925/issue7092_json.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Python-bug
Changes by Florent Xicluna :
--
priority: high -> critical
___
Python tracker
<http://bugs.python.org/issue7723>
___
___
Python-bugs-list mailing list
Unsubscri
Florent Xicluna added the comment:
Sidenotes:
- documentation for Python 3 is outdated
- it may be a release blocker, since there's no alternative:
currently it uses exclusively buffer() for BLOB object
--
___
Python tracker
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15787/issue7092_syntax_imports.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15789/issue7092_filterwarnings.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Florent Xicluna added the comment:
Patches updated against trunk.
--
Added file: http://bugs.python.org/file15927/issue7092_syntax_imports_v2.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file15928/issue7092_filterwarnings_v2.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15927/issue7092_syntax_imports_v2.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Florent Xicluna added the comment:
Re-uploaded "syntax_imports_v2" with patch for test_bsddb.py
--
Added file: http://bugs.python.org/file15929/issue7092_syntax_imports_v2.diff
___
Python tracker
<http://bugs.python.
Florent Xicluna added the comment:
IMHO, this feature should be documented.
--
assignee: -> georg.brandl
components: +Documentation
nosy: +flox, georg.brandl
status: closed -> open
versions: +Python 2.7
___
Python tracker
<http://bugs.p
Changes by Florent Xicluna :
--
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue3599>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Florent Xicluna :
Some buildbot failure because of hard-coded port.
test_timeout
test test_timeout failed -- Traceback (most recent call last):
File
"/home/buildbot/cpython-ucs2/trunk.pitrou-ubuntu/build/Lib/test/test_timeout.py",
line 149, in testAcc
Changes by Florent Xicluna :
--
superseder: -> float compared to decimal is silently incorrect.
___
Python tracker
<http://bugs.python.org/issue7729>
___
_
Florent Xicluna added the comment:
Confirmed on trunk.
~ $ mkdir foo.py
~ $ ./python -c 'import imp;imp.find_module("foo", ["."])'
*** glibc detected *** ./python: double free or corruption (!prev):
0x024a7390 ***
=== Backtrace: =
(...)
Florent Xicluna added the comment:
Patch proposed.
--
___
Python tracker
<http://bugs.python.org/issue7732>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
--
keywords: +patch
Added file: http://bugs.python.org/file15936/issue7732_find_module.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15936/issue7732_find_module.diff
___
Python tracker
<http://bugs.python.org/issue7732>
___
___
Pytho
Florent Xicluna added the comment:
Removed the EnvironmentVarGuard from the test. It does not make sense.
--
Added file: http://bugs.python.org/file15937/issue7732_find_module.diff
___
Python tracker
<http://bugs.python.org/issue7
Changes by Florent Xicluna :
--
___
Python tracker
<http://bugs.python.org/issue7740>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/m
Changes by Florent Xicluna :
--
title: Complete your registration to Jython tracker --
key9LzwsWHYNjTaULhZpojHxtdciVg1jFYL -> was spam
___
Python tracker
<http://bugs.python.org/iss
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15907/temp_cwd_decorator.diff
___
Python tracker
<http://bugs.python.org/issue7712>
___
___
Pytho
Florent Xicluna added the comment:
Changed, after review from Ezio and other developpers.
--
Added file: http://bugs.python.org/file15951/temp_cwd_decorator_v2.diff
___
Python tracker
<http://bugs.python.org/issue7
Florent Xicluna added the comment:
Patch using the proposed context manager (#7712).
--
keywords: +patch
nosy: +flox
Added file: http://bugs.python.org/file15952/issue5684_test_zipfile.diff
___
Python tracker
<http://bugs.python.org/issue5
Florent Xicluna added the comment:
Different approach, after some other talks with Ezio and David.
Now the directory is changed before running any test.
The developer can assume that the current directory if always writable.
It makes the tests easier to write, and repeatable.
Additionally
Florent Xicluna added the comment:
The patch did not work with latest trunk.
Here is an updated version of the patch.
Patch tested with different commands:
~ $ ./python -m test.regrtest test_doctest
~ $ ./python -m test.regrtest -v test_doctest
~ $ ./python -m test.regrtest -v test_doctest
Florent Xicluna added the comment:
And for Python 3. (Slightly different)
--
stage: -> patch review
Added file: http://bugs.python.org/file15991/issue1729305_doctest_py3k.diff
___
Python tracker
<http://bugs.python.org/issue1
Florent Xicluna added the comment:
Changeset r77721 should be ported to trunk, and py3k probably.
--
nosy: +flox
status: closed -> open
___
Python tracker
<http://bugs.python.org/iss
Florent Xicluna added the comment:
It may occur on any platform.
The patch fixes the issue.
--
title: Windows buildbot occasional DBFileExistsError failures in test_bsddb3 ->
buildbot occasional DBFileExistsError failures in test_bsddb3
___
Pyt
New submission from Florent Xicluna :
"test_py3kwarn" fails when running the whole test suite
This is a known behaviour, because of extension modules loaded by previous
tests (which cannot be "reloaded").
However, the warnings module store all the warnings when they app
Florent Xicluna added the comment:
Here comes the patch:
- use test_support.__warningregistry__ to check past warnings
- filter the warnings with "(module|package)", to be sure that they are
silenced by "test_support.import_module"
- fix test_reduce_move (it f
Changes by Florent Xicluna :
--
nosy: +ncoghlan
___
Python tracker
<http://bugs.python.org/issue7772>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15928/issue7092_filterwarnings_v2.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15929/issue7092_syntax_imports_v2.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file15788/issue7092_check_warnings.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file15994/issue7092_syntax_imports_v3.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file15995/issue7092_check_warnings_v3.diff
___
Python tracker
<http://bugs.python.org/issue7092>
___
___
Florent Xicluna added the comment:
Re-uploaded after fixes for #7737.
To remove all "-3" warnings:
- apply the 4 patches
- fix SQLite "buffer()" warnings (issue #7223)
--
stage: committed/rejected -> patch review
Added file: http://bu
Florent Xicluna added the comment:
Confirmed in trunk and 3.1
--
nosy: +flox
resolution: fixed ->
stage: -> needs patch
status: closed -> open
versions: +Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.o
Florent Xicluna added the comment:
Confirmed on all Python versions.
Same behaviour without subprocess:
~ $ sh -c "exec -a missingfile python -c 'import sys; print sys.executable'"
/home/name/
--
nosy: +flox
___
P
Changes by Florent Xicluna :
--
versions: +Python 2.5, Python 2.6, Python 3.1
___
Python tracker
<http://bugs.python.org/issue7774>
___
___
Python-bugs-list mailin
Changes by Florent Xicluna :
--
title: subprocess executable option wrong location -> sys.executable: wrong
location if zeroth command argument is modified.
___
Python tracker
<http://bugs.python.org/iss
Changes by Florent Xicluna :
--
type: -> behavior
versions: +Python 2.6, Python 2.7, Python 3.2
___
Python tracker
<http://bugs.python.org/issue7775>
___
_
Changes by Florent Xicluna :
--
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue7775>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
--
nosy: +flox
___
Python tracker
<http://bugs.python.org/issue7615>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
It may help to find other methods:
http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe
By the way, it should not "absolutize" the path when sys.executable is
irrelevant. IMHO, it should render an empt
New submission from Florent Xicluna :
The test "test_normalization" download a file from the "unicode.org" website
and keep it in the local cache "Lib/test/data/" directory for next runs.
On test setup, it verifies if the 1st line contains the right version
&qu
Florent Xicluna added the comment:
Here is a patch.
The function "test_support.open_urlresource" is enhanced with an optional
argument "check" which receives a function. This "check" function accepts an
open file as input and return False if the file is outdated
Florent Xicluna added the comment:
Steve, thank you for your patch.
IMHO, it's better to provide a patch against trunk (Py2) when the optimization
is not specific to 3.x.
I merged it manually on my working copy, and all tests pass without leaking.
Patch for Py2 attached.
However, I a
Florent Xicluna added the comment:
Patch to skip the test with the appropriate warning in verbose mode.
--
keywords: +patch
stage: -> patch review
Added file: http://bugs.python.org/file16010/issue7564_test_ioctl.diff
___
Python tracker
&l
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16010/issue7564_test_ioctl.diff
___
Python tracker
<http://bugs.python.org/issue7564>
___
___
Pytho
Florent Xicluna added the comment:
Patch to make the "skip" message visible in normal mode:
test_ioctl
test_ioctl skipped -- Process group 1844 is associated with /dev/tty
And in the summary you have the information:
1 test skipped:
test_ioctl
1 skip unexpected on linux2:
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16013/issue7564_test_ioctl.diff
___
Python tracker
<http://bugs.python.org/issue7564>
___
___
Pytho
Florent Xicluna added the comment:
A little more explanatory.
--
Added file: http://bugs.python.org/file16014/issue7564_test_ioctl_v2.diff
___
Python tracker
<http://bugs.python.org/issue7
New submission from Florent Xicluna :
The function "open_urlresource" never invalidates its cache.
If a file with same name is available in "Lib/test/data/", it is returned.
There's a snippet in test_normalization which tries to invalidate the cache,
but it fails beca
Changes by Florent Xicluna :
--
priority: -> normal
___
Python tracker
<http://bugs.python.org/issue7787>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Florent Xicluna :
--
nosy: +flox, haypo
___
Python tracker
<http://bugs.python.org/issue7788>
___
___
Python-bugs-list mailing list
Unsubscribe:
Florent Xicluna added the comment:
For the record:
>>> del bytearray('%%%')[1::1<<333]
Segmentation fault
--
___
Python tracker
<http
Florent Xicluna added the comment:
The check argument is any function which receives an open file and return a
boolean.
For example:
- verify the version number on the first line (test_normalization)
- calculate the MD5
--
keywords: +patch
nosy: +r.david.murray
stage: -> pa
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16007/issue7783_normalization.diff
___
Python tracker
<http://bugs.python.org/issue7783>
___
___
Florent Xicluna added the comment:
Now the fix depends on #7787
--
dependencies: +Add an argument to test_support.open_urlresource to invalidate
the cache
stage: -> patch review
Added file: http://bugs.python.org/file16017/issue7787_urlresource.d
Changes by Florent Xicluna :
Removed file: http://bugs.python.org/file16017/issue7787_urlresource.diff
___
Python tracker
<http://bugs.python.org/issue7783>
___
___
Pytho
Changes by Florent Xicluna :
Added file: http://bugs.python.org/file16018/issue7783_normalization_v2.diff
___
Python tracker
<http://bugs.python.org/issue7783>
___
___
New submission from Florent Xicluna :
~ $ ./python -m test.regrtest -R 1:0: test_multibytecodec_support
test_codecencodings_tw test_codecencodings_jp
test_multibytecodec_support
test_codecencodings_tw
test test_codecencodings_tw failed -- Traceback (most recent call last):
File "./Lib
Florent Xicluna added the comment:
Thank you for the patch and the analysis.
It fixes the recursion.
--
stage: test needed -> patch review
___
Python tracker
<http://bugs.python.org/iss
301 - 400 of 1386 matches
Mail list logo