[issue11534] Misspelled architecture, control

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11533] Misspelled arbitrary

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11532] Misspelled arbitrary 2

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11531] Misspelled applications

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11530] Misspelled application

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11529] Misspelled application 2

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11528] Misspelled anonymously

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11527] Misspelled ambiguous

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11526] Misspelled along

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11525] Misspelled alignment

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11524] Misspelled alignment 6

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11523] Misspelled alignment 5

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11522] Misspelled alignment 4

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11521] Misspelled alignment3

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11520] Misspelled alignment 2

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11519] Misspelled algorithm

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11518] Misspelled algorithm 2

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11517] Misspelled aforementioned

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11516] Misspelled additionally

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Misspelled actually ___ Python tracker <http://bugs.python

[issue11515] Misspelled actually

2011-03-15 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11507] Misspelled exercises

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- superseder: -> Misspelled actually ___ Python tracker <http://bugs.python.org/issue11507> ___ ___ Python-bugs-list mailing list Un

[issue11507] Misspelled exercises

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11565] Another (the last) group of misspellings

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker <http://bugs.python.org/issue11565> ___ ___ Python-bugs-list mailing list Unsubscri

[issue5846] Deprecate obsolete functions in unittest

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> needs patch versions: +Python 3.3 -Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/issue5846> ___ _

[issue2578] additional unittest type equality methods

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue2578> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2249] To document "assertTrue" in unittest

2011-03-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue2249> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11565] Another (the last) group of misspellings

2011-03-16 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed in all the four branches, thanks for the patch! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue10535] Enable warnings by default in unittest

2011-03-16 Thread Ezio Melotti
Ezio Melotti added the comment: Brian's patch is not yet applied afaik, but I couldn't see the warnings here, so it might be something specific to Windows. Brian, can you confirm if you still see the problem? Changing the warning type (to UnittestWarning) and the error message can

[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input

2011-03-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue10242> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11567] http.server error message format

2011-03-17 Thread Ezio Melotti
Ezio Melotti added the comment: This is just nitpicking, but serving XHTML as text/html is wrong. Also XHTML is not necessary here, so I would just use an HTML 4.01 strict doctype (and remove the xmlns). -- nosy: +ezio.melotti ___ Python tracker

[issue11567] http.server error message format

2011-03-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.araujo ___ Python tracker <http://bugs.python.org/issue11567> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11282] 3.3 unittest document not kept consist with code

2011-03-19 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: michael.foord -> ezio.melotti ___ Python tracker <http://bugs.python.org/issue11282> ___ ___ Python-bugs-list mai

[issue10617] Collections ABCs can’t be linked to

2011-03-20 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch that adds the list of classes with a minimal description before the table. I grouped a few classes to save some space. Container, Hashable, Sized, Callable could be grouped too. I also added links to the methods and to glossary terms (the

[issue10617] Collections ABCs can’t be linked to

2011-03-21 Thread Ezio Melotti
Ezio Melotti added the comment: I put the list first and table second because the table contains more details and information, whereas the list only has a short description (usually the tables provide an overview and they are followed by a more comprehensive list). I didn't includ

[issue2292] Missing *-unpacking generalizations

2011-03-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue2292> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11643] Use |version| instead of X.Y in the doc

2011-03-22 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11643> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11650] CTRL-Z causes interpreter exit

2011-03-23 Thread Ezio Melotti
Ezio Melotti added the comment: On linux it looks the same for me, but when I press enter the prompt appears again: $ ./python Python 3.3a0 (default:f8d6f6797909, Mar 20 2011, 05:55:16) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "li

[issue2771] Test issue

2011-03-23 Thread Ezio Melotti
Ezio Melotti added the comment: testing nosy -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailin

[issue2771] Test issue

2011-03-23 Thread Ezio Melotti
Ezio Melotti added the comment: testing again -- ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2011-03-23 Thread Ezio Melotti
Ezio Melotti added the comment: testing nosy -- ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2771] Test issue

2011-03-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> r.david.murray nosy: +r.david.murray ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-lis

[issue2771] Test issue

2011-03-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -ezio.melotti, georg.brandl ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsub

[issue2771] Test issue

2011-03-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +georg.brandl -pitrou priority: -> release blocker versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/iss

[issue2771] Test issue

2011-03-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: r.david.murray -> nosy: +ezio.melotti -georg.brandl, python-dev, r.david.murray priority: release blocker -> ___ Python tracker <http://bugs.python.org/

[issue11665] Regexp findall freezes

2011-03-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, mrabarnett ___ Python tracker <http://bugs.python.org/issue11665> ___ ___ Python-bugs-list mailing list Unsub

[issue2650] re.escape should not escape underscore

2011-03-25 Thread Ezio Melotti
Ezio Melotti added the comment: I did a few more tests and using a re.sub seems indeed slower (the implementation is just 4 lines though, and it's more readable): wolf@hp:~/dev/py/3.1$ ./python -m timeit -s 'import re,string; escape_pattern = re.compile("(

[issue2650] re.escape should not escape underscore

2011-03-25 Thread Ezio Melotti
Ezio Melotti added the comment: The attached patch (issue2650.diff) adds '_' to the list of chars that are not escaped. -- keywords: +patch Added file: http://bugs.python.org/file21390/issue2650.diff ___ Python tracker <http://bu

[issue10617] Collections ABCs can’t be linked to

2011-03-25 Thread Ezio Melotti
Ezio Melotti added the comment: I put the list under the table and grouped a few more ABCs. If this patch is OK I'll commit it. -- Added file: http://bugs.python.org/file21394/issue10617-2.diff ___ Python tracker <http://bugs.python.org/is

[issue10617] Collections ABCs can’t be linked to

2011-03-25 Thread Ezio Melotti
Changes by Ezio Melotti : Added file: http://bugs.python.org/file21395/10617-2.png ___ Python tracker <http://bugs.python.org/issue10617> ___ ___ Python-bugs-list mailin

[issue11614] import __hello__ is broken in Python 3

2011-03-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11614> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti : Removed file: http://bugs.python.org/file21381/unnamed ___ Python tracker <http://bugs.python.org/issue10966> ___ ___ Python-bugs-list mailin

[issue10966] eliminate use of ImportError implicitly representing SkipTest

2011-03-26 Thread Ezio Melotti
Ezio Melotti added the comment: IMHO the current "unexpected" list is fairly pointless. I just ran the test suite on 3.3 and I got the usual expected list of unexpected skips: 7 skips unexpected on linux2: test_bz2 test_dbm_gnu test_dbm_ndbm test_tcl test_tk test_t

[issue7311] Bug on regexp of HTMLParser

2011-03-26 Thread Ezio Melotti
Ezio Melotti added the comment: The attached patch changes the regex to allow non-ascii letters in attribute values (using \w with the re.UNICODE flag instead of [a-zA-Z0-9_]). Using [^>\s] (or even [^> ]) might be OK too, since that's what browsers seem to use (e.g. Firefox and

[issue10665] Expand unicodedata module documentation

2011-03-26 Thread Ezio Melotti
Ezio Melotti added the comment: FWIW latin-1 chars are fine (e.g. ¶ or è). The right command to build the pdfs is `make latex` and then `make all-pdf` in build/latex/. Alexander, now you could also make a remote hg repo, and use it to generate up-to-date patches that can be reviewed

[issue11683] unittest discover should recurse into packages which are already in sys.path

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, michael.foord ___ Python tracker <http://bugs.python.org/issue11683> ___ ___ Python-bugs-list mailing list Unsub

[issue11681] -b option undocumented

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11681> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11649] startElementNS in xml.sax.saxutils.XMLGenerator ignored encoding

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11649> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9056] Adding additional level of bookmarks and section numbers in python pdf documents.

2011-03-26 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue9056> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7311] Bug on regexp of HTMLParser

2011-03-27 Thread Ezio Melotti
Ezio Melotti added the comment: The HTML 4.01 specifications says[0]: """ In certain cases, authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods

[issue10617] Collections ABCs can’t be linked to

2011-03-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue11713] collections.deque docstring wrong/misleading

2011-03-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11713> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11155> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11155] multiprocessing.Queue's put() signature differs from docs

2011-03-30 Thread Ezio Melotti
Ezio Melotti added the comment: Technically this is a backward-incompatible change, because it breaks code that uses obj=foo explicitly. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11737] and is not a logical conjugation

2011-04-01 Thread Ezio Melotti
Ezio Melotti added the comment: The doc[0] says: """ x and y: if x is false, then x, else y """ Boolean operators in Python always return one of the two values (rather than True/False), and they are also short-circuit operators, so: * if x is false, the whole

[issue11690] Devguide: Add "communication" FAQ

2011-04-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11690> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11710] Landing pages in docs for standard library packages

2011-04-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11710> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11739] Python doesn't have a 2011 april fools joke

2011-04-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +eric.araujo ___ Python tracker <http://bugs.python.org/issue11739> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11741] shutil2.copy fails with destination filenames

2011-04-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Library (Lib) -Extension Modules nosy: +ezio.melotti stage: -> test needed type: -> behavior ___ Python tracker <http://bugs.python.org/i

[issue11741] shutil2.copy fails with destination filenames

2011-04-02 Thread Ezio Melotti
Ezio Melotti added the comment: The problem here is that you are mixing byte strings and unicode. glob.glob('*.ods') returns a list of strings, so in shutil.copy2(file, 'א') you are passing two byte strings and everything works fine. In shutil.copy2(file, u'א')

[issue11741] shutil2.copy fails with destination filenames

2011-04-02 Thread Ezio Melotti
Ezio Melotti added the comment: I should have added that both 'א' and u'א' work as long as the file names in the list returned by glob() are ASCII: if u'א' is used they are simply coerced to unicode. If there are non-ASCII file names in the glob() list, the copy

[issue11741] shutil2.copy fails with destination filenames

2011-04-02 Thread Ezio Melotti
Ezio Melotti added the comment: The ASCII filename is already converted to unicode, but in your case the program was most likely failing with some non-ASCII filename. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11741] shutil2.copy fails with destination filenames

2011-04-02 Thread Ezio Melotti
Ezio Melotti added the comment: Mixing byte and unicode strings should always be avoided, because the implicit coercion to unicode works only if the byte strings contains only ASCII, and fails otherwise. Several modules -- including shutil, glob, and os.path -- have API that work with both

[issue11282] 3.3 unittest document not kept consist with code

2011-04-02 Thread Ezio Melotti
Ezio Melotti added the comment: Guido decided to leave the fail* methods and assertDictContainsSubset in 3.3 (and possibly even in the following versions), so that people moving from 2.7 to 3.3 don't have to change their code because these methods are missing. Since assertSameElements i

[issue10712] 2to3 fixer for deprecated unittest method names

2011-04-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker <http://bugs.python.org/issue10712> ___ ___ Python-bugs-list mailing list Unsubscri

[issue11744] re.LOCALE doesn't reflect locale.setlocale(...)

2011-04-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, mrabarnett ___ Python tracker <http://bugs.python.org/issue11744> ___ ___ Python-bugs-list mailing list Unsub

[issue11745] idlelib/PyShell.py: incorrect module name reported in error message: Tkinter should be tkinter

2011-04-02 Thread Ezio Melotti
Ezio Melotti added the comment: I think in this case "Tkinter" refers to the "Tkinter" library, rather than the "tkinter" module. -- nosy: +ezio.melotti type: behavior -> ___ Python tracker &

[issue11745] idlelib/PyShell.py: incorrect module name reported in error message: Tkinter should be tkinter

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: I'm going to reject this, thanks anyway for the patch! -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.pyth

[issue10712] 2to3 fixer for deprecated unittest method names

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: Should this still go to the sandbox? and if so, what is the right sandbox? -- ___ Python tracker <http://bugs.python.org/issue10

[issue2650] re.escape should not escape underscore

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: Georg, do you think a versionchanged note should be added for this? The change is minor and the patch updates the documentation to reflect the change. -- ___ Python tracker <http://bugs.python.org/issue2

[issue9424] Deprecate assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: The fail* methods and assertDictContainsSubset will be in 3.3 too, see #11282. There is no version planned for their removal yet. assertSameElements is gone from 3.3. -- ___ Python tracker <http://bugs.python.

[issue7311] Bug on regexp of HTMLParser

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker <http://bugs.python.org/issue7311> ___ ___ Python-bugs-list mailing list Unsubscri

[issue2771] Test issue

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: Testing -- ___ Python tracker <http://bugs.python.org/issue2771> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11282] 3.3 unittest document not kept consist with code

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue7311] Bug on regexp of HTMLParser

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch that matches unquoted attribute values according to the HTML5 specifications. The regex uses \s even if this includes the \v char that, according to the HTML5 specs, shouldn't be included. I left it there for simplicity and

[issue11752] Gungor Basa wants to stay in touch on LinkedIn

2011-04-03 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -gungorbasa resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.or

[issue1104] msilib.SummaryInfo.GetProperty() truncates the string by one character

2011-04-03 Thread Ezio Melotti
Ezio Melotti added the comment: +path, msilib.schema, "Ptyhon Tests", "product_code", "1.0", "PSF") s/Ptyhon/Python/ -- nosy: +ezio.melotti stage: test needed -> patch review ___ Python

[issue9815] assertRaises as a context manager keeps tracebacks and frames alive

2011-04-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue9815> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11759] assert for exception parameters

2011-04-04 Thread Ezio Melotti
Ezio Melotti added the comment: See also #6275. -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11759> ___ ___ Python-bugs-list mailin

[issue11759] assert for exception parameters

2011-04-04 Thread Ezio Melotti
Ezio Melotti added the comment: That was a design decision made by Guido (iirc), and even if it might seem not obvious at first, it's probably just because not everyone is Dutch. Many people would probably vote on sequence.join(sep) too, but it's unlikely that another way to do

[issue11763] assertEqual memory issues with large text inputs

2011-04-04 Thread Ezio Melotti
Ezio Melotti added the comment: Attached patch adds a _diffThreshold attribute of 2**16 and uses _baseAssertEqual whenever one of the two string is longer than 2**16 chars. -- keywords: +patch Added file: http://bugs.python.org/file21535/issue11763.diff

[issue11763] assertEqual memory issues with large text inputs

2011-04-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: michael.foord -> ezio.melotti components: +Library (Lib) nosy: +rhettinger stage: -> patch review type: -> behavior Added file: http://bugs.python.org/file21536/issue11763-2.diff ___ Python track

[issue11773] Unicode compared using "is" results in abnormal behavior

2011-04-05 Thread Ezio Melotti
Ezio Melotti added the comment: The fact that "is" works in this way here is just an implementation detail. If you want to compare strings use ==, "is" is used to verify if two variables refer to the same object or not. >>> x = 100 >>> x is 100

[issue11774] Issue tracker sends notification mails twice...

2011-04-05 Thread Ezio Melotti
Ezio Melotti added the comment: Your name appears twice in the nosy list. -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue11774> ___ ___

[issue2193] Cookie Colon Name Bug

2011-04-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: -carsten.klein ___ Python tracker <http://bugs.python.org/issue2193> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11774] Issue tracker sends notification mails twice...

2011-04-05 Thread Ezio Melotti
Ezio Melotti added the comment: Maybe you changed your id or registered a new one? I removed the duplicate one from #2193, if I got the wrong one feel free to fix it as you prefer. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11774] Issue tracker sends notification mails twice...

2011-04-05 Thread Ezio Melotti
Ezio Melotti added the comment: Yes, that sounds like a bug. -- ___ Python tracker <http://bugs.python.org/issue11774> ___ ___ Python-bugs-list mailing list Unsub

[issue6191] HTMLParser attribute parsing - 2 test cases when it fails

2011-04-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- versions: +Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker <http://bugs.python.org/issue6191> ___ ___ Python-bugs-list mailin

[issue7311] Bug on regexp of HTMLParser

2011-04-05 Thread Ezio Melotti
Ezio Melotti added the comment: With 3.2 the situation is more complicated because there is a strict and a non-strict mode. The strict mode uses: attrfind = re.compile( r'\s*([a-zA-Z_][-.:a-zA-Z_0-9]*)(\s*=\s*' r'(\'[^\']*\'|"[^"]*"|[-a

[issue11775] `bool(Counter({'a': 0})) is True`

2011-04-05 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, rhettinger stage: -> test needed type: -> behavior ___ Python tracker <http://bugs.python.org/i

[issue7311] Bug on regexp of HTMLParser

2011-04-05 Thread Ezio Melotti
Ezio Melotti added the comment: I don't see many use cases for the strict mode. It is not strict enough to be used for validation, and while parsing HTML I can't think of any other case where I would want an exception raised (always as long as what is parsed by the tolerant

<    6   7   8   9   10   11   12   13   14   15   >