Changes by Ezio Melotti :
--
components: +Library (Lib) -Extension Modules
keywords: +easy
nosy: +eric.araujo, ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12326>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue3>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: -jongfoster
___
Python tracker
<http://bugs.python.org/issue1669539>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
The regexes are now in the right order.
--
___
Python tracker
<http://bugs.python.org/issue12346>
___
___
Python-bugs-list mailin
Ezio Melotti added the comment:
Fixed during the EuroPython sprint, thanks for the patch!
--
nosy: +ezio.melotti
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bug
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python -> ezio.melotti
nosy: +ezio.melotti
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tr
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python -> ezio.melotti
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12442>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12444>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti, rhettinger
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue12445>
___
___
Python-
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12452>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12508>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12522>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +eric.smith, ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12546>
___
___
Python-bugs-list mailing list
Unsub
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue1170>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
You'll need a page that accepts POST requests, possibly returning some
meaningful value, and without side effects (e.g. adding messages is usually
done via POST, but we don't want a new message for every user that tries the
example).
-
Ezio Melotti added the comment:
FWIW the 'show issue' button on the left sidebar of http://bugs.python.org/
uses POST, so maybe you could send an issue number as request there to get back
the issue page.
--
___
Python trac
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
--
nosy: +ezio.melotti
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Ezio Melotti added the comment:
It's not entirely clear to me what you are proposing, but it looks like
functools.partial[0]. Whatever it is, adding new syntax especially for it
sounds highly unlikely. You might want to propose and discuss it on
python-ideas though.
[0]:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12531>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
assignee: -> ezio.melotti
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12527>
___
___
Python-bugs-list mai
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12544>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Another idea might be to have a "cheatsheet" in the official docs with links to
the right section and possibly a minimal description. It would be useful to
get a quick overview of the features of the language and use the links to jump
to the ex
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue9285>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Using the func%(args) syntax is not possible because
fab = foo%(1,2)
is equivalent to
fab = foo.__mod__((1,2))
It might actually be possible to overload the % operator to make something that
looks like your proposed syntax (without changing the actual Python
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue10403>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue7897>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +belopolsky, eric.araujo, ezio.melotti, lemburg
___
Python tracker
<http://bugs.python.org/issue12266>
___
___
Python-bug
Ezio Melotti added the comment:
Here's a patch.
I don't think it's necessary to update the docstring.
--
assignee: docs@python -> ezio.melotti
keywords: +patch
stage: -> commit review
Added file: http://bugs.python.org/file
Ezio Melotti added the comment:
New patch that factors out the definition of cased characters adding it to a
footnote.
--
Added file: http://bugs.python.org/file22709/issue12204-2.diff
___
Python tracker
<http://bugs.python.org/issue12
Ezio Melotti added the comment:
Indeed this seems a different issue, and might be worth fixing it.
Given this definition:
str.capitalize()¶
Return a copy of the string with its first character capitalized and the
rest lowercased.
we might implement capitalize like:
>>> def myc
Ezio Melotti added the comment:
To distinguish the 'int' in functions.rst from the one in stdtypes.rst (if it
works...).
--
___
Python tracker
<http://bugs.python.o
Ezio Melotti added the comment:
+1
--
keywords: +easy
___
Python tracker
<http://bugs.python.org/issue12301>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
keywords: +needs review
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue3665>
___
___
Python-bugs-list mai
Ezio Melotti added the comment:
Having them in different mappings would be good, but I expect that for most
real world application a single mappings that includes them all is the way to
go. If I'm parsing a supposedly HTML page that contains an ' I'd rather
have it convert
Changes by Ezio Melotti :
--
stage: patch review -> commit review
versions: -Python 3.1
___
Python tracker
<http://bugs.python.org/issue8887>
___
___
Python-
Changes by Ezio Melotti :
--
keywords: +easy
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/issue12298>
___
___
Python-bugs-list mai
Changes by Ezio Melotti :
--
nosy: +Yaroslav.Halchenko, brian.curtin, eric.araujo, ericsnow, exarkun,
ezio.melotti, fperez, michael.foord, nchauvat, ncoghlan, pitrou, r.david.murray
versions: +Python 3.3 -Python 2.7, Python 3.2
___
Python tracker
Changes by Ezio Melotti :
--
nosy: +haypo
___
Python tracker
<http://bugs.python.org/issue12401>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
FWIW the typo has been fixed in 13c9b93e97ad.
If the example is failing another issue should be created.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
Ezio Melotti added the comment:
I fixed the URL in 3.2.
> The 2.7 docs link to the Subversion repo. Can I update them?
2.7 doesn't have the source directive, do you want to replace all the svn links
manually?
If so, either reopen this issue or create a
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12568>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Fixed, thanks for the report!
--
assignee: -> ezio.melotti
nosy: +ezio.melotti
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python
Ezio Melotti added the comment:
Do you mean "if (!Py_UNICODE_ISLOWER(*s)) {" (with the '!')?
This sounds fine to me, but with this approach all the uncased characters will
go through a Py_UNICODE_TO* macro, whereas with the current code only the cased
ones are converted
Changes by Ezio Melotti :
--
nosy: +ncoghlan
___
Python tracker
<http://bugs.python.org/issue11669>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12581>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
I think it's an invention, but its meaning is quite clear to me.
--
___
Python tracker
<http://bugs.python.org/is
Ezio Melotti added the comment:
>>> import sys; hex(sys.maxunicode)
'0x10'
>>> import unicodedata; unicodedata.unidata_version
'6.0.0'
import unicodedata
all_chars = list(map(chr, range(0x11)))
Ll = [c for c in all_chars if unicodedata.category(c)
Ezio Melotti added the comment:
L = set(sum([Ll, Lu, Lt, Lo, Lm], []))
--
___
Python tracker
<http://bugs.python.org/issue12266>
___
___
Python-bugs-list mailin
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12608>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
Removed message: http://bugs.python.org/msg70327
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list mailin
Ezio Melotti added the comment:
Testing authorage
--
nosy: +loewis
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list mailin
Changes by Ezio Melotti :
--
nosy: -loewis
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12617>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Several buildbot are failing after the commit:
==
FAIL: test_get_original_stdout (test.test_support.TestSupport)
--
Traceback
Ezio Melotti added the comment:
See also #12231 for a similar suggestion.
--
___
Python tracker
<http://bugs.python.org/issue12626>
___
___
Python-bugs-list m
Ezio Melotti added the comment:
See also #12626 for a similar suggestion.
--
___
Python tracker
<http://bugs.python.org/issue12231>
___
___
Python-bugs-list m
Ezio Melotti added the comment:
> When an integer out of range(0, 256) is passed as the first argument,
> should we raise a ValueError or a TypeError?
ValueError = Inappropriate argument value (of correct type).
TypeError = Inappropriate argument type.
> Currently, a ValueError ra
Ezio Melotti added the comment:
Duplicate of #12576.
--
nosy: +ezio.melotti
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> urlib.request fails to open some sites
___
Python tr
Changes by Ezio Melotti :
--
nosy: +ezio.melotti, haypo
___
Python tracker
<http://bugs.python.org/issue12632>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
You should propose this to the python-ideas mailing list first.
It might be worth checking the archives of the ML as well -- I think I saw
already something similar a while ago.
--
nosy: +ezio.melotti
resolution: -> rejected
stage: -> com
Ezio Melotti added the comment:
Indeed that paragraph is not really clear. I had to read it till the end
("verbs for methods and nouns for data attributes") to figure out what it was
talking about. Even then it's still not clear what it's trying to say.
I *think* it mean
Ezio Melotti added the comment:
Fixed, thanks again for the patch!
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by Ezio Melotti :
Removed file: http://bugs.python.org/file22765/900df5732f93.diff
___
Python tracker
<http://bugs.python.org/issue10639>
___
___
Python-bug
Changes by Ezio Melotti :
Added file: http://bugs.python.org/file22766/900df5732f93.diff
___
Python tracker
<http://bugs.python.org/issue10639>
___
___
Python-bugs-list m
Ezio Melotti added the comment:
Fixed, thanks for the report!
--
nosy: +ezio.melotti
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Ezio Melotti added the comment:
I left a review about your patch on rietveld, including a description of what I
think it's going on there (the patch lacks some context and it's not easy to
figure out how everything works there).
I also did some tests with and without the patch:
Changes by Ezio Melotti :
--
keywords: +easy, patch -gsoc
stage: -> patch review
Added file: http://bugs.python.org/file22774/issue12644.diff
___
Python tracker
<http://bugs.python.org/issu
Ezio Melotti added the comment:
ISTM that it applies to both %s and %a, but the note is wrong/imprecise.
The precision determines where the string is truncated, but the actual number
of characters is given by the field width.
--
nosy: +ezio.melotti
Ezio Melotti added the comment:
IIRC we have been following what browsers do in other cases already.
There were also some discussions about supporting HTML5 (see e.g. #7311 and
#3) and the strict vs non-strict mode introduced in Python3.
Note that changing the way things are parsed is
Ezio Melotti added the comment:
The commit looks fine, the issue can be closed.
--
___
Python tracker
<http://bugs.python.org/issue12644>
___
___
Python-bug
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12652>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
As I said somewhere else, the only use case I can think of where the 'strict'
flag is useful is validation, but AFAIK even in "strict mode" it's possible to
parse non-valid documents, so I agree it's pretty useless.
Moving to HTM
Ezio Melotti added the comment:
+_find_unsafe = re.compile(r'[^\w\d@%_\-\+=:,\./]').search
\w already includes both \d and _, so (unless you really want to be explicit
about it) they are redundant. Also keep in mind that they match non-ASCII
letters/numbers on Python 3.
'+
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
versions: +Python 2.7, Python 3.2
___
Python tracker
<http://bugs.python.org/issue12675>
___
___
Python-bug
Changes by Ezio Melotti :
--
stage: -> test needed
___
Python tracker
<http://bugs.python.org/issue12675>
___
___
Python-bugs-list mailing list
Unsubscri
Ezio Melotti added the comment:
I applied it because the patch is valid on 3.3 too until we actually change
copystat to use lutimes. If/when shutil is changed the doc can be updated
accordingly.
--
nosy: +ezio.melotti
___
Python tracker
<h
Changes by Ezio Melotti :
--
components: +Devguide -Documentation
nosy: +ezio.melotti
resolution: -> accepted
stage: -> needs patch
___
Python tracker
<http://bugs.python.org/i
Changes by Ezio Melotti :
--
components: +Library (Lib) -None
nosy: +ezio.melotti, orsenthil
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue12
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12541>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
It seems to me that right() always turns the turtle clockwise, both with the
"standard" and the "logo" mode.
I agree that changing left->right and leave clockwise is better than changing
clockwise->counterclockwise.
I don't think
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
stage: -> test needed
___
Python tracker
<http://bugs.python.org/issue12691>
___
___
Python-bugs-list mai
Ezio Melotti added the comment:
ISTM that the patch is trying to do too many things at once:
1) increase the test coverage, possibly fixing some bugs discovered while doing
so;
2) refactor the tests to use the correct assert methods;
3) get rid of old code, and do some refactoring in copy.py
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11561>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Sounds good to me.
I would also replace the % with $ in the first example and use triple-quoted
docstrings and spaces around the == in the last.
--
keywords: +easy
nosy: +ezio.melotti, sandro.tosi
stage: -> needs patch
versions: -Python 2.6, Pyt
Ezio Melotti added the comment:
FWIW that would be fine with me. Even if there's nothing broken in a feature
request, "fixed" applied to feature could mean "the lack of this feature has
been fixed".
If the issue is valid, one can say so in a message without
Ezio Melotti added the comment:
Nope, ``...`` can be used for generic pieces of code, whereas e.g.
:data:`sys.stdout` indicates that stdout is a "data" attribute of the sys
module.
If you use :data:`...` and rebuild the doc (cd Doc/; make html), you will see
that e.g. sys.stdout wi
Ezio Melotti added the comment:
For global there's :keyword:. Also note that :data: should be used for
module-level variables (or constant) not for attributes of e.g. classes and
instances.
If there are other ``...`` that can be fixed (even using something else like
e.g. :func: or
Ezio Melotti added the comment:
BTW, accessing sys.stdout.buffer is not really safe, because if sys.stdout has
been replaced with some other object, the buffer attribute might not be
available (IIRC StringIO doesn't have it).
--
___
Python tr
New submission from Ezio Melotti :
The documentation for urllib.request.urlopen [0] says that:
"""
This function returns a file-like object [addinfourl] with two additional
methods from the urllib.response module
geturl() — return the URL of the resource retrieved, [...]
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue10050>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Another possible improvement that can be done is providing a proper Response
object instead of addbase, addinfo, addinfourl (yes, those are oddly-named
classes, not functions [0]).
The Response object could be like 'addbase', but with this signatu
Ezio Melotti added the comment:
``...`` should also be used for common names like True, False, None (no one
needs links to their doc to see what they are), or, as Éric said, to avoid
creating links for each occurrence of a name (one such example is the name of a
module in the page that
Ezio Melotti added the comment:
This are the current components in random order and a possible description:
"""
The following components should be selected if the issue apply to:
Build
the build process
Demos and Tools
the scripts in Tools/ and Tools/demo/
2to3 (2.x to 3.0
Ezio Melotti added the comment:
"patch accepted" can be marked with the "commit review" stage.
That should mean "the patch is ready to go in, after a last quick review by the
committer that will apply it", even though I've seen it used as "I made the
co
Ezio Melotti added the comment:
Attached a proper patch.
--
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file22865/issue12711.diff
___
Python tracker
<http://bugs.python.org/issu
Changes by Ezio Melotti :
--
hgrepos: +52
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
hgrepos: -52
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
hgrepos: +53
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list mailing list
Unsubscribe:
601 - 700 of 5818 matches
Mail list logo