[issue17428] replace readdir to readdir_r in function posix_listdir

2013-03-15 Thread Ross Lagerwall
Ross Lagerwall added the comment: Hi, There shouldn't be a problem with the existing implementation since, according to posix: """ The pointer returned by readdir() points to data which may be overwritten by another call to readdir() on the same directory stream. This data

[issue17428] replace readdir to readdir_r in function posix_listdir

2013-03-15 Thread Ross Lagerwall
Ross Lagerwall added the comment: That text was from the POSIX 2008 spec: http://pubs.opengroup.org/onlinepubs/9699919799/functions/readdir.html The following text from my copy of the readdir manpage gives an indication of how you *should* allocate struct dirent when using readdir_r: "&qu

[issue17495] email.quoprimime.body_encode can't handle characters that encodings.quopri_codec can

2013-03-20 Thread Ross Patterson
New submission from Ross Patterson: When using email.charset.Charset to encode MIME bodie as quoted-printable, some characters that are encodable with the quopri_codec cause a KeyError in email.quoprimime: Python 3.3.0 (default, Oct 7 2012, 14:43:21) [GCC 4.6.3] on linux Type "

[issue17495] email.quoprimime.body_encode can't handle characters that encodings.quopri_codec can

2013-03-20 Thread Ross Patterson
Ross Patterson added the comment: What is the reason that email.quoprimime doesn't use codecs.getencoder('quopri_codec') to do the actual character encoding? -- ___ Python tracker <http://bugs.pyt

[issue17495] email.quoprimime.body_encode can't handle characters that encodings.quopri_codec can

2013-03-20 Thread Ross Patterson
Ross Patterson added the comment: I thought I had tested it under 2.7, but I'm not entirely sure. -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker <http://bugs.python.org/is

[issue17495] email.quoprimime.body_encode can't handle characters that encodings.quopri_codec can

2013-03-20 Thread Ross Patterson
Changes by Ross Patterson : -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/issue17495> ___ ___ Python-bugs-

[issue17552] socket.sendfile()

2013-03-27 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker <http://bugs.python.org/issue17552> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23070] Error in Tutorial comment

2014-12-16 Thread Ross Burnett
New submission from Ross Burnett: In section "3.1.2. Strings" of the Tutorial (version 3.4 plus others?), a comment on a slicing error has an error: "word[42] # the word only has 7 characters" It should say "word[42] # the word has 6 characters" -- as

<    1   2   3   4   5