New submission from Ralph Corderoy:
Class mailbox.MMDF supports the MMDF-mail-spool file format. This is a file
with zero or more records, each starts and ends with a line of four ASCII SOHs.
Within those two lines is an email in RFC 5532 format, i.e. a headers section
followed by an
New submission from Ralph Corderoy:
https://docs.python.org/3/reference/lexical_analysis.html#identifiers has a
grammar.
identifier ::= xid_start xid_continue*
id_start ::=
id_continue ::=
xid_start::=
xid_continue ::=
I struggle to make sense of it
Ralph Corderoy added the comment:
This most certainly is a bug under Unix and an annoying one. "Since the
issue is with platform's stdio library" is wrong; stdio is being used
incorrectly. It would be nice to see it fixed in the 2.x line.
I've two test programs.
New submission from Ralph Corderoy :
I tried to reply to the email I was sent when eric.araujo added a comment to
#10713. The email I sent was plain text but wasn't a MIME email. It was
rejected, "Failed issue tracker submission", "Roundup requires the submission
t
Ralph Corderoy added the comment:
Examining the source of Ubuntu's python2.6 2.6.6-5ubuntu1 package
suggests beyond the limits of the string is considered \W, like Perl.
Modules/_sre.c:
336 LOCAL(int)
337 SRE_AT(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at)
New submission from Ralph Corderoy :
The re module defines \b in a regexp to need \w one side and \W the other.
What about when the end of the string or line is involved? perlre(1) says
that's treated as a \W. Python should precisely document that case too.
--
assignee: d...@p
New submission from Ralph Corderoy :
floats now have an is_integer() method. I think it was added in 2.6 around the
same time as as_integer_ratio(). It has a docstring but it isn't mentioned in
the documentation. I only idled across it when reading the C source. I'd
expect to fi
Ralph Corderoy added the comment:
fileLineIter() is not a solution that allows this bug to be closed, no.
readline() needs modifying and if that means python-dev discussion then
that's what it needs. Things to consider include changing the record
separator as the file is read.
$ prin
Ralph Corderoy added the comment:
Google has led me here because I'm trying to see how to process find(1)'s
-print0 output with Python. Perl's -0 option and $/ variable makes this
trivial.
find -name '*.orig' -print0 | perl -n0e unlink
awk(1) has its RS, recor
New submission from Ralph Corderoy :
A friend wrote "exit(0)" in a script without an import of sys. I
pointed out the error and he said "But it works". He was right.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubu
Ralph Corderoy added the comment:
Does that mean it's policy not to correct documentation for non-latest
versions? Fair enough. But perhaps
http://www.python.org/doc/2.5.2/lib/about.html should be changed to
reflect that, and likewise on other non-latest versions, e.g. "If the
pro
New submission from Ralph Corderoy :
http://www.python.org/doc/2.5.2/lib/module-curses.html links to
http://docs.python.org/dev/howto/index.htmlcurses/curses.html as "Curses
Programming with Python" but it's 404 Not Found.
It may be that this link is broken in other Python ver
Changes by Ralph Corderoy :
___
Python tracker
<http://bugs.python.org/issue4753>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/o
Ralph Corderoy added the comment:
Regarding compressing the opcode table to make better use of cache;
what if the most frequently occurring opcodes where placed together,
e.g. the opcodes were ordered by frequency, most frequent first. Just
based on a one-off static analysis of a body of code
Ralph Corderoy <[EMAIL PROTECTED]> added the comment:
The patchcheck target isn't in .PHONY at the end of the file.
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.
Changes by Ralph Corderoy <[EMAIL PROTECTED]>:
--
nosy: +ralph.corderoy
___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3845>
___
__
New submission from Ralph Corderoy <[EMAIL PROTECTED]>:
A new target, "check", has been added to Makefile for 2.6. It runs some
tests on the source code that are intended to check there's nothing
wrong before preparing a patch.
http://svn.python.org/view/python/trunk/Make
17 matches
Mail list logo