Ezio Melotti added the comment:
There are still functions that are not documented, so I think this should stay
open until we documented them (unless they shouldn't be documented -- in that
case it can be closed).
--
___
Python tracker
Ezio Melotti added the comment:
The packaging test (test_pypi_simple.py:test_uses_mirrors) creates a server and
a mirror, starts the mirror only, tries to connect to the server, and then
falls back on the mirror when the server raises a timeout error.
The code in the first message does more
Changes by Ezio Melotti :
--
components: +Library (Lib) -Extension Modules
nosy: +ezio.melotti
versions: +Python 3.3 -Python 2.7, Python 3.2
___
Python tracker
<http://bugs.python.org/issue12
Ezio Melotti added the comment:
Can you try to open a Windows terminal (start->run->cmd or win+r on the
keyboard), cd to Python27, execute python.exe and see if it gives any error
message there?
--
nosy: +ezio.melotti
___
Python tracker
Ezio Melotti added the comment:
The patch looks ok to me.
AFAIU the lookup will take care to normalize the name and return latin_N. This
also implies that other names (like 'latin-N', 'LaTiN~~N' and so on) will be
normalized to latin_N and then accepted.
Regarding th
Ezio Melotti added the comment:
Something like:
if name == 'mbcs' and not sys.platform.startswith('win'):
continue
should be enough.
--
___
Python tracker
<http://bu
Ezio Melotti added the comment:
I suggest to:
1) remove the alias for tactis;
2) add the aliases for latin_* and the tests for the aliases;
3) fix the email.charset to use the new aliases instead of its own dict.
2) and 3) should go on 3.3 only, 1) could be considered a bug and fixed on
Ezio Melotti added the comment:
The 'site' module should be in Python27\Lib\site.py.
You could try to run "python.exe -v" to see if it says something useful in the
output, or maybe try to reinstall Python and see if it works.
--
__
New submission from Ezio Melotti :
The attached patch causes a segfault while running test_urllib:
$ ./python -m test test_urllib
[1/1] test_urllib
Fatal Python error: Segmentation fault
Current thread 0xb77de8d0:
File "/home/wolf/dev/py/py3k/Lib/http/client.py", line 45
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12154>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
I removed the /0 when there are no failures after a short discussion on
#python-dev. FWIW I'm -0 on the /N, but now that it's not displayed if there
are no failures it won't bother me too much.
--
nosy: +ezio.melotti
stage: ->
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12162>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
keywords: +needs review
nosy: +brett.cannon, haypo
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issu
Ezio Melotti added the comment:
The test should be a diff against Lib/test/test_multiprocessing.py that adds a
unit test.
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11
Changes by Ezio Melotti :
--
nosy: +bethard
type: crash -> behavior
___
Python tracker
<http://bugs.python.org/issue12193>
___
___
Python-bugs-list mai
Ezio Melotti added the comment:
I find this wording a little confusing: "For lists, sets, and dicts, methods
that change the contents or order never return the instance. Instead, they
return an item from the instance or, more commonly, None.".
I would suggest to drop the second pa
Ezio Melotti added the comment:
I'm not sure it's worth adding this to the PEP 7. The PEP is about conventions
and style not idioms.
PEP 8 has a section about "Programming Recommendations" that contains a few
idioms, but since PEP 7 doesn't have an equival
Ezio Melotti added the comment:
Terry, I think you can apply the patch you proposed in msg137085 and close this
issue.
If the recommended structure of test files is not documented, a section in the
devguide should be added, but that's another issue. (FWIW I'm not even sure
Ezio Melotti added the comment:
Python 3.1.4 should be released today, so I think it's too late for this to be
fixed.
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/is
Ezio Melotti added the comment:
The release date of 3.1.4 is actually June 11th. Today will be released an RC
though, so what I said should still apply.
--
___
Python tracker
<http://bugs.python.org/issue10
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12170>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue9382>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue10224>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue10225>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
That would be c4ddb460f4f2.
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12106>
___
___
Python-bug
Ezio Melotti added the comment:
Note that usually 'self' is not included in the arguments of methods. The 3.3
doc correctly uses e.g. copy_sign(other). A 'd.' could also be added so that
the end result looks like:
d.copy_sign(other)
but it's not mandatory (if do
Changes by Ezio Melotti :
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue10449>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
In this case using:
d.copy_sign(other)
and then refer to 'd' and 'other' might be clearer.
--
___
Python tracker
<http://bug
Ezio Melotti added the comment:
The regex sets (\d\w\s\D\W\S) don't match any Python escape sequence, so even
if some suggest to always use r'' regardless, I don't find it necessary,
especially for simple regexs.
The two conflicting escape sequences to keep in mind a
Ezio Melotti added the comment:
The name dump and dumps exist to match the same API provided by pickle and
marshal.
I agree that a note marked as CPython implementation detail should be added.
--
keywords: +easy -patch
stage: -> needs patch
versions: +Python 2.7, Python
Changes by Ezio Melotti :
--
nosy: +georg.brandl
stage: needs patch -> patch review
___
Python tracker
<http://bugs.python.org/issue11975>
___
___
Python-
Ezio Melotti added the comment:
Are you against the proposed wording or the note itself?
Stating that in CPython json.dump doesn't use the C accelerations is a
reasonable thing to do imho.
--
___
Python tracker
<http://bugs.python.org/is
Ezio Melotti added the comment:
'\u1ff3'.upper() returns '\u1ffc', so we have:
U+1FF3 (ῳ - GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI)
U+1FFC (ῼ - GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI)
The first belongs to the Ll (Letter, lowercase) category, whereas the secon
Ezio Melotti added the comment:
IMHO it would be better to tweak regrtest so that it understand
test_file.TestClass.test_method, possibly supporting wildcards.
E.g.:
- ./python -m test test_subprocess.POSIXProcessTestCase
- ./python -m test
Ezio Melotti added the comment:
FWIW using the class directive also adds a 'class' before the name, and I -1
about having int()/float()/etc. prepended by 'class' in the functions.rst page.
What happens if we leave ".. function::" there and use ".. clas
Ezio Melotti added the comment:
I think the only way to find it out is to try it and see.
In the worst case, sphinx will give an error while building the doc, if we are
lucky it will just pick one of the two (or even better the one defined with the
function directive while using :func:`` and
Changes by Ezio Melotti :
--
assignee: -> ezio.melotti
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12270>
___
___
Python-bugs-list mai
Ezio Melotti added the comment:
Done in r88853, thanks for the report!
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Ezio Melotti added the comment:
If there are a few of these idioms, I'm not against adding a new section to
PEP 7 (something like the "Programming Recommendations" section in the PEP 8).
It's just not worth doing it for the "*p
Ezio Melotti added the comment:
What if in the functions.rst page we specify the current module for all the
functions (or even just for int/float/etc) as __builtin__ and use the function
directive, and in the stdtypes.rst (or elsewhere) we use the class directive?
The idea is to pretend that
Ezio Melotti added the comment:
This is expected. See also #11986 and #11949.
--
nosy: +belopolsky, ezio.melotti, mark.dickinson, rhettinger
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
___
Python track
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue12301>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
dependencies: +Fix referencing of built-in types (list, int, ...)
___
Python tracker
<http://bugs.python.org/issue12298>
___
___
Pytho
Ezio Melotti added the comment:
It won't (because there's the ~ in :func/class:`~__builtin__.int`). Specifying
the module would just be a workaround used to distinguish the 'int' in
functions.rst from the one in stdtypes.rst.
--
__
Changes by Ezio Melotti :
--
status: pending -> closed
___
Python tracker
<http://bugs.python.org/issue11375>
___
___
Python-bugs-list mailing list
Unsubscri
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:
701 - 800 of 1631 matches
Mail list logo