R. David Murray added the comment:
The rset just returns the connection to the "base" state, allowing a new
message sending transaction to start from a known state.
In any case, since the library has done this in the past, it must continue to
do this in the future, or it will break
R. David Murray added the comment:
The errors are being handled correctly, but it would indeed be nice for them to
provide more information about the specific error. That's an enhancement,
though.
--
nosy: +r.david.murray
stage: -> needs patch
title: Json not handlin
R. David Murray added the comment:
I'm really not willing to inline any of those pre-compiled regular expressions.
They are precompiled because for a program processing lots of email, they are
hot spots. We could use the same "compile on demand" dodge on them, though.
Can y
R. David Murray added the comment:
Woops.
Can you explain your changes to the ecre regex (keeping in mind that I don't
know much about regex syntax).
--
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
Oh, yeah, and the encode benchmark is very instructive, thanks Serhiy :)
--
___
Python tracker
<http://bugs.python.org/issue11
R. David Murray added the comment:
Well, "other" surrogates will cause a different error later than with the
current _has_surrogates logic, but it won't be any more mysterious than what
would happen now, I think. Normally, if I understand correctly, other
surrogates should ne
R. David Murray added the comment:
I find it unexpected that aⁱ and ai name the same variable, but I suppose that
is a consequence of the unicode normalization rules (meaning what I really find
surprising is the normalization).
As for the '¹', its category is No, which does not app
R. David Murray added the comment:
Well, a bare except is almost always a bad idea, and certainly is in this case.
I'll create a patch for this if no one beats me to it.
--
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
FTR, the 3.3 commit is cce2bfe03dc5.
--
___
Python tracker
<http://bugs.python.org/issue15935>
___
___
Python-bugs-list mailin
R. David Murray added the comment:
I've only taken a quick glance at this so far.
Why size=-1 instead of size=None?
--
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
Thanks for the report.
pipes.quote used to be an undocumented helper function in pipes. When we
decided to make it public, we moved it to the shlex module. Therefore you'll
find that as of Python 3.3 the source code has moved to shlex and it is
docum
R. David Murray added the comment:
In the python context I believe what you are asking for is to make hashlib hash
objects pickleable.
--
nosy: +r.david.murray
versions: +Python 3.4 -Python 2.7
___
Python tracker
<http://bugs.python.org/issue16
R. David Murray added the comment:
There has been some discussion about what the correct behavior of os.stat is,
as well, I think. Alex Gaynor raised a question about testing our behavior
when nulls are present.
But clearly, if the desired behavior for url processing is different from the
R. David Murray added the comment:
Two words and a tilde. But there were also a number of other places where the
links were broken. Hopefully I caught them all.
--
resolution: -> fixed
stage: needs patch -> committed/rejected
status: open -&g
R. David Murray added the comment:
The bug tracker isn't a good place to get help on using Python. You are more
likely to find people to answer this sort of question on the python-list
mailing list. If you are using python3, the answer is to use newline='', as
discussed in th
R. David Murray added the comment:
Fixed. Thanks, Mark.
--
nosy: +r.david.murray
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4
___
Python track
R. David Murray added the comment:
We don't currently support mingw, and I don't think any of our active
developers have experience with it. If this actually worked in 3.2 then the
fix *might* be relatively easy. Hopefully you or someone else will be
interested enough to work o
R. David Murray added the comment:
Well, that looks like a bug in VIM, not Python. Though if that order of calls
is required and it is not documented, that would be a doc bug (especially if it
used to work in the other order in python2
Changes by R. David Murray :
--
nosy: +vinay.sajip
type: -> enhancement
versions: +Python 3.4
___
Python tracker
<http://bugs.python.org/issue16110>
___
___
Py
R. David Murray added the comment:
That's a non-public IP, so you'll have to provide a trace of the http traffic.
It is likely the error is correct, and is reported only post 2.7.0 because a
bug was fixed.
--
nosy: +r.david.murray
R. David Murray added the comment:
Vinay, you missed one use case in his request: reading the program's
configuration, *modifying it* (based on command line args), and then passing it
to logging. How would you suggest he handle that use case? Is there an easy
way to get from a l
R. David Murray added the comment:
To fully answer the original question that opened this issue: contributions
will be welcomed. While I don't currently have time to work on imaplib myself,
I have an interest and will review and if appropriate commit patches.
I like Shay's pro
R. David Murray added the comment:
Thanks for the patch.
I think that seeing as we've already done a bunch, there's little reason not to
do more.
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.o
R. David Murray added the comment:
A repr of what?
--
___
Python tracker
<http://bugs.python.org/issue16009>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Unfortunately, this is a backward compatibility concern (currently
working-even-if-buggy code could stop working), so I'm -1 on fixing it. Option
[2] would be an enhancement/API change, and is thus also ruled out.
A third alternative might be to
R. David Murray added the comment:
So you would see a copy of the string being decoded in the error message? That
string might be very long, and would be of doubtful utility. What I had in
mind was at least printing the character position of the parse failure. That
may also be of limited
R. David Murray added the comment:
Raymond said he would make a code change relevant to this at some point, so we
should probably leave this issue open until he does. (Or if he doesn't want
the issue open, we can let him close it).
--
nosy: +r.david.murray
resolution: in
R. David Murray added the comment:
I can't reproduce this. What version of 2.7? (This might have been fixed by
the issue 8013 fix).
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/is
Changes by R. David Murray :
--
nosy: +brett.cannon
type: behavior -> crash
versions: +Python 3.4
___
Python tracker
<http://bugs.python.org/issue16139>
___
_
R. David Murray added the comment:
It looks like the data input is the same in both cases. (Although why does your
second example show ''? Does urllib2
really output that as part of the debug output?) It is hard to see what could
be causing the divergence in response here. Is i
R. David Murray added the comment:
Looks like parse_known_args needs to be taught to not treat unknown text
following an option as an argument if the option does not take an argument.
That would be in keeping with its mission, I think :)
There will still probably be ambiguous cases that will
R. David Murray added the comment:
Right. I didn't read what you wrote carefully enough. Clearly
parse_known_args is buggy here.
--
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
This is by design. If you want to load the application module, you have to do
so explicitly:
import email.mime.application
This is similar to the way many other packages are organized. An __init__ file
importing a submodule is the (relatively
R. David Murray added the comment:
My understanding was that code that calls the public APIs should continue to
work. Is this a new requirement in 3.3, or is it that it has always been a
requirement but code could get away without the ready before?
Either way we need to add an note to the
R. David Murray added the comment:
I'm going to reopen this at least until we have more information.
--
resolution: invalid ->
stage: committed/rejected -> needs patch
status: closed -> open
type: -> behavior
___
Pyth
R. David Murray added the comment:
This sounds like Issue 10814, but that was supposedly fixed.
--
___
Python tracker
<http://bugs.python.org/issue16137>
___
___
R. David Murray added the comment:
Ah, looks like Serhiy found the correct issue.
--
___
Python tracker
<http://bugs.python.org/issue16137>
___
___
Python-bug
R. David Murray added the comment:
Ah, I'd forgotten python2 email used the lazy importer. We dropped that in
python3.
I don't think that I want to fix this, since you have to do the import in
python3 anyway.
--
components: +email
no
Changes by R. David Murray :
--
components: +email
nosy: +barry, petri.lehtinen
___
Python tracker
<http://bugs.python.org/issue3022>
___
___
Python-bugs-list m
R. David Murray added the comment:
I have now committed (a revised version of) the doc changes.
Like I said in the commit message, it is unfortunate that the underscore names
were not kept as aliases and that RLock wasn't also converted to a class, but
it is too late to fix that in 3.3
R. David Murray added the comment:
I have made the doc changes.
--
nosy: +r.david.murray
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.o
Changes by R. David Murray :
--
components: +email
stage: -> needs patch
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue8489>
___
__
R. David Murray added the comment:
Woops, did not mean to close the issue.
--
status: closed -> open
title: Support UTF8SMTP as part of RFC 5336 -> Support UTF8SMTP as part of RFC
5336 in smtlib
___
Python tracker
<http://bugs.python.org/
R. David Murray added the comment:
Looks good to me.
--
___
Python tracker
<http://bugs.python.org/issue13498>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
components: +email
___
Python tracker
<http://bugs.python.org/issue8489>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
The problem is that the source directive (from pyspecific in Sphinx) uses the
'current branch' for which the docs are being built. Probably we will have to
hardcode the links rather than using the source directive.
--
nosy: +r.da
New submission from R. David Murray:
Python 3.3.0+ (3.3:152d85b2da3a, Oct 6 2012, 13:17:54)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from types import SimpleNamespace
>>> class Foo(
R. David Murray added the comment:
Yeah writing a good test case for this is a bit tricky, since we'll need some
infrastructure (an Event?) so we can prove that the call has blocked without
delaying the test for very long.
I'm not sure when I'll be able to get to this...I'
Changes by R. David Murray :
--
nosy: +haypo, pitrou
___
Python tracker
<http://bugs.python.org/issue16162>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by R. David Murray :
--
nosy: +ncoghlan
___
Python tracker
<http://bugs.python.org/issue16163>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
I think the reason is that this enables you to easily see if the tests generate
any output to stdout. This was important when unittest was introduced into
python, because some of our tests at that time were still written to check the
stdout output against
R. David Murray added the comment:
I'm pretty sure this should be closed as "won't fix" or "invalid", but I'll
leave that to Michael, who is the current maintainer of unittest.
--
nosy: +michael.foord
___
Pyth
Changes by R. David Murray :
--
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
Changes by R. David Murray :
--
nosy: +vinay.sajip
___
Python tracker
<http://bugs.python.org/issue16168>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
I think we'd probably better find out if there is support for applying it
before you go to the trouble of writing it. It might be appropriate as a -3
warning, since the behavior changes in python3. I would be +1 for applying it
as a -3 warning, and -0
R. David Murray added the comment:
Ezio, is there a reason you didn't close this as a duplicate?
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
The order in which elements are produced when iterating a dictionary is not
fixed. In python3.3 it is intentionally perturbed by a randomized seed at
interpreter startup by default.
--
nosy: +r.david.murray
resolution: -> invalid
st
R. David Murray added the comment:
Thanks. I don't have a need for those in my current application at the current
time.
--
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
This is an enhancement request, then.
--
nosy: +r.david.murray
stage: -> needs patch
type: behavior -> enhancement
versions: +Python 3.4 -Python 2.7
___
Python tracker
<http://bugs.python.org/i
Changes by R. David Murray :
--
nosy: +sbt
type: -> behavior
versions: +Python 3.4 -Python 3.1
___
Python tracker
<http://bugs.python.org/issue16246>
___
_
R. David Murray added the comment:
The rules for python identifiers are documented here:
http://docs.python.org/dev/reference/lexical_analysis.html#identifiers
Are you saying that the behavior does not match the documentation?
--
nosy: +r.david.murray
R. David Murray added the comment:
Android really should not be breaking the standards that way. We do want to
support Android, but have you submitted a bug report to them?
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.
R. David Murray added the comment:
We should do that, then, if /bin/sh doesn't exist.
--
nosy: +gregory.p.smith
type: crash -> behavior
versions: +Python 3.2, Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org
R. David Murray added the comment:
Well, posix; but I was wrong about what posix required, as Roumen pointed out.
--
___
Python tracker
<http://bugs.python.org/issue16
R. David Murray added the comment:
Yes, I think keeping this bug as the doc bug and opening a new one for the
enhancement is the best way to go.
--
versions: +Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue16
R. David Murray added the comment:
That's a safe use of exec, since the name is coming from a loaded module and
not from user input. Still, load_module would be cleaner.
However, the real fix is to just delete that code. It is dead code...we always
pass the indirect_test argument to d
R. David Murray added the comment:
I've added the nosy list from issue 11610, in case complicating the
implementation is seen as sub-optimal :)
--
nosy: +Darren.Dale, benjamin.peterson, daniel.urban, dsdale24, eric.araujo,
eric.snow, ncoghlan, python-dev, r.david.murray, stut
R. David Murray added the comment:
Well, urllib calls ftplib for ftp urls, so it might be about ftplib. But in
that case it would be better to have a reproducer that *just* uses ftplib.
--
nosy: +r.david.murray
___
Python tracker
<h
R. David Murray added the comment:
By "descriptor" I think you really mean it is a special method (ie: looked up
on the class only, not on an instance). A descriptor is something else.
This is a feature request and could only be implemented in 3.4. Assuming I'm
understandi
R. David Murray added the comment:
The special handling of special methods is baked into the attribute lookup
machinery. The discussion of this is in the language reference somewhere, as
is the explanation of what descriptors are and how they work.
--
type: -> enhancem
Changes by R. David Murray :
--
components: +email
___
Python tracker
<http://bugs.python.org/issue16042>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Robert: I don't know if there's something funky going on with your browser, but
every time you post the 'enhancement' setting for type seems to get lost.
--
type: -> enhancement
__
R. David Murray added the comment:
This change appears to have broken the dmg builders:
http://buildbot.python.org/all/builders/bolen-dmg-3.x/builds/19
http://buildbot.python.org/all/builders/bolen-dmg-3.3/builds/17
--
nosy: +r.david.murray
status: closed -> o
R. David Murray added the comment:
Much more likely that you just needed to refresh the page, going by my own
experience with this kind of problem (especially seeing as that seems to have
fixed it :)
--
___
Python tracker
<http://bugs.python.
R. David Murray added the comment:
I see no reason to make this change. 'build' is pretty much universally
understood to be something that can be blown away, and I think that making
Python's naming convention different than that used by other open source
software projects in s
R. David Murray added the comment:
I think it is not an invalid request. However, what is the use case? Normally
a class will manipulate the "real" variable, and the getter/setter is the
public API. Without a good use case it doesn't seem worth changing that bit of
R. David Murray added the comment:
Since the quoted paragraph is distant from where the information about the
``None`` return is documented, the wording of the quoted paragraph can be
improved to make this clearer:
Match Objects always have a boolean value of ``True``. Since ``None`` (which
R. David Murray added the comment:
It does seem more logical to implement this in the getter, now that Serhiy has
pointed it out :) So let's close this.
(Aside: if it were me, I'd move the mangling of the fieldnames into the
ListInsensitive __init__ method.)
--
R. David Murray added the comment:
Yeah, distant was a poor choice of words. The issue really comes up if you
happen to start reading with that section (say when revisiting the docs with an
imperfect memory of what you read before).
So, I agree that no change is *required*. But adding the
Changes by R. David Murray :
--
components: +Interpreter Core -None
keywords: +easy
versions: +Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue16
R. David Murray added the comment:
There was bug fixing/enhancement activity around subparsers, one of them
probably had an unexpected side effect for which there are currently no tests.
If you can figure out which change set introduced the change, that might speed
up resolution of the issue
R. David Murray added the comment:
Ah, good point. From what I understand, that's entirely possible on that
machine. Then the question becomes, do we want to support pre-2.4 for a
rebuild? The answer is almost certainly no, but that leaves the DMG builders
hosed.
Re-closing issue, as
R. David Murray added the comment:
Wait, does that mean you are explicitly supporting older Python versions? In
that case there's still a bug here (either fix the set, or don't accept
versions older than 2.4).
--
___
Python trac
R. David Murray added the comment:
The problem you are reporting looks different than the problem addressed in
issue 8390. There, the surrogates are being introduced when reading filenames
from the archive file. Here, the surrogates presumably arose because the
filename on your file system
R. David Murray added the comment:
Thanks. I've put this on my todo list to look at this weekend during the bug
day.
--
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
How does all of this relate to issue 9253?
--
___
Python tracker
<http://bugs.python.org/issue16308>
___
___
Python-bugs-list m
R. David Murray added the comment:
I'm guessing that is because (if you read the issue) there are no specified
standards for the filenames in tar (other than PAX format). Although I would
personally have preferred to need to specify a "yes really use these binary
filenames"
R. David Murray added the comment:
Every sizeable (and some not-so-sizeable) Python projects I've worked on have
one or more 'utils' modules that collect stuff that doesn't logically fit
elsewhere. That's what test.support is for the test infrastructure.
I agree t
Changes by R. David Murray :
--
nosy: +belopolsky, haypo
___
Python tracker
<http://bugs.python.org/issue16322>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
I don't think you missed anything. It doesn't look like this has ever worked,
but you'd certainly think it would. The documentation doesn't claim anything
about it one way or another. That probably means we should treat it as an
enhan
R. David Murray added the comment:
I suppose this is a flaw in the mimetype API. At some point perhaps we should
fix it, but in the meantimedoes anyone have a pointer to an actual IANA
submission for this mime type? I think we can probably no longer wait for
official IANA approval, but
R. David Murray added the comment:
See issue 16333 for the bug report against the json trailing whitespace.
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue9
R. David Murray added the comment:
Thanks for the report and patch.
I think we'll need a fix for the C version, too (unless it doesn't have the
bug).
--
nosy: +r.david.murray
stage: -> patch review
versions: -Python 2.6, Python 3.
R. David Murray added the comment:
Let's not argue over generalities. Let's wait and argue over a specific patch
proposal.
--
___
Python tracker
<http://bugs.python.o
R. David Murray added the comment:
It does seem to be possible to do this at command invocation. Patch attached.
--
keywords: +patch
nosy: +r.david.murray
status: closed -> open
Added file: http://bugs.python.org/file27748/test_gdb_security.pa
R. David Murray added the comment:
Committed. Also deleted the paragraph from the devguide faq, since it is no
longer needed.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
R. David Murray added the comment:
Committed with Ezio's <\p> and with simplification of the tests by using
script_helper. Thanks, Jeff!
--
nosy: +r.david.murray
resolution: -> fixed
status: open -> closed
versions: +Python 3.4
_
Changes by R. David Murray :
--
versions: +Python 2.7, Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue15749>
___
___
Python-bugs-list m
R. David Murray added the comment:
Issue 12890 fix is now committed. Perhaps I should have worked with yours
instead...but I didn't. The test solution in that patch, calling python in a
separate process, is conceptually simpler but will take more time to run. I'm
on the fence a
R. David Murray added the comment:
Thanks, Chris.
--
nosy: +r.david.murray
resolution: -> fixed
stage: patch review -> committed/rejected
status: open -> closed
versions: +Python 3.4
___
Python tracker
<http://bugs.python.or
4701 - 4800 of 10554 matches
Mail list logo