te an entire general ASN.1 certificate parser or use another
(incomplete) one. Many extensions have simple data in them that is
trivial to parse alone.
--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
message, in
order to prevent man-in-the-middle attacks."""
I really don't understand why you would not expose all data in the
certificate. It seems totally obvious. The data is there for a reason.
I want the subjectAltName. Probably other people want other stuff
> I also like this.
Martin and Anthony are correct. We do not need more syntax for such a
trivial and trivially-implemented feature. The syntax is no real
benefit.
--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.c
On 8/4/06, Ralf Schmitt <[EMAIL PROTECTED]> wrote:
Jean-Paul Calderone wrote:>> I like the exception that 2.5 raises. I only wish it raised by default> when using 'ascii' and u'ascii' as keys in the same dictionary. ;) Oh,> and that str and unicode did not hash like they do. ;)
No problem: >>> i
ts for projects I care about
(Twisted, pydoctor, whatever), and perhaps help out with the setting
up the buildmaster.
--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
___
__future__ import is clearly better.
Does anyone want to pair on this?
--
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
___
Python-Dev mailing list
Python-Dev@python.
ets, TCP, UDP,
arbitrary file descriptors, processes, and threads sums up to about
5300 lines of code. asynchat and asyncore are about 1200.
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix|-- http://radix.twistedmatrix.com
| Release Manager, Twist
sp is an expression. There's no statement, in Lisp,
that isn't also an expression. Lambdas in Lisp can contain arbitrary
expressions; therefore you can put any language construct inside a
lambda. In Python, you cannot put any language construct inside a
lambda. Python's and Lisp's lambd
for example? Or how it'll
blow up when you're trying to document your gtk-using application on a
remote server without an X server running? Or how it just plain blows
right up with most Interface systems? etc.
--
Twisted | Christopher Armstrong: Internati
top level too", but
the obvious problem is that calling vars(__builtins__) (or similar)
will cause your interpreter to exit. :)
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix|-- http://radix.twistedmatrix.com
| Release Manager, Twisted Proj
ack.
On an only semi-related note, at one point I tried making it possible
to have longer-lived Traceback objects that could be reraised, but
found it very hard to do, at least with my self-imposed requirement of
keeping it in an extension module.
http://mail.python.org/pipermail/python-dev/2005-Sept
be you meant something else? I can't think of any way in which
"dictionaries don't have mutable keys" is true. The only rule about
dictionary keys that I know of is that they need to be hashable and
need to be comparable with the equality operator.
--
Twisted | Christopher
code here, but to recap it just means
that you have to do:
def foo():
x = yield getPage()
return "Yay"
when you want to download a web page, and the caller of 'foo' would
*also* need to do something like "yay = yield foo()". I think this is
a very worthwhile tradeo
he implementation, given that there are currently so many special
cases around exec, including when used with nested scopes.
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix|-- http://radix.twistedmatrix.com
| Release Manager, Twisted Project
\\\V///
eir defgens (if the defgen didn't specifically yield some
meaningful value at the end).
At first I thought "return foo" in a generator ought to be equivalent
to "yield foo; return", but at least for defgen, it turns out raising
StopIteration(foo) would be better, as I w
)
d2 = ldapfoo.getUser('bob')
d2.addCallback(gotLDAPData)
And both the database call and the ldap request will be worked on concurrently.
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix|-- http://radix.twistedmatrix.com
| Release Manager, Twist
quot;
else:
assert "object-oriented" in x
Many in the Twisted community get itchy about over-use of defgen,
since it makes it easier to assume too much consistency in state, but
it's still light-years beyond pre-emptive shared-memory threading when
it comes to that.
--
Tw
ect.getSomething()
except Foo:
print "Oh no!"
This is just a 2.5-ification of defgen, which is at
twisted.internet.defer.{deferredGenerator,waitForDeferred}. So anyway,
if your actor messages always return Deferreds, then this works quite
nicely.
--
Twisted | Christopher Armstrong: In
paratively). So the encouragement to use Pyrex
for new extension modules still seems perfect, to me; its use should
definitely be encouraged when one needs to wrap some third-party
library, and I'd bet that that's the common case.
--
Twisted | Christopher Armstrong: International Man
On 9/4/05, Michael Hudson <[EMAIL PROTECTED]> wrote:
> Christopher Armstrong <[EMAIL PROTECTED]> writes:
>
> > I had the idea to create a fake Traceback object in Python that
> > doesn't hold references to any frame objects, but is still able to be
>
On 9/4/05, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> At 06:24 PM 9/3/2005 +1000, Christopher Armstrong wrote:
> >For example, perhaps a better idea would be to
> >change the traceback-printing functions to use Python attribute lookup
> >instead of internal structure lo
sers are already
using the defgen I wrote for python 2.2 generators).
Thanks for any help, and have fun,
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix|-- http://radix.twistedmatrix.com
| Release Manager
22 matches
Mail list logo