R. David Murray added the comment:
Perhaps your problem with test_mailbox is that you are running the test_mailbox
from a checkout, but using an installed python3 that is not RC2, rather than
the python3 built from the checkout?
--
___
Python
R. David Murray added the comment:
Again, can you provide example input data and a short program that demonstrates
the problem? There's nothing I can reproduce in your report/question.
As far as I noticed, the caught exceptions all occur at places where no output
has yet been done t
Changes by R. David Murray :
--
components: +Library (Lib) -None
nosy: +asksol, jnoller
type: crash -> behavior
___
Python tracker
<http://bugs.python.org/issu
R. David Murray added the comment:
If you do 'python -c "import uuid" under strace, _posixsubprocess is definitely
loaded, and a pipe2 call is made.
Take a look at the code starting at (py3k trunk) line 418 (try:). That's where
the weird stuff happens, which is what the
R. David Murray added the comment:
Thanks, much easier to communicate when runnable code is involved :) Now I can
see what you mean about it writing the From. I will figure out why and fix it
so that the From line is not written.
The traceback from email.generator is unfortunate. I should
R. David Murray added the comment:
Well, it's not really a duplicate, but rather invalid, since the 2.7 behavior
is more correct than the 2.6 behavior. Not that it matters all that much what
particular resolution is attached to a bug.
Arve: It is unfortunate that the bug fix in issue
R. David Murray added the comment:
The point is that subprocess (now!) is *not* interpreting the arguments when
shell is false. It is passing them through to Windows. What windows does with
them after that is out of the control of subprocess (and always has been
R. David Murray added the comment:
As noted in issue 8972, it's not clear what such a mode should actually do. If
you have a concrete proposal you could make it, probably on the python-ideas
mailing list. But I'm personally not in favor of it; I prefer maintaining as
much API c
R. David Murray added the comment:
There is a link 'report tracker problem' at the bottom of the left hand column.
Unfortunately you have to create an account there to submit an issue :(
--
nosy: +r.david.murray
resolution: -> invalid
stage: -> committed/rejec
R. David Murray added the comment:
Yes, having a cmd.exe 'quote' function, parallel to the shutil 'quote'
function, would be an excellent addition to the stdlib. You could open a
feature request for that.
--
___
P
R. David Murray added the comment:
This is a topic more suited to python-ideas. It isn't likely to get much
traction there, but you can try :)
--
nosy: +r.david.murray
resolution: -> rejected
stage: -> committed/rejected
status: ope
R. David Murray added the comment:
easy_install is not part of python. Please report this to the easy_install bug
tracker instead.
--
nosy: +r.david.murray, tarek
resolution: -> later
stage: -> committed/rejected
status: open -&g
R. David Murray added the comment:
Xuanji: yes, your test_ignores_stuff_appended_past_comments is exactly what I
was asking for. I've put this patch on my review list, but I may not get to it
until after 3.2 final.
--
___
Python tracker
R. David Murray added the comment:
This appears to be a duplicate of issue 9298. Yves, if you disagree let me
know what's different.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
type: -> behavior
vers
R. David Murray added the comment:
See also duplicate issue 11156.
--
nosy: +y...@zioup.com
___
Python tracker
<http://bugs.python.org/issue9298>
___
___
Pytho
Changes by R. David Murray :
--
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue9298>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
superseder: -> binary email attachment issue with base64 encoding
___
Python tracker
<http://bugs.python.org/issue11156>
___
_
R. David Murray added the comment:
Yes, when I said "new version", I meant "new major version", as in email6. I
have plans for this, but I'm waiting until after the release of 3.2 to make a
presentation about it to the email-sig.
--
versions
R. David Murray added the comment:
This looks like a duplicate of issue 10973.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite
character typ
R. David Murray added the comment:
Upon reflection I don't think my suggested email API change is a good one.
Currently it is possible to create a Message using non-ASCII headers and
manipulate that message. The fact that you can't serialize that message is,
really, a bug: one
R. David Murray added the comment:
Here is the promised patch, with tests. For once writing the patch was harder
than writing the tests, but only just :)
I'm not sure all the 100% sure the cleanups will work on all systems (I'm
looking at you, Windows), but since any problems wil
Changes by R. David Murray :
--
nosy: +rhettinger
___
Python tracker
<http://bugs.python.org/issue11180>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
The finally was doing a _sync_close, which flushes the tmp file and closes it.
The except Exception is checking if any non-BaseException error occurs,
*removing* the tmp file, and re-raising the exception. There's nothing to
flush/close in that
R. David Murray added the comment:
Duh. After writing all that you'd think I'd have seen my mistake. That's what
reviews are for. So I guess it should be BaseException, since the most likely
one is keyboard interrupt and this would prevent a corrupted mailbo
R. David Murray added the comment:
Yves: thanks for the patches. If you feel like redoing the test one as a patch
against Lib/email/test/test_email.py, that would be great. I'd suggest having
the test just split the lines and do
assertLessEqual(max([len(x) for x in lines]), 76
R. David Murray added the comment:
Revised patch using BaseException.
--
Added file: http://bugs.python.org/file20746/mailbox_cleanup2.patch
___
Python tracker
<http://bugs.python.org/issue11
R. David Murray added the comment:
Woops. Thanks for catching that. Will fix before commit.
--
___
Python tracker
<http://bugs.python.org/issue6>
___
___
R. David Murray added the comment:
Well, under the (C) hood, it is in fact the same method, it just takes a
variable number of arguments (and ignores them, in the __exit__ case). The
fact that the arguments are rejected in the 'release' case is because of how
the C function is de
R. David Murray added the comment:
Making the tests pass on Jython is certainly worthwhile, if anyone wants to do
it. At a quick glance it looks like the optparse tests just need to be updated
and made a bit more lenient. Since Jython is lagging CPython by so much a fix
isn't going to
Changes by R. David Murray :
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue11195>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Yeah, sometimes you just have to read the source.
Previous to Python3.2, RLock was implemented in Python, and the two methods are
actually different methods there. In Python3.2, rlock.release ==
rlock.__exit__ is True.
--
resolution: -> inva
R. David Murray added the comment:
Committed in r88403.
--
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
R. David Murray added the comment:
Decided to backport the fix to 2.7, even though the tests won't backport.
r88406.
--
___
Python tracker
<http://bugs.python.org/is
Changes by R. David Murray :
--
nosy: +mrabarnett
___
Python tracker
<http://bugs.python.org/issue11198>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
R. David Murray added the comment:
Looks good to me.
I wonder if the existing example should be moved up above the description of
the chmod flags, though. This update puts it even farther away from the
functions it is an example of
R. David Murray added the comment:
Interesting. I would actually have expected the observed behavior. I think of
the : in a dictionary literal as an assignment.
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue11
Changes by R. David Murray :
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue670664>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
nosy: +rhettinger
___
Python tracker
<http://bugs.python.org/issue11208>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Well, the docs don't say that the headers will be removed or modified as
needed, only added as needed ;/. And in fact the set_charset code does "if
'Content-Transfer-Encoding' not in self". set_payload also says it is the
c
R. David Murray added the comment:
Discussion should be moved to #10968, please.
--
___
Python tracker
<http://bugs.python.org/issue5831>
___
___
Python-bug
R. David Murray added the comment:
This patch needs a Doc component.
Having finally taken a quick look at the RFC (I haven't read it through yet), I
think this does belong in email and not http. The RFC makes it clear that
while the most common implementation is http, it is designed
R. David Murray added the comment:
In principle I think something like this should go in. Since it is a Message
subclass, I'd like it to follow the current Message API whether or not it is
located in the email package. __str__ and as_string have the right default for
line lengt
R. David Murray added the comment:
Here is a proofread diff. I did make one substantive change: I added a comment
about the test suite not running with the default maxdata and not raising
memory errors with 512MB. Is that correct?
--
nosy: +r.david.murray
Added file: http
R. David Murray added the comment:
oops.
--
___
Python tracker
<http://bugs.python.org/issue11212>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
Removed file: http://bugs.python.org/file20776/aix-notes.patch
___
Python tracker
<http://bugs.python.org/issue11212>
___
___
Python-bug
R. David Murray added the comment:
Here is a proofread diff. I did make one substantive change: I added a comment
about the test suite not running with the default maxdata and not raising
memory errors with 512MB. Is that correct?
--
nosy: +r.david.murray
Changes by R. David Murray :
--
keywords: +patch
Added file: http://bugs.python.org/file20777/aix-notes.patch
___
Python tracker
<http://bugs.python.org/issue10
R. David Murray added the comment:
I like the footnote idea.
I wonder if it would also be worth marking which functions are Posix
(Availability: posix) and therefore likely to be available on all unix systems.
--
nosy: +r.david.murray
___
Python
R. David Murray added the comment:
Good point :(
--
___
Python tracker
<http://bugs.python.org/issue11233>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
nosy: +benjamin.peterson
___
Python tracker
<http://bugs.python.org/issue11236>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
title: cmd.py always uses raw_input, even when another stdin is specified ->
can cmd.py's API/docs for the use of an alternate stdin be improved?
___
Python tracker
<http://bugs.python.or
Changes by R. David Murray :
--
versions: +Python 3.3 -Python 3.2
___
Python tracker
<http://bugs.python.org/issue2571>
___
___
Python-bugs-list mailing list
Unsub
R. David Murray added the comment:
Thanks for the report. I probably won't have time to look at this for a bit.
--
assignee: -> r.david.murray
stage: -> patch review
title: email/message.py str conversion [patch] -> email/message.py str
conversion
version
R. David Murray added the comment:
I wonder if this has anything to do with issue 9011?
--
nosy: +mark.dickinson, r.david.murray
___
Python tracker
<http://bugs.python.org/issue11
R. David Murray added the comment:
Yes, but when you jump directly to one of the functions, you don't see that
bullet list. Whereas if it were a footnote on the 'avaiability: unix"
statement, the natural thing would be to follow the footnote and thus learn the
limitations on
R. David Murray added the comment:
Well, it's not a crash, a crash is when the interpreter segfaults.
I'm not clear on why you are having problems, actually, since if you treat the
messages as binary (which they are), then you shouldn't be getting Headers
introduced into the m
R. David Murray added the comment:
Ah, I think I see what is going on. If I'm right, then you are right, this is
a serious problem for actually processing spam emails using email 5.1.
Unfortunately it's too late to do anything for 3.2.0. But email 5.1 is still
worlds better a
R. David Murray added the comment:
Thanks for taking an interest in this and working up a patch. Unfortunately I
do have some concerns.
As far as I know the only module that currently uses argparse is compileall,
which was only changed recently.
Do tests currently exist for smtpd run as a
Changes by R. David Murray :
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue11269>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
nosy: +vinay.sajip
___
Python tracker
<http://bugs.python.org/issue11270>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
While your idea has merit, we can only add a parameter in a new version (not in
a bug-fix release), so the doc fix is all we can do before 3.3.
--
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6
Changes by R. David Murray :
--
priority: normal -> high
___
Python tracker
<http://bugs.python.org/issue11243>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by R. David Murray :
--
resolution: wont fix -> invalid
stage: -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue11251>
___
___
R. David Murray added the comment:
Discussion of the new API, and what changes will be made for 3.3, will take
place on the email-sig mailing list (see http://mail.python.org). Please join!
Right now it is a dormant list, but I plan to post some stuff soon :)
The more I stare at the
R. David Murray added the comment:
Thanks for doing the research. As far as I know we've never had a request to
support RFC2047 in FieldStorage, so presumably no browsers actually generate it.
--
resolution: -> invalid
stage: -> committed/rejected
status: ope
R. David Murray added the comment:
We might wind up with a relatively quick 3.2.1, in which case we can get this
fixed then.
The parser is supposed to operate without throwing exceptions (just setting
defects), so if you find a case where *parsing* throws an exception please open
an issue
R. David Murray added the comment:
I've committed fix and the non-disabled tests to trunk in r77517. I updated
the comments to point to the relevant RFC and note that the problem is not
fixed, just mitigated.
I've made a note of the additional tests in my issues list for the emai
R. David Murray added the comment:
I actually had the wrong message number entirely. I was trying to reference
this one, since it has the additional tests. Fixed in r77525.
I backported the fix to 2.6 in r77526 and r77527, forwarded ported to py3k in
r77542 (with the addition of the new
Changes by R. David Murray :
--
nosy: +ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue7714>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
assignee: -> ronaldoussoren
nosy: +ronaldoussoren
___
Python tracker
<http://bugs.python.org/issue7715>
___
___
Python-bugs-lis
R. David Murray added the comment:
Confirmed that this does not affect py3k.
--
nosy: +brett.cannon, r.david.murray
priority: -> high
___
Python tracker
<http://bugs.python.org/iss
R. David Murray added the comment:
See issue 1670765 for more discussion of the whitespace issues.
--
___
Python tracker
<http://bugs.python.org/issue1670
R. David Murray added the comment:
Heh. Copy and paste error. I copied the issue number I wanted to reference,
then copied the issue number I needed to open in order to paste the reference,
and then promptly forgot that I had to recopy the issue number to paste it...
Anyway, the correct
R. David Murray added the comment:
Hmm. I suspect that that typo is fortunate rather than the source of a bug.
As far as I can see, if a message contains valid iso-2022 characters, it will
always encode to ASCII successfully and therefore be given a
content-transfer-encoding of 7bit. If
Changes by R. David Murray :
--
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/issue7472>
___
___
Python-bug
Changes by R. David Murray :
--
priority: -> normal
type: compile error -> behavior
___
Python tracker
<http://bugs.python.org/issue7747>
___
___
Pyth
R. David Murray added the comment:
Under 2.5 this could be due to various weird issues with your python path and
the modules on it. Try running python from a clean directory and specifying
the -E flag and see if the behavior changes, and/or try importing tempfile at
the python prompt and
Changes by R. David Murray :
--
components: +Library (Lib)
nosy: +mark.dickinson
priority: -> normal
type: -> behavior
versions: +Python 2.7, Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/
Changes by R. David Murray :
--
nosy: +loewis
___
Python tracker
<http://bugs.python.org/issue7242>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
I thought I remembered a bug that mentioned prefix="/". What I found was
Issue1676135, which might have something to do with your last question.
--
nosy: +r.david.murray
priority: -> normal
___
P
R. David Murray added the comment:
This is already fixed, I believe as part of a general cleanup of one of the
CAPI macros. On current 2.6 branch and on trunk you now get an unpickling
stack underflow in this case.
--
nosy: +r.david.murray
priority: -> normal
resolution: ->
Changes by R. David Murray :
--
priority: -> normal
stage: -> needs patch
type: crash -> behavior
___
Python tracker
<http://bugs.python.org/issue7748>
___
___
New submission from R. David Murray :
It would be nice if TestLoader.discover could take an argument that specifies
the path to use to import the discovered tests, as an alternative to having to
specify top_level_dir.
--
assignee: michael.foord
components: Library (Lib)
messages
Changes by R. David Murray :
--
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue7785>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Could the skip message be made a little more explanatory? I have no idea why
"Process group 1844 is associated with /dev/tty" would mean that test_ioctl
would need to be skipped.
--
nosy: +r.da
R. David Murray added the comment:
First of all, thanks for working on this. Now for some feedback :)
It is most helpful if you provide patches against trunk (which is 2.7 alpha
right now). We then forward port them to py3k. (This will change after the
release of 2.7, when py3k will
Changes by R. David Murray :
--
nosy: +pitrou
___
Python tracker
<http://bugs.python.org/issue7786>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
If it is, it isn't any place obvious. I thought I remembered something about
using strftime strings in format, but when I looked in the docs for datetime
and the section on the format mini language I couldn't find it, so I ended up
doing '
New submission from R. David Murray :
In the beginning of 16.3 (time module documentation) the fields of a time tuple
are defined, and it mentions that struct_time returns a named tuple version.
The entry for struct_time, which is what you get sent to by the entries for the
functions that
New submission from R. David Murray :
Working from the example in the docs, I wrote a test suite like this:
def load_tests(loader, standard_tests, pattern):
for case in email.test.emailtestdb.populated_test_cases(globals()):
standard_tests.addTests(loader.loadFromTestCase(case
Changes by R. David Murray :
--
keywords: +buildbot -patch
___
Python tracker
<http://bugs.python.org/issue3892>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Hmm. That's not actually the same timeout. What that means is that if the
startup timeout triggers, then a subsequent test (one that is looking for the
results of a client transaction) fails, which contradicts the earlier
observation that even i
R. David Murray added the comment:
Since this isn't likely to get fixed and it is causing buildbot instability, I
propose the attached patch to just skip the remainder of the test method if
this second timeout happens.
--
keywords: +patch
Added file: http://bugs.python.org/file
R. David Murray added the comment:
This fails on 2.6 maint but works on trunk. There have been several
improvements to the way that that compile works in trunk, and one of those
fixed the problem that you are seeing. The source of the problem is the final
line in the source file containing
R. David Murray added the comment:
I meant issue 7268 in my previous message.
--
___
Python tracker
<http://bugs.python.org/issue7813>
___
___
Python-bugs-list m
R. David Murray added the comment:
I'm not quite sure from what you wrote if you understood. Just to make sure no
one reading this ticket later gets confused: it works the same way for all
objects, and the behavior that sometimes surprises people shows up with mutable
objects. So list
Changes by R. David Murray :
--
priority: -> normal
stage: -> committed/rejected
___
Python tracker
<http://bugs.python.org/issue7823>
___
___
Python-bugs-
R. David Murray added the comment:
Just FYI, it was backported to 2.6 in r76313.
--
___
Python tracker
<http://bugs.python.org/issue7749>
___
___
Python-bug
R. David Murray added the comment:
Here's a patch that fixes the problem for shelve. For the more general problem
with Python shutdown and module cleanup, see issue 812369.
I can come up with a sort-of unit test for this (setting _ClosedDict to None,
calling close to prove it do
1801 - 1900 of 10554 matches
Mail list logo