Daniel Watkins added the comment:
(Accidentally dropped Ned from nosy list; apologies!)
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue43
Daniel Watkins added the comment:
Hey folks,
Thanks for all the work on this: I really appreciate the efforts to keep Python
as secure as possible!
This change _is_ causing us problems in the cloud-init codebase, which
thankfully have been caught by our testing in Ubuntu's develo
Daniel Watkins added the comment:
Having ironed out my confusion over typing the method, I agree that making
the types more obvious is not a compelling argument for this change.
That said, I think the current API has been confusing to me in the past,
and I think the proposed change is still a
Changes by Daniel Watkins :
--
pull_requests: +3045
___
Python tracker
<http://bugs.python.org/issue31129>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Daniel Watkins:
A grep through the codebase shows that RawConfigParser.items() is the only
.items() method in the stdlib which accepts arguments.
This is annoying as a stdlib user because when I see the arguments being passed
to RawConfigParser.items(), I have _no idea_
Changes by Daniel Watkins :
--
pull_requests: +2948
___
Python tracker
<http://bugs.python.org/issue31040>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Daniel Watkins :
--
pull_requests: +2922
___
Python tracker
<http://bugs.python.org/issue31040>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Daniel Watkins:
```
import mimetypes
print(mimetypes.guess_type('foo.manifest'))
mimetypes.add_type('text/plain', 'manifest')
print(mimetypes.guess_type('foo.manifest'))
```
results in:
```
('application/x-ms-manifest'
New submission from Daniel Watkins:
The convenience assertion methods on mock objects can be easily mistyped and if
they are mistyped, they will silently pass. This can be quite user-hostile.
Consider the following:
>>> example = Mock()
>>> example.
New submission from Daniel Watkins <[EMAIL PROTECTED]>:
I've recently had to subclass optparse.OptionParser, and copy-paste the
exit method, just to change where errors were printed to (I needed
stdout rather than stderr). I've also had a request from a client to
log errors w
10 matches
Mail list logo