Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - works for me
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21278
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: -Python 2.7, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1371826
Ezio Melotti added the comment:
Fixed, thanks for the patch!
The other FAQ got fixed in #17177/3d3b9d456eb8.
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: needs patch - resolved
status: open - closed
versions: +Python 2.7
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19838
___
___
Python-bugs
Ezio Melotti added the comment:
I agree.
--
resolution: - works for me
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19055
Ezio Melotti added the comment:
Even if the problem is not in test_shutil, those warnings shouldn't be there.
Vajrasky, can you check if you can still reproduce this issue, and see if you
can fix it (either by converting the filenames to unicode, or by silencing the
warnings
Ezio Melotti added the comment:
Someone on AIX should verify this patch and confirm that it fixes the issue
(and if Python 3 is affected or not).
--
keywords: +easy
title: test glob with trailing slash fail - test glob with trailing slash fail
on AIX 6.1
Ezio Melotti added the comment:
I applied my patch, but that doesn't fix the original issue -- it just provides
a better error message in case of failure.
--
keywords: -patch
stage: patch review - needs patch
versions: +Python 3.5
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18069
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22023
Ezio Melotti added the comment:
I left a few comments on rietveld.
The patch should also include documentation.
Class decorator approach looks less obvious to me. [...]
But encountering the unittest.base_class decorator, I need to look in
the documentation and/or sources to understand how
Ezio Melotti added the comment:
The issue seems to affect special attributes that can't be deleted.
In Lib/unittest/mock.py:1329, patch() tried to delete the attribute, and then,
if it doesn't exist, it restores the previous value. However some special
attributes exist even after
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - out of date
stage: patch review - resolved
status: open - closed
superseder: - Use specific asserts in urllib related tests
___
Python tracker rep...@bugs.python.org
http
Ezio Melotti added the comment:
Thanks for fixing this!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15759
___
___
Python-bugs-list mailing
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: docs@python - ezio.melotti
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21928
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21972
___
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22000
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22014
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22060
___
___
Python-bugs
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti, orsenthil
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22118
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22071
Ezio Melotti added the comment:
The second problem I mentioned in msg134530 got fixed in #18996, making the
patches on this issue obsolete.
Since the other problem is now tracked in #19217, I'm going to close this.
--
stage: patch review - resolved
status: open - closed
Ezio Melotti added the comment:
Here is a new patch that includes an additional paragraph about mutation and
non-mutation operations.
--
Added file: http://bugs.python.org/file36236/issue20135-2.diff
___
Python tracker rep...@bugs.python.org
http
Ezio Melotti added the comment:
I left a comment on rietveld.
Michael, do you think changing the imports is OK, or will this cause you some
troubles with the external unittest package you maintain?
--
assignee: - michael.foord
stage: - patch review
type: - behavior
Ezio Melotti added the comment:
3.5 is done.
Closing.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22024
___
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22116
Ezio Melotti added the comment:
See also #19536.
I still think that if we do something about these issues, we should try to be
compatible with the regex module.
If we are going to add support for both iterability and __getitem__, they
should be consistent, so that list(m) == [m[0], m[1], m[N
Ezio Melotti added the comment:
That's indeed another valid solution, even though having indexing and
iterability would be convenient (assuming we can figure out a reasonable way to
implement them).
--
___
Python tracker rep...@bugs.python.org
http
Ezio Melotti added the comment:
Even if it doesn't get included in the stdlib, some people might decide to
switch from re to regex (or possibly vice versa) for their projects, so the
closer they are the easier this will be. Another reason is that afaik the
authors of the regex module made
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - not a bug
stage: - resolved
status: open - closed
type: compile error - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22119
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs
Ezio Melotti added the comment:
Do you have any suggestion?
The section already includes examples about empty classes and as placeholder
inside functions, and the only other realistic situations I can think of is
inside an except to ignore errors -- but that might be considered an
anti
Ezio Melotti added the comment:
Keep in mind that this is in one of the first sections of the tutorial, where
try/except, with, and generators have not been introduced yet.
Maybe the comment could be changed to a simpler loop forever (use ctrl+c to
stop) so that it doesn't suggest
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22106
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18477
___
___
Python-bugs
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22110
___
___
Python-bugs
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22086
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22097
___
___
Python-bugs
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
status: open - closed
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22066
Ezio Melotti added the comment:
See https://docs.python.org/devguide/patch.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21084
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +chris.jerdonek, ezio.melotti, zach.ware
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21777
Ezio Melotti added the comment:
The reverse function is defined just above the example that uses it.
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python, ezio.melotti
resolution: - not a bug
stage: - resolved
status: open - closed
type: compile error - behavior
Ezio Melotti added the comment:
Thanks for the report, do you want to provide a patch?
(You can check the devguide if you need more information.)
--
keywords: +easy
nosy: +ezio.melotti, hynek, tarek
stage: - needs patch
___
Python tracker rep
Ezio Melotti added the comment:
Agreed. Make sure that the arguments you are passing to ntpath.join() have the
same type (i.e. either both unicode, or both string).
--
nosy: +ezio.melotti
resolution: - not a bug
stage: - resolved
status: open - closed
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Extension Modules
nosy: +ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21965
Ezio Melotti added the comment:
It's using __eq__:
l = [3, 1.0, 5, True, 7, 1]
l.index(1)
1
l.index(True)
1
l.index(1.0)
1
True == 1 == 1.0
True
--
nosy: +ezio.melotti
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python
Ezio Melotti added the comment:
'a' evaluates to true, but it's not equal to True:
bool('a')
True
'a' == True
False
but 1 and True are equal (for historical reasons):
1 == True
True
Similarly '' evaluates to false, but it's not equal to False:
bool('')
False
'' == False
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: patch review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21988
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Library (Lib) -Extension Modules
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21984
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21815
Ezio Melotti added the comment:
Wouldn't this be backward incompatible?
Even if the EOFError that is raised is not documented explicitly, people might
be catching it, and switching to a new exception would break their programs.
Maybe NNTPConnectError should inherit from EOFError too
Ezio Melotti added the comment:
Do you want to propose a patch?
--
components: +Windows
nosy: +ezio.melotti, loewis, steve.dower, tim.golden, zach.ware
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21931
Ezio Melotti added the comment:
The docstring is correct, as this is how wraps is implemented (see
Lib/functools.py#l73).
partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated)
will return a partial version of update_wrapper() where only the wrapper
argument is missing
Ezio Melotti added the comment:
If it's not needed in other places, I think the proposed patch might be OK
(assuming it works fine on other platforms).
--
nosy: +ezio.melotti
stage: - patch review
versions: +Python 3.4, Python 3.5
___
Python
Ezio Melotti added the comment:
While TPen doesn't seem to be documented, it's not prefixed by a '_', so there
might people using it and relying on these methods.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21946
___
___
Python-bugs-list
Ezio Melotti added the comment:
I tried to grep on 3.x for this test but it looks like it's been removed there,
so this issue only affects 2.7.
--
versions: -Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Ezio Melotti added the comment:
There seem to be two issues here:
list comprehension with yield(-from) would return a generator.
This is somewhat surprising, and I'm not sure it's expected/documented.
The example you provided seems to behave reasonably, so I don't think we should
change
Ezio Melotti added the comment:
Do you assign anything to self.abort in your code?
Without further information we can't determine if this is a bug with impalib, I
checked the code and I don't see anything that might change self.abort.
--
nosy: +ezio.melotti
type: crash - behavior
Ezio Melotti added the comment:
In imaplib, abort is either raised or caught (in addition to be the defined
once), so the error doesn't seem to be there.
I suggest you to try and print self.abort (and possibly its repr()/id() or
similar informations) and try to determine if/when it gets
Ezio Melotti added the comment:
Good point, I'll try to add that to the FAQ.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20135
___
___
Python
Ezio Melotti added the comment:
The original issue seems to be fixed, but the other two related issues
mentioned by Amaury still need to be addressed. One has already a patch, the
other doesn't.
--
components: +Extension Modules -Build
type: compile error - resource usage
versions
Ezio Melotti added the comment:
Fixed, thanks for the report!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - works for me
stage: - resolved
status: open - closed
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19608
Ezio Melotti added the comment:
I would argue that adding the BOM is a Powershell issue, and I'm not sure
Python should do anything about it.
There are probably cases where people expects the BOM to be received by python,
so stripping it is probably not an option.
As for detecting, it should
Ezio Melotti added the comment:
Serhiy, your patch LGTM.
Can you apply a similar fix for the linkcheck and doctest target and commit it?
FWIW the patch produces a slightly different output (in addition to showing the
missing message), but I don't think it's a problem:
Without patch
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
dependencies: -Fix unicodeless build of Python
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21844
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
dependencies: +Fix unicodeless build of Python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21844
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: docs@python - ezio.melotti
nosy: +rhettinger
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20135
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +mark.dickinson, skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21929
___
___
Python
Ezio Melotti added the comment:
Agreed, but there are a few problems with the proposals:
1) it requires the addition of a new keyword (raises), and that will break any
program that uses it as an identifier;
2) the use case is arguably limited;
3) assertRaises is consistent with the other assert
Ezio Melotti added the comment:
test
--
resolution: later - not a bug
Added file: http://bugs.python.org/file35887/issue18958-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
Ezio Melotti added the comment:
See also https://mail.python.org/pipermail/python-ideas/2014-June/028206.html
for a list of things to keep in mind while adding new features (especially
keywords).
--
___
Python tracker rep...@bugs.python.org
http
Ezio Melotti added the comment:
I moved the FAQ about mutable default arguments to the programming FAQs page.
I was going to do a review about new FAQ, but it since I had several comments I
just tried to rewrite it and make a new patch.
Do you think this is clear enough?
--
Added
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - duplicate
stage: needs patch - resolved
status: languishing - closed
superseder: - Issues in Unicode HOWTO
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Ezio Melotti added the comment:
See also #1581182.
--
stage: - needs patch
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20906
Ezio Melotti added the comment:
Patch LGTM.
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12602
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +mark.dickinson, rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21922
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
components: +Library (Lib)
keywords: +easy
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21879
Ezio Melotti added the comment:
The feature request sounds reasonable to me, unless someone proves that there
are major (performance) issues. However, since this has already been reported
in #18162, I'm going to close it as a duplicate.
@Raymond
The IndexError exception is commonly used
Ezio Melotti added the comment:
Knowing the len of the sequence would also be useful.
Brett, were you also planning to use these attributes in the error message
(when they are available), or do you prefer to keep the two issues separate and
reopen #21911?
Is there a meta-issue
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9554
___
___
Python-bugs-list
Ezio Melotti added the comment:
Why do the patches attached to this issue not have a review link?
because
both (2.7 and 3.2) patches do not line up with the current
2.7 and 3.x tip, both hunks get rejected.
The review link only appears if the patch applies cleanly on the default
branch
Ezio Melotti added the comment:
I believe this is not a bug.
As the error says a look-behind requires the pattern to have a fixed length.
In re.search(r'(?=(a|b))(\w+)', 'abc').groups() the two possible patterns in
the look behind are a and b, both with length 1.
In re.search(r'(?=(^|$))(\w
Ezio Melotti added the comment:
This sounds like a question for python-dev (or perhaps python-ideas).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15722
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21185
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21051
___
___
Python-bugs-list
Ezio Melotti added the comment:
https://docs.python.org/3/library/math.html#hyperbolic-functions should be
updated as well.
It looks fine to me. What do you think should be changed?
I just meant to say that the docs and the docstrings should be kept in sync
(especially if they are short
Ezio Melotti added the comment:
I mean here: https://docs.python.org/2/library/functions.html#str
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17904
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti, pitrou
stage: - patch review
versions: -Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21898
Ezio Melotti added the comment:
Éric, I think you should open a separate issue for this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10224
Ezio Melotti added the comment:
Do you want to propose a patch?
https://docs.python.org/3/library/math.html#hyperbolic-functions should be
updated as well.
--
assignee: - docs@python
components: +Documentation
keywords: +easy
nosy: +docs@python, ezio.melotti, mark.dickinson
Ezio Melotti added the comment:
Thanks for backporting this!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14097
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21202
___
___
Python-bugs
Ezio Melotti added the comment:
I tried to run those timings again and the values I got from the terminal are
close to the ones I got from the interactive interpreter.
I'm not sure why when I wrote those examples I got such different values.
It would be fine with me to update them and avoid
Ezio Melotti added the comment:
If someone familiar with rietveld wants to propose a patch I will review and
apply it, otherwise it might take a while before I can get to it.
The patch should include these things:
1) how to make a patch that works with rietveld (this might already
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +haypo, steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10765
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - resolved
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21575
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21429
___
___
Python-bugs
601 - 700 of 5772 matches
Mail list logo