Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue10435>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue10439>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Some buildbots are failing after the commit.
Also in the crypt.py module I still see things that according to msg126453
should be fixed already:
* more statements on the same line (e.g. "if salt == None: salt = mksalt()");
* the hardcoded salt valu
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11283>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11282>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +michael.foord
___
Python tracker
<http://bugs.python.org/issue11282>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Is it possible to add some tests for input()?
Also the patch uses tabs instead of spaces.
--
___
Python tracker
<http://bugs.python.org/issue11
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11298>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
http://code.python.org/hg/branches/py3k/
--
___
Python tracker
<http://bugs.python.org/issue11298>
___
___
Python-bugs-list mailin
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11303>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
See also discussion on #5902.
Steffen, your normalization function looks similar to
encodings.normalize_encoding, with just a few differences (it uses spaces
instead of dashes, it divides alpha chars from digits).
If it doesn't slow down the normal cases
Ezio Melotti added the comment:
If the first normalization function is flexible enough to match most of the
spellings of the optimized encodings, they will all benefit of the optimization
without having to go through the long path.
(If the normalized encoding name is then passed through, the
Ezio Melotti added the comment:
That will also accept invalid names like 'iso88591' that are not valid now,
'iso 8859 1' is already accepted.
--
___
Python tracker
<http://bug
Ezio Melotti added the comment:
> That won't work, Victor, since it makes invalid encoding
> names valid, e.g. 'utf(=)-8'.
That already works in Python (thanks to encodings.normalize_encoding).
The problem with the patch is that it makes names like 'iso88591'
Ezio Melotti added the comment:
The attached patch is a proof of concept to see if Steffen proposal might be
viable.
I wrote another normalize_encoding function that implements the algorithm
described in msg129259, adjusted the shortcuts and did some timings. (Note: the
function is not
Ezio Melotti added the comment:
Probably not, but that part should be changed if possible, because is less
efficient than the previous version that was allocating only 11 bytes.
The problem here is that the previous versions was only changing/removing
chars, whereas this might add spaces too
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11313>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Patch looks good.
I checked the tests and couldn't fine any test for .encode()/.decode() without
encoding, so I added them in the attached patch.
--
components: +Interpreter Core
stage: -> commit review
Added file: http://bugs.python.org/f
Changes by Ezio Melotti :
--
nosy: +belopolsky, ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11322>
___
___
Python-bugs-list mailing list
Unsub
Ezio Melotti added the comment:
What about something like
"""
In order to be compatible with test discovery, all the test modules must be
importable from the top level directory of the project (in other words, they
must be part of the project :ref:`package `, and their name
Ezio Melotti added the comment:
+1 on the backport.
--
___
Python tracker
<http://bugs.python.org/issue11303>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
> For other spellings like "utf8" or "latin1", I wonder if it would be
> useful to emit a warning/suggestion to use the standard spelling.
It would prefer to see the note added by Alexander in the doc mention *only*
the preferred s
Ezio Melotti added the comment:
After a mail I sent to the Unicode Consortium about the corner case I found,
they updated the "Best Practices for Using U+FFFD"[0] and now it says:
"""
Another example illustrates the application of the concept of maximal subpart
for
Ezio Melotti added the comment:
The patch turned out to be less trivial than I initially thought.
The current algorithm checks for invalid continuation bytes in 4 places:
1) before the switch/case statement in Objects/unicodeobject.c when it checks
if there are enough bytes in the string (e.g
Changes by Ezio Melotti :
--
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> Please replace the use of pickle in multiprocessing with json.
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
components: +Library (Lib)
stage: -> needs patch
type: -> feature request
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/i
Changes by Ezio Melotti :
--
nosy: +eric.araujo
___
Python tracker
<http://bugs.python.org/issue11373>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
That sentence should be changed to mention the str method rather than the
deprecated functions in the string module.
(The methods' names after the example should also link to the right str.method
--
assignee: docs@python -> ezio.melotti
keyword
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11407>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Actually '}' is not a metachar, the metachars should be only "|()[{.+*?^$\".
>>> re.match('^a+(}+)b+$', '}bbb')
<_sre.SRE_Match object at 0xb77aa860>
>>> re.match('^a+(}+)b
Changes by Ezio Melotti :
--
components: +Library (Lib) -Extension Modules
nosy: +ezio.melotti, georg.brandl
type: -> behavior
___
Python tracker
<http://bugs.python.org/issu
Ezio Melotti added the comment:
IIUC those svn links will keep working for some time, but if/when the svn repo
and/or viewvc will be removed an URL rewrite rule should be fix the problem.
The patch seems OK to me.
--
nosy: +ezio.melotti
___
Python
Changes by Ezio Melotti :
--
assignee: docs@python -> ezio.melotti
stage: -> patch review
___
Python tracker
<http://bugs.python.org/issue11298>
___
___
Ezio Melotti added the comment:
#11298: Improve the unittest discovery explanation.
http://hg.python.org/cpython/rev/bbf8a8a1af17
--
___
Python tracker
<http://bugs.python.org/issue11
Ezio Melotti added the comment:
#11298: merge from 3.2.
http://hg.python.org/cpython/rev/fa23f323d747
--
___
Python tracker
<http://bugs.python.org/issue11
Ezio Melotti added the comment:
#11298: Improve the unittest discovery explanation.
http://hg.python.org/cpython/rev/88b5a93b1725
--
___
Python tracker
<http://bugs.python.org/issue11
Ezio Melotti added the comment:
Fixed on 2.7, 3.2 and py3k, thanks for the patch!
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Ezio Melotti added the comment:
The svn repos and viewvc won't disappear soon because they are used for other
things (e.g. the tracker). I think it's better to avoid redirects until svn
and/or viewvc are definitely gone.
--
___
Pyth
Changes by Ezio Melotti :
--
status: closed -> open
___
Python tracker
<http://bugs.python.org/issue1271>
___
___
Python-bugs-list mailing list
Unsubscri
Ezio Melotti added the comment:
I reopened #1271, please continue the discussion there.
--
nosy: +ezio.melotti
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> Raw string parsing fails with backslash as la
Ezio Melotti added the comment:
Apparently during a merge from trunk (r72477) the addCleanup and other methods
ended up in 3.1rc1, even if they are documented as new in 3.2. I'll update the
doc to say "new in 3.1".
--
nosy
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue10617>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Hi, if you need help with Python try the Python mailing list[0] or ask on
IRC[1].
This bug tracker is used only to report bugs in the Python language.
[0]: http://www.python.org/community/lists/
[1]: http://www.python.org/community/irc/
--
nosy
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
stage: -> test needed
___
Python tracker
<http://bugs.python.org/issue11461>
___
___
Python-bugs-list mai
Ezio Melotti added the comment:
The tables and several other doc changes went in 3.1 in cb3a925de1bd.
--
___
Python tracker
<http://bugs.python.org/issue9
Ezio Melotti added the comment:
And in 2.7 in 6e5b5d1b6714.
There's some more refactoring that could be done on unittest.rst but it's out
of the scope of this issue, so I'm closing this.
--
resolution: -> fixed
stage: commit review -> committed/rejected
s
Ezio Melotti added the comment:
This can be closed.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Ezio Melotti :
--
nosy: +giampaolo.rodola
status: open -> languishing
___
Python tracker
<http://bugs.python.org/issue4758>
___
___
Python-bugs-lis
Ezio Melotti added the comment:
This is maybe out of the scope of this issue, but I would like to see all the
basic data types on single page on their own. The current page[0] has some
section about data types mixed with sections about operations, comparisons, and
other things, followed by
Ezio Melotti added the comment:
The advantage of having one big page is that you can ctrl+f easily without
having to go back and forth from different pages
On the other hand, the page is not easy to browse (especially on small screens,
mobile devices, old/slow pcs).
In this case I don
Ezio Melotti added the comment:
The patch contains non-ascii chars that should be avoided (they break `make
pdf`).
--
___
Python tracker
<http://bugs.python.org/issue10
Ezio Melotti added the comment:
Now it's fixed in 3.2 and 3.3. Thanks for the patch!
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
versions: +Python 3.2
___
Python tracker
<http:
Ezio Melotti added the comment:
Patch looks good to me.
The quotes are somewhat inconsistent (sometimes '' and sometimes ""), if you
want you can "fix" them while you are at it.
--
___
Python tracker
<
Ezio Melotti added the comment:
addCleanup/doCleanups/startTestRun/stopTestRun are in 3.1 too and now they are
documented as new in 3.1. I also removed the versionchanged note for __iter__
(0f9e5042907c).
Test discovery, --failfast, --catch, --buffer are new in 3.2 and not documented
on 3.1
New submission from Ezio Melotti :
The current example[0] uses assertTrue(element in self.seq) but it would be
better to use assertIn instead. The whole example could be changed to
something simpler that uses only the assertTrue/assertEqual/assertRaises
methods correctly, e.g.:
import
Ezio Melotti added the comment:
Thanks for the report!
--
assignee: docs@python -> ezio.melotti
nosy: +ezio.melotti
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python
Ezio Melotti added the comment:
I added a few comments for ccs_v3.diff on rietveld.
--
___
Python tracker
<http://bugs.python.org/issue10716>
___
___
Python-bug
Ezio Melotti added the comment:
There's #4965 for that. Last time I tried there was some problem with it, maybe
I'll try again in future.
--
___
Python tracker
<http://bugs.python.o
Ezio Melotti added the comment:
I think Georg said that non-ascii chars shouldn't be used directly in the rst
files, and one of the reasons is that they break `make pdf` (I haven't tried
though).
I added him to the nosy.
--
nosy: +ge
Ezio Melotti added the comment:
This should be now fixed in 3.x, but not on 2.7.
--
___
Python tracker
<http://bugs.python.org/issue11426>
___
___
Python-bug
Ezio Melotti added the comment:
Thanks for the patch, however it would be better if you could get a clone of
the CPython repo and make a patch against it.
The patch should also include tests.
You can check http://docs.python.org/devguide/ for more information
Ezio Melotti added the comment:
Michael, what's the status of this?
Do you think some of the removed methods should be added back even if they are
marked as "removed in 3.3" in the 3.2 doc?
--
___
Python tracker
<http://bugs.pyt
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue7391>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
nosy: +brian.curtin
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue11483>
___
___
Python-bugs-list mai
Ezio Melotti added the comment:
I would rephrase:
+There is one subtle aspect to raw strings that is of special concern to Windows
+programmers: a raw string may not end in an odd number of ``\`` characters.
to something like:
+There is one subtle aspect to raw strings: a raw string may not
Ezio Melotti added the comment:
That would of course be a good addition too.
--
___
Python tracker
<http://bugs.python.org/issue11479>
___
___
Python-bugs-list m
Changes by Ezio Melotti :
--
resolution: fixed ->
status: closed -> open
___
Python tracker
<http://bugs.python.org/issue2771>
___
___
Python-bugs-list
Ezio Melotti added the comment:
+1
--
___
Python tracker
<http://bugs.python.org/issue2931>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Ezio Melotti added the comment:
It's a documentation bug, with_traceback is available in 3.x only.
I now fixed the doc for 2.7, thanks for the report!
--
assignee: docs@python -> ezio.melotti
nosy: +ezio.melotti
resolution: -> fixed
stage: -> committed/rejected
status:
Ezio Melotti added the comment:
I took a look to what other languages do, and it turned out that:
perl escapes [^A-Za-z_0-9] [0];
.net escapes the metachars and whitespace [1];
java escapes the metachars or escape sequences [2];
ruby escapes the metachars [3];
It might be OK to exclude _ from
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11488>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Ezio Melotti :
--
assignee: -> ezio.melotti
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11498>
___
___
Python-bugs-list mai
Changes by Ezio Melotti :
--
nosy: +benjamin.peterson
title: reassignment to bool is left in the file -> 2to3: reassignment to bool
is left in the file
___
Python tracker
<http://bugs.python.org/issu
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11501>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
I fixed it in 3.2 too in d2689ed3dc83.
Thanks for the patch!
--
resolution: fixed ->
stage: committed/rejected ->
status: closed -> open
___
Python tracker
<http://bugs.python.or
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
type: crash -> behavior
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11506>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
Apparently there's no way to change the text generated by the "class"
directive, so it's not possible to use it in the table without having the
"class" before the names.
The alternatives are:
1) define these classes normally in
Ezio Melotti added the comment:
re.escape and its tests can be refactored in 2.7/3.1, the '_' can be added to
the list of chars that are not escaped in 3.3.
I'll put together a patch and fix this unless someone thinks that the '_'
should be escaped in 3.3
Changes by Ezio Melotti :
--
nosy: +ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11514>
___
___
Python-bugs-list mailing list
Unsubscribe:
Ezio Melotti added the comment:
If you can easily make a single patch out of all the issues, please do it and
submit it here, otherwise I'll apply all the patches and make a single commit.
--
nosy: +ezio.melotti
___
Python tracker
Changes by Ezio Melotti :
--
assignee: -> ezio.melotti
___
Python tracker
<http://bugs.python.org/issue11515>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Ezio Melotti :
--
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python.org/issue11547>
___
___
Python-bugs-list mailing list
Un
Changes by Ezio Melotti :
--
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python.org/issue11514>
___
___
Python-bugs-list mailing list
Un
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by Ezio Melotti :
--
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python.org/issue11536>
___
___
Python-bugs-list mailing list
Un
Changes by Ezio Melotti :
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
superseder: -> Misspelled actually
___
Python tracker
<http://bugs.python
901 - 1000 of 5818 matches
Mail list logo