[issue32216] Document PEP 557 Data Classes (dataclasses module)

2018-04-02 Thread Lino Mastrodomenico
Lino Mastrodomenico added the comment: Friendly ping, there's still no documentation for this wonderful new module and there's only one planned beta left for 3.7 before the release candidates. Needless to say, https://www.python.org/dev/peps/pep-0557/ has lots of information that

[issue4733] Add a "decode to declared encoding" version of urlopen to urllib

2012-09-26 Thread Lino Mastrodomenico
Lino Mastrodomenico added the comment: FYI, the exact algorithm for determining the encoding of HTML documents is http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#determining-the-character-encoding There are lots of different algorithms documented all over the

[issue1712522] urllib.quote throws exception on Unicode URL

2010-04-26 Thread Lino Mastrodomenico
Changes by Lino Mastrodomenico : -- nosy: +mastrodomenico ___ Python tracker <http://bugs.python.org/issue1712522> ___ ___ Python-bugs-list mailing list Unsub

[issue8464] tarfile creates tarballs with execute permissions set

2010-04-19 Thread Lino Mastrodomenico
Lino Mastrodomenico added the comment: I think 0666 is correct because os.open() does a bitwise AND between this value and the bitwise inversion of the umask, something like oct(0666 & ~umask). Since the umask is usually 022 octal (18 decimal), the actual permission on disk should be 064

[issue8464] tarfile creates tarballs with execute permissions set

2010-04-19 Thread Lino Mastrodomenico
New submission from Lino Mastrodomenico : tarfile.open(filename, "w|") creates a tar file with execute permissions set, if filename doesn't exist (i.e. it uses mode 0777 minus the umask). It should instead use mode 0666 minus the umask, which is what happens when using mode &qu

[issue8463] shutil.make_archive() supports bz2, but it's not documented

2010-04-19 Thread Lino Mastrodomenico
New submission from Lino Mastrodomenico : The new function shutil.make_archive() supports bzip2 compression using "bztar" as format parameter, but neither the documentation nor the docstring mention it (all the other compression formats are correctly listed). -- assignee: ge

[issue4733] Add a "decode to declared encoding" version of urlopen to urllib

2010-01-27 Thread Lino Mastrodomenico
Changes by Lino Mastrodomenico : -- nosy: +mastrodomenico ___ Python tracker <http://bugs.python.org/issue4733> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1599329] urllib(2) should allow automatic decoding by charset

2010-01-27 Thread Lino Mastrodomenico
Changes by Lino Mastrodomenico : -- nosy: +mastrodomenico ___ Python tracker <http://bugs.python.org/issue1599329> ___ ___ Python-bugs-list mailing list Unsub

[issue1875] "if 0: return" not raising SyntaxError

2009-08-23 Thread Lino Mastrodomenico
Changes by Lino Mastrodomenico : -- nosy: +mastrodomenico ___ Python tracker <http://bugs.python.org/issue1875> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3297] Python interpreter uses Unicode surrogate pairs only before the pyc is created

2009-04-28 Thread Lino Mastrodomenico
Changes by Lino Mastrodomenico : -- nosy: +l.mastrodomenico ___ Python tracker <http://bugs.python.org/issue3297> ___ ___ Python-bugs-list mailing list Unsub

[issue4634] 2to3 should fix "import HTMLParser"

2008-12-11 Thread Lino Mastrodomenico
New submission from Lino Mastrodomenico <[EMAIL PROTECTED]>: This should be easy: 2to3 must convert "import HTMLParser" to "import html.parser". -- components: 2to3 (2.x to 3.0 conversion tool) messages: 77618 nosy: mastrodomenico severity: normal status: o