R. David Murray added the comment:
The tests fail on Widows7 on the buildbots. (They work fine in my XP Windows
VM.)
--
assignee: eric.araujo ->
status: closed -> open
___
Python tracker
<http://bugs.python.org/i
R. David Murray added the comment:
I put in a skip until we either fix the tests or rewrite them as suggested in
issue 15749.
--
___
Python tracker
<http://bugs.python.org/issue12
Changes by R. David Murray :
--
nosy: +haypo
___
Python tracker
<http://bugs.python.org/issue16343>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Interesting. So we have two choices: leave it to the platform mime types file
to define because it is not even on track to be an official IANA standard, or
include it with a comment that it is a de-facto standard.
The question, I guess, is how fluid the
R. David Murray added the comment:
It should print 'y'. And it does for me.
If you have questions about this, you might want to try the python-tutors list.
--
nosy: +r.david.murray
resolution: -> invalid
stage: -> committed/rejected
status: open -> close
Changes by R. David Murray :
--
resolution: rejected -> invalid
___
Python tracker
<http://bugs.python.org/issue16352>
___
___
Python-bugs-list mailing list
Un
R. David Murray added the comment:
That's because inspecting source code requires that there be a source file to
inspect.
--
nosy: +r.david.murray
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
___
Python
R. David Murray added the comment:
Hmm. Reopening in case someone wants to see if we can generate an appropriate
error message when there is no source file to inspect.
--
status: closed -> open
versions: +Python 2.7, Python 3.4
___
Python trac
R. David Murray added the comment:
Yeah, this should be a doc bug. After I thought about it some more I realized
that changing the behavior to raise an error would not be a good idea.
--
assignee: -> docs@python
components: +Documentation -Library (Lib)
nosy: +docs@pyt
R. David Murray added the comment:
If similar functions already raise, then changing it for 3.4 would be OK. But
to change it for earlier versions would risk breaking working programs.
--
___
Python tracker
<http://bugs.python.org/issue16
Changes by R. David Murray :
--
resolution: -> duplicate
stage: -> committed/rejected
status: open -> closed
superseder: -> mmap.read requires an argument
___
Python tracker
<http://bugs.python
R. David Murray added the comment:
Not a specific package, but a specific use case (assuming getcomments is in use
at all :)
Consider a program that uses getcomments to look for a pragma-like comment
before a function, but one that is not critical to the program's function
(perhaps it h
R. David Murray added the comment:
This is a pragmatic choice. Try searching the tracker for 'cookie comma', and
read about the lack of adherence to cookie RFCs by the major browsers.
Specifically, I think issue 1210326 is relevant here, and am closing this as a
duplicate of that
R. David Murray added the comment:
I believe this is a duplicate of issue 14965. If you agree please add yourself
to nosy there and review the proposed patch and/or make your own proposal. If
you think your issue is different you can reopen this one.
--
nosy: +r.david.murray
Changes by R. David Murray :
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue16344>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Thanks everyone.
--
stage: patch review -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
R. David Murray added the comment:
Do none of those submodules import logging?
It is unlikely that this is a Python bug. Somewhere _fmt is getting set to an
integer. The way to prove this one way or another is to start deleting things
until you find the code that is triggering the issue
R. David Murray added the comment:
Yep, that would do it. format is supposed to be a format string.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
R. David Murray added the comment:
Would it be possible for regrtest to do some operations to estimate the speed
and choose "good values" for the constants automatically?
If you have the right kind of VM setup, you could simulate a slow buildbot by
giving the VM a low CPU shar
R. David Murray added the comment:
Looking at the PEP, I don't think there's anything in there that can just be
copied to the docs. I've suggested to one of the new contributors to do the
break out of the error handlers into its own section, and then someone with
more u
New submission from R. David Murray:
Some places in the code it is an email.message.Message object. Some places it
is a simple dictionary. In one place (FTP), it is a string with embedded
newlines.
I'm not sure what should be done about this situation, but it looks like a bug
magnet
R. David Murray added the comment:
In 3.3:
>>> x = OSError(2, 'No such file or directory', 'foo', 0, 'bar')
>>> str(x)
"(2, 'No such file or directory', 'foo', 0, 'bar')"
So, I don't see th
R. David Murray added the comment:
I've documented that 'collections.abc' is no longer implicit, which I presume
means we are going to keep this behavior. (Unless you tell me to revert that
and we fix it as a regression in 3.4.1).
As long as an application follows the note
R. David Murray added the comment:
I'm done with everything in my edit queue except the final copy-edit/formatting
pass. So if you know of anything missing, let me know.
--
___
Python tracker
<http://bugs.python.org/is
New submission from R. David Murray:
It's great that Christian did all the work he did on the SSL module to enhance
its security capabilities, and great that Antoine did the work he did before
that. Now we need an explanation of how best to use it all :)
It is not clear from the exi
Changes by R. David Murray :
--
assignee: christian.heimes ->
components: +Documentation
stage: -> needs patch
type: -> enhancement
versions: +Python 3.4, Python 3.5
___
Python tracker
<http://bugs.python.or
R. David Murray added the comment:
I was going to wonder if the args thing was a bug, but I see that actually it
continues the backward-compatibility tradition already established (python3.3):
>>> x = OSError(2, 'No such file or directory', 'abc')
>>
R. David Murray added the comment:
(Ether that, or it is a long-standing bug.)
--
___
Python tracker
<http://bugs.python.org/issue20517>
___
___
Python-bugs-list m
R. David Murray added the comment:
Logging tries to catch errors during logging and log them. This is an edge
case it doesn't handle, because when it tries to log it...it tries to print the
arguments, and of course the repr of the argument fails (again).
So I think this is
Changes by R. David Murray :
--
keywords: +easy
___
Python tracker
<http://bugs.python.org/issue20918>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Please note what I said about wrapping lines to less than 80 characters.
Also, my thought was to move the 'see also' entry that is referenced in the
existing warning text (the wikipedia link) into the 'security considerations'
section, pr
R. David Murray added the comment:
That's only true if you are dealing with files and directories though. The
import system can deal with much more than that, in which case the absence
__path__ could be an important bit of debugging information.
--
nosy: +r.david.m
R. David Murray added the comment:
Actually, it could be important even if you are dealing with files and
directories (or I'm confused and __path__ is always about same :), since you
could be dealing with an alternate loader.
Our policy is not to hide the chained traceback unless *all* o
R. David Murray added the comment:
Someone else told me it was, I'm afraid I didn't actually check myself :(.
That said, it is still not clear to me from reading that whether or not I need
to "do something" when using, say, the SMTP_SSL class. And it is the latter
kind
R. David Murray added the comment:
To expand on that point a little: in the past, I could happily use the SMTP_SSL
class (say) without thinking about certificates or server hostname
verification, or pretty much of anything. This produced no verification, of
course, which is the problem we
R. David Murray added the comment:
Yes on 3.3 fixes, but you are right that it doesn't need fixed there. This
appears to be a 3.4 regression. I used exactly the test you suggest to
reproduce it on 3.4...there there is a chained traceback and Done does not get
printed. So, the ori
R. David Murray added the comment:
Good point. There is an existing warning for hash weaknesses...the whole thing
could be rephrased as "Please see the security considerations section for
important information on the considerations involved in using the various
hashing algorithms, and
R. David Murray added the comment:
Antoine: down that path lies Microsoft's "An error has occurred" error
messages. The point of the extra information is not to inform the end user, it
is to make it possible for an expert to solve the problem, and for it to be
findable in a w
R. David Murray added the comment:
>From a little researching it isn't clear whether it is just tkinter that
>doesn't support alpha, or if TK itself has issues...but I'm hoping it is just
>the former (I found discussions of alpha for images, and it sounds like
R. David Murray added the comment:
Can you clarify what it is you are reporting as a bug, please?
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue20
R. David Murray added the comment:
Raymond: I'm not talking about *adding* a warning.
Is it your opinion that the existing warning should be removed?
--
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
At this point only things that would make it a "brown bag" release (broken out
of the box) would get cherry picked. I agree that this doesn't
qualify...having repr raise is a pretty unu
Changes by R. David Murray :
--
nosy: +lukasz.langa
___
Python tracker
<http://bugs.python.org/issue20923>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Your cwd is relative. What happens if you make it absolute? (What I'm
thinking is that the non-shell starting cwd may be different on windows than it
is on unix...but I don't know windows very well, so this may be irrelevant...)
-
R. David Murray added the comment:
I might tweak a couple words for flow, but it looks good. I do wonder about
the repetition of the bit about parenthesis or whitespace that now exists. I
wonder if the first occurrence of it should now be dropped
R. David Murray added the comment:
I don't know what "the method already allows for existing files" means. Since
the target directory can't exist, there can be no existing files.
In unix, this kind of capability is provided by a combination of shell globbing
and '
R. David Murray added the comment:
Fix looks good to me, thanks. I changed the name to be a bit more descriptive,
and wrapped the line to less than 80 characters.
--
nosy: +r.david.murray
stage: -> committed/rejected
status: open -> closed
type: -> behavior
versions: +P
R. David Murray added the comment:
Please post on the python-list mailing list asking for help on either
understanding your problem or formulating it into a bug report that we can act
on. In the meantime I'm going to close the issue as invalid, but you can
reopen it if you can explain
R. David Murray added the comment:
How about "Interpreter Improvements"? The marshall format change isn't exactly
a behavior change, but other implementations will need to be able to cope with
it. Or should that be moved to
R. David Murray added the comment:
How is this different from myconfig['section']?
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.o
R. David Murray added the comment:
Because some of the third party components for the windows built are still in a
subversion repository.
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue17
R. David Murray added the comment:
We already have Coverty scan in place, and were in fact featured by them for
our code quality. Currently Christian Heimes is the lead on that effort, and
is monitoring the Coverty reports. We've been working on Clang stuff as
developers have had int
R. David Murray added the comment:
Oh, and if you there there are general issues to be discussed about approach
(and I think out use of asserts might be one such), then the appropriate forum
is the python-dev mailing list.
--
___
Python tracker
R. David Murray added the comment:
Oh, and if you think there there are general issues to be discussed about
approach (and I think our use of asserts might be one such), then the
appropriate forum is the python-dev mailing list.
--
___
Python
Changes by R. David Murray :
--
Removed message: http://bugs.python.org/msg213732
___
Python tracker
<http://bugs.python.org/issue20944>
___
___
Python-bugs-list m
R. David Murray added the comment:
Well, probably the best thing to do to understand the issue is to look at the
implementation of Message.walk and is_multipart, and to notice that
"is_multipart()" can return a different answer than "msg.get_content_maintype()
== 'multip
R. David Murray added the comment:
A little hg sleuthing (which I assume you did but I'll record for the record)
reveals that this was introduced by Bill Jansen in changeset 8a281bfc058d.
Following the bugs mentioned in the checkin message, it looks like it *might*
have been related to
R. David Murray added the comment:
My intent here was that the rewrite should specify where the data that gets
placed into the template when it is used comes from. That would be 'responses'
by default, but can be overridden in &
R. David Murray added the comment:
Hmm. Rereading your patch I see that that is what you are trying to do, but I
find the order of presentation confusing. I would rather see the text focus on
the fact that the string is used by send_error, and that the variables are
filled by default from
R. David Murray added the comment:
Thanks. That patch looks good except that it is missing the corresponding
documentation changes, but...
I just noticed that this table is a partial duplicate of the table in
http.server. I suspect this has historical origins, but I don't see any reaso
R. David Murray added the comment:
>From python's point of view they are both aliases of iso-8859_8, as discussed
>in this issue. Python does not have iso-8859_8-e and i codecs, which you
>changes to the alias table implies that it does (the target of the entry in
>the ali
R. David Murray added the comment:
The tests are in test_encodings.py. It is interesting that the tests pass with
your patch applied; that indicates that there is a missing test, since we
should be testing that all of the values in the aliases table are the names of
existing codecs, and
Changes by R. David Murray :
--
nosy: +christian.heimes, pitrou
___
Python tracker
<http://bugs.python.org/issue20952>
___
___
Python-bugs-list mailing list
Unsub
R. David Murray added the comment:
The fact that you say the method is "_junk(self)" and say the other classes
don't override it makes me think you are thinking that methods with the same
name are different from a subclasses perspective if they have different
signatures. In
R. David Murray added the comment:
Did you reopen the issue accidentally? The bug has been fixed.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
R. David Murray added the comment:
Or, in 3.4, class META(abc.ABC).
OK, since Eric agrees that this is python-ideas material, we'll close this
issue for now. If you get consensus for it on python-ideas, the issue can be
reopened (or a new one started, whichever turns out to be approp
R. David Murray added the comment:
You missed the part where it says "no matter where it is called from". That
is, the path is stripped off. The sentence could be changed to emphasize that
("the :ref:`~os.basename` of sys.argv[0]").
The backslash is indeed a bit odd an
R. David Murray added the comment:
I propose that we add a new keyword argument to SMTP's __init__, 'decode_data'.
This would be set to True by default, and would preserve the current behavior
of passing utf-8 decoded data to process_message.
Setting it to True
R. David Murray added the comment:
I didn't mean the basename reference as exposing an implementation detail (I
didn't look) but rather as a shorthand for explaining what "regardless of where
the program was invoked from" means.
--
__
Changes by R. David Murray :
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue7994>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
The two that raise are the two that are required on the concrete class in order
for the mixin to work.
Not having tests is certainly an issue worth correcting.
--
nosy: +r.david.murray
___
Python tracker
<h
R. David Murray added the comment:
That table is actually correct as it stands. Post 5.1 I pretty much stopped
tracking the email version independently of the python version. So most likely
the 3.3 python isn't compatible with 3.2, and the same for 3.4 and 3.3.
Let's get Barry
Changes by R. David Murray :
--
stage: -> patch review
type: behavior -> enhancement
___
Python tracker
<http://bugs.python.org/issue20951>
___
___
Pyth
R. David Murray added the comment:
I think 'base name' should be defined somehow (perhaps "see
:ref:`os.basename`?) And I agree that that second sentence should be made less
ambiguous. Perhaps "make the help messages use the same name that was used to
invoke the program
R. David Murray added the comment:
You are correct, it is os.path.basename.
"base name or symlink" are not alternatives. It would be the base name *of*
the symlink if a symlink was used to invoke the program. I'm not sure that
introducing the concept of the symlink here is he
R. David Murray added the comment:
Sounds like we just need someone comfortable with modifying ceval.c to apply
this ;)
--
nosy: +benjamin.peterson, r.david.murray
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker
<h
R. David Murray added the comment:
First step would be to get rid of the warning in the zipfile docs and replace
it with the info that the absolute path '/' and any relative path are stripped
silently before the file is extracted.
It would also be worth adding an enhancement to
Changes by R. David Murray :
--
nosy: +gps
___
Python tracker
<http://bugs.python.org/issue20979>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
We must have a missing test case, then. One should be added.
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/issue20
R. David Murray added the comment:
I would prefer that _qdecode be left alone.
--
___
Python tracker
<http://bugs.python.org/issue20976>
___
___
Python-bugs-list m
Changes by R. David Murray :
--
nosy: +vinay.sajip
___
Python tracker
<http://bugs.python.org/issue20985>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Yes. It is not returning the format specifier, it is filling in the strftime
template "s" from the datetime...which equals "s", since it consists of just
that constant string.
Try {:%Y
R. David Murray added the comment:
Which, by the way, has been the behavior all along, it is not something
affected by this fix, because datetime *does* have a __format__ method.
--
___
Python tracker
<http://bugs.python.org/issue7
R. David Murray added the comment:
NoneType is a subclass of object.
>>> class Foo(object):
...pass
...
>>> f = Foo()
>>> f.__format__
ie: the exception is being raised by object.__format__, as provided for by this
issue.
--
___
R. David Murray added the comment:
Note that unix unzip does exactly the same thing as zipfile extractall (except
that it does issue warnings), and I believe this is considered "best practice"
these days for extraction tools: strip out absolute/relative path components
and extr
R. David Murray added the comment:
Your example doesn't seem to have anything to do with XML, nor is it sufficient
to reproduce the problem. Can you provide a simple program including sample
data that reproduces the behavior you are concerned with? We'll also need to
know what pl
R. David Murray added the comment:
re: file. You forgot the 'u' in front of the string:
>>> f.write(u'This is a «test»\n')
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character
R. David Murray added the comment:
Well, one reason is I was afraid mailman might be using them. So if you are
cool with it, that removes that objection.
The other reason was that it seemed they were being used "from" utils on
purpose, as a design thing. I did not take the time to
R. David Murray added the comment:
Sure.
--
___
Python tracker
<http://bugs.python.org/issue20976>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
create_default_context is about best practices, though, so it seems to me it
wouldn't be crazy to do it there.
--
nosy: +r.david.murray
___
Python tracker
<http://bugs.python.org/is
R. David Murray added the comment:
Oh, yeah, it should be. Any further changes should be independent bug reports.
--
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
___
Python tracker
<http://bugs.python.or
R. David Murray added the comment:
Have you tried experimenting with what locale is set to? These look like
locale configuration issues rather than platform issues. Specifically, the C
locale will produce the (None, None) result on linux.
--
nosy: +r.david.murray
R. David Murray added the comment:
It looks like the non-doc stuff was accidental inclusions and should be
ignored. Or better, the patch author could address Berker and Jim's comments
and resubmit a clean patch.
--
___
Python tracker
R. David Murray added the comment:
I want no script asking me questions. Post-facto errors for omissions are fine
(and if I have to positively say no in the input file, that's fine). tkinter
is right out.
If you *also* want to make a script that asks questions (or even a tkint
R. David Murray added the comment:
Your IDE stopping support for the beta2 is rather strange, IMO.
The MSI works fine for other people, so I would suggest posting on python-list
looking for help with figuring out what is going wrong on your particular
system. If you can isolate a bug to
R. David Murray added the comment:
Scanner isn't a public interface, so the real enhancement here would be to make
it one, in which case adding fullmatch would make sense. I don't know if
making it public is a good idea or not.
--
nosy: +r.david.murray, twouters
type
R. David Murray added the comment:
Thanks Tuomas, but we don't have any consensus that that kind of change will be
accepted. It's just my opinion that it should be...and if it was, it would
have to start with a deprecation, not raising an exception.
What we need as a patch for thi
Changes by R. David Murray :
--
nosy: +lukasz.langa
___
Python tracker
<http://bugs.python.org/issue21018>
___
___
Python-bugs-list mailing list
Unsubscribe:
R. David Murray added the comment:
Although I agree that the Unicode Howto needs to provide enough information for
someone to reason correctly about python3 unicode, I'd like to note that
someone running into the encoding error on windows is *not* going to reach for
the unicode howto to
R. David Murray added the comment:
On the other hand, I wonder if such problem/solution pairs should go in the FAQ
list rather than the howto, perhaps with a pointer to the howto for those
wanting more general information. Specifically the Python on Windows section
in this case.
I realize
4801 - 4900 of 10554 matches
Mail list logo