Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21161
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14134
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17554
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
superseder: Optional compact and colored output for regrest - Compact output
for regrtest
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15974
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20898
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15025
___
___
Python-bugs-list
Florent Xicluna added the comment:
The patch proposed by Christian addresses the issue. Good to merge.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18099
Florent Xicluna added the comment:
@meishao
Previous comments answer your question :
http://bugs.python.org/issue20611#msg218836
http://bugs.python.org/issue20611#msg218841
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Florent Xicluna added the comment:
I've been bitten by this issue with a custom psycopg2 mock.
cur = mock.Mock()
cur.connection.cursor.return_value = cur
cur.reset_mock()
RuntimeError: maximum recursion depth exceeded
the patch looks ok, except the mix of tab and spaces
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21356
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15293
___
___
Python-bugs-list
New submission from Florent Xicluna:
Python accepts both syntaxes:
if not item in some_list and not item is None:
return item
and
if item not in some_list and item is not None:
return item
In the first form, you identify 5 operators
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
assignee: docs@python -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21540
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12546
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2506
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21408
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +Library (Lib), Windows
nosy: +flox
type: enhancement - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21382
Florent Xicluna added the comment:
It's about documentation only.
The sentence is not wrong, but it is slightly confusing, and there's no hint
which signals are defined on Windows.
On Windows, signal() can only be called with SIGABRT, SIGFPE, SIGILL, SIGINT,
SIGSEGV, or SIGTERM. A ValueError
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18472
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +IO
nosy: +benjamin.peterson, flox, hynek, pitrou, stutzbach
type: - behavior
versions: +Python 3.3, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
stage: - patch review
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21362
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11380
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
keywords: +3.4regression
nosy: +flox
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21295
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10740
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21235
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21202
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21082
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue672115
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19081
___
___
Python-bugs-list
New submission from Florent Xicluna:
I had this sporadic traceback in a project:
File test.py, line 62, in module
result = do_lqs(client, str(dnvn))
File test.py, line 25, in do_lqs
qualif_service_id = client.create('ti.qualif.service', {})
File /srv/openerp/.buildout/eggs/ERPpeek
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +gregory.p.smith, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20611
Florent Xicluna added the comment:
Then we can forget it. Thank you for your input.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20280
Florent Xicluna added the comment:
Done.
The alignment error with non-ASCII chars should be fixed too, thanks to the
work of Serhiy on issue #2382.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +Interpreter Core
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20339
New submission from Florent Xicluna:
This term is used in various places in the documentation.
http://docs.python.org/dev/search.html?q=predicate
Probably it deserves an entry in the glossary, even if it is not specific to
Python:
http://en.wikipedia.org/wiki/Predicate_%28mathematical_logic%29
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19293
___
___
Python-bugs-list
New submission from Florent Xicluna:
It happens when POSTing a file for example.
When running the test suite:
./python.exe -m test test_cgi
Or with the script attached:
$ ./python test_fieldstorage.py
test_fieldstorage.py:28: ResourceWarning: unclosed file _io.BufferedRandom
name=3
check
Florent Xicluna added the comment:
Fix committed, with tests.
--
resolution: - fixed
status: open - closed
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18013
New submission from Florent Xicluna:
I noticed a minor issue with regrtest.
IMHO it should assume --randomize when you pass --randseed.
--
assignee: flox
components: Tests
messages: 192401
nosy: flox
priority: normal
severity: normal
stage: needs patch
status: open
title: python -m
New submission from Florent Xicluna:
It would be useful to display the number of processes used to run the test
suite.
(some buildbots have multiple -j on the command line, and it is unclear which
one is effective)
Proposal (on the third line):
== CPython 3.4.0a0 (default:6d278f426417, Jul
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18376
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
keywords: +patch
Added file:
http://bugs.python.org/file30798/issue18376_regrtest_count_processes.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18376
New submission from Florent Xicluna:
Running the test suite with -Wd, we got the warning:
[247/375] test_warnings
Warning -- warnings.filters was modified by test_warnings
This is how to reproduce:
./python -Wd
import warnings
from test import support
saved = warnings.filters.copy
Florent Xicluna added the comment:
Much simpler:
$ ./python -Wd
import warnings
import sys
saved = warnings.filters.copy()
del sys.modules['warnings']
import warnings
assert warnings.filters != saved
assert warnings.filters.pop(0) = warnings.filters[0]
assert warnings.filters == saved
Florent Xicluna added the comment:
This patch fixes the issue.
--
keywords: +patch
stage: needs patch - patch review
Added file:
http://bugs.python.org/file30817/issue18383_test_warnings_filters.diff
___
Python tracker rep...@bugs.python.org
http
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18167
___
___
Python-bugs-list
New submission from Florent Xicluna:
While testing wsgiref w.r.t RFC2616, I noticed that it sets the Content-Length
to 0 when the application returns 304 Not Modified.
This is a violation of RFC 2616 section 10.3.5.
And the net effect is a weird bug with some browsers (tested with Chrome 27
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17844
___
___
Python-bugs-list
New submission from Florent Xicluna:
I noticed the convenient ``html.escape`` in Python 3.2 and ``cgi.escape`` is
marked as deprecated.
However, the former is an order of magnitude slower than the latter.
$ python3 --version
Python 3.3.2
With html.escape:
$ python3 -m timeit -s from html
Florent Xicluna added the comment:
Eric, this last one is not a bug in Cookie. This is a limitation with Python 2.
See #18012.
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16611
Florent Xicluna added the comment:
I would suggest you redo the test using timing done inside of the script
after modules have been imported.
The -s switch takes care of this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2226
___
___
Python-bugs-list
New submission from Florent Xicluna:
from Cookie import SimpleCookie
cookie = SimpleCookie()
cookie[u'apple'] = u'green'
Traceback (most recent call last):
File stdin, line 1, in module
File
/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Cookie.py
Florent Xicluna added the comment:
you're right, this behavior is documented.
u'read this short text'.translate(None, 'aeiou')
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: translate() takes exactly one argument (2 given)
http://docs.python.org/2/library
New submission from Florent Xicluna:
Trying to parse the W3C sample, it fails in 3.3 (while it passes on 2.7).
http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 (last example)
Content-Type: multipart/form-data; boundary=AaB03x
--AaB03x
Content-Disposition: form-data; name
Florent Xicluna added the comment:
At first glance it seems related to rev d864328a74e4 , issue 4953
The check on self.bytes_read = self.length returns True because length == -1.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18013
___
___
Python
Florent Xicluna added the comment:
This seems to fix it.
--
stage: needs patch - patch review
Added file: http://bugs.python.org/file30314/patch_multipart_w3.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18013
New submission from Florent Xicluna:
When executing a submodule, there's a SystemError in 3.3 where we used to
receive a ValueError.
mkdir marsu
touch marsu/__init__.py
echo from .houba import bi marsu/pilami.py
./python marsu/pilami.py
Traceback (most recent call last):
File marsu
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17973
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17960
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17934
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4831
___
___
Python-bugs-list
New submission from Florent Xicluna:
Looking into the summary table, there's no information about the `bytes`
built-in alias for `str`:
http://docs.python.org/2/library/functions.html
IMHO it should appear in this table (as str, unicode, bytearray) with the
appropriate `.. versionadded
Florent Xicluna added the comment:
Patch updated with latest changes of trunk.
--
Added file: http://bugs.python.org/file30081/patch_indenterror_offset_v2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17825
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17866
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10242
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17867
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15535
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
title: Bad sys.stdin assignment hands interpreter. - Bad sys.stdin assignment
hangs interpreter.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17863
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16518
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +Interpreter Core, Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17825
Florent Xicluna added the comment:
Hello again,
actually, the attached script demonstrates some issues with the computation of
the offset.
In rare cases, the computed offset does not match the position of the caret '^'
in the traceback. It makes it difficult to reuse exc.offset to display
Florent Xicluna added the comment:
And this additional script (test_indenterror.py) demonstrates a different issue
in the traceback module.
--
Added file: http://bugs.python.org/file30034/test_indenterror.py
___
Python tracker rep...@bugs.python.org
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17825
___
___
Python
Florent Xicluna added the comment:
The proposed patch deals with the case of the IndentationError in the traceback
module.
--
keywords: +patch
resolution: works for me -
Added file: http://bugs.python.org/file30036/patch_indenterror_offset.diff
Changes by Florent Xicluna florent.xicl...@gmail.com:
Removed file: http://bugs.python.org/file30036/patch_indenterror_offset.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17825
Changes by Florent Xicluna florent.xicl...@gmail.com:
Added file: http://bugs.python.org/file30037/patch_indenterror_offset.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17825
Florent Xicluna added the comment:
The previous patch fixes some cases where the caret was wrongly positioned.
However, there's probably stuff to fix in Python internals too.
See attached test cases (test_traceback_caret.py) which demonstrates other
issues with non-ASCII chars or tab
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17396
___
___
Python-bugs-list
New submission from Florent Xicluna:
I noticed a difference between computation of column offset for SyntaxError and
IndentationError (a subclass of SyntaxError).
It is slightly confusing.
def report(exc):
print('lineno %s, offset %s' % (exc.lineno, exc.offset))
raise
try:
exec
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17827
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17828
___
___
Python-bugs-list
Florent Xicluna added the comment:
Another rant, because it matters to many of us:
http://lucumr.pocoo.org/2012/8/11/codec-confusion/
IMHO, the solution to restore str.decode and bytes.encode and return TypeError
for improper use is probably the most obvious for the average user
Florent Xicluna added the comment:
I am not a native english speaker, but it seems that the common usage of
encode/decode is wider than the restricted definition applied for Python 3.3:
Some examples:
* RFC 4648 specifies Base16, Base32, and Base64 Data Encodings
http://tools.ietf.org/html
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17618
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: -flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7475
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7475
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15494
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17546
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17441
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1602
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8796
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5845
___
___
Python-bugs-list
Florent Xicluna added the comment:
According to the documentation, the reserved words are classified as
identifiers:
http://docs.python.org/3/reference/lexical_analysis.html#keywords
There's an easy workaround:
from keyword import iskeyword
def is_valid_identifier(s):
... return
Florent Xicluna added the comment:
Actually, the character is SUPERSCRIPT ONE, in the category No (Number other).
http://www.fileformat.info/info/unicode/char/b9/index.htm
This is not a valid category for the identifiers, only Nd Number decimal is
accepted.
The issue is probably in namedtuple
Florent Xicluna added the comment:
This is consistent:
'¹'.isnumeric(), '¹'.isdigit(), '¹'.isdecimal()
(True, True, False)
unicodedata.numeric('¹')
1.0
unicodedata.digit('¹')
1
unicodedata.decimal('¹')
Traceback (most recent call last):
File stdin, line 1, in module
ValueError
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16043
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6784
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: -Ronald.Chapman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17143
___
___
Python
1 - 100 of 1373 matches
Mail list logo