mystic: a simple model-independent inversion framework
http://www.its.caltech.edu/~mmckerns/software.html
# Version
0.2a1: 05/22/10
# Highlights
First alpha version for second minor release.
Extending optimizers to parallel and distributed computing.
Solvers:
- Differential Evolution (x2)
Hi,
after 6 months of laziness while code was complete in my computer but
didn't have enough time, I'm releasing a new version of lfm now.
Description:
=
Last File Manager is a simple but powerful file manager for the UNIX
console. It's written in Python, using curses module.
Licensed
keobox wrote:
On 20 Mag, 12:58, Thomas Lehmann t.lehm...@rtsgroup.net wrote:
The question is:
Is there a limit on the number of entries a dictionary can have i
jython?
I wrote a little app where my data is stored in a huge dictionary
(11746 entries) generated with a python script.
On 21 Mai, 12:21, Deep_Feelings doctore...@gmail.com wrote:
1- where are the programs that is written in python ?
You could search for them with Google and download your results
Bittorrent.
is python a valid practical programming language ?
No, it is probably Turing incomplete.
--
On 21 Mai, 16:20, Grant Edwards inva...@invalid.invalid wrote:
I still don't get it.
What about Go, exactly, do people see as Phython-like?
Go doesn't seem to have any of the salient features (either syntactic
or semantic) of Python other than garbage collection.
How is Go not just
On May 21, 8:45 pm, a...@pythoncraft.com (Aahz) wrote:
In article
eb0c9aec-428f-45a2-a985-5b33906e0...@z17g2000vbd.googlegroups.com,
Patrick Maupin pmau...@gmail.com wrote:
There are a lot of commercial programs written in Python. But any
company which thinks it has a lock on some kind of
On May 21, 9:12 pm, Ben Finney ben+pyt...@benfinney.id.au wrote:
a...@pythoncraft.com (Aahz) writes:
In article
eb0c9aec-428f-45a2-a985-5b33906e0...@z17g2000vbd.googlegroups.com,
Patrick Maupin pmau...@gmail.com wrote:
There are a lot of commercial programs written in Python. But any
Hi
I need to get the details of Local Area connection information(network
interface) like packets sent,packets recieved,duration etc. I have to
do this in Windows using python.
I tried looking under the socket module and also googling,but did not
find anything that I could use for windows,though
On 21 Mai, 20:20, Patrick Maupin pmau...@gmail.com wrote:
There are a lot of commercial programs written in Python. But any
company which thinks it has a lock on some kind of super secret sauce
isn't going to use Python, because it's very easy to reverse engineer
even compiled Python
On 22 Mai, 09:38, moijes12 moije...@gmail.com wrote:
I need to get the details of Local Area connection information(network
interface) like packets sent,packets recieved,duration etc. I have to
do this in Windows using python.
import subprocess as sp
p = sp.Popen(netstat -s, shell=False,
On May 22, 1:12 pm, sturlamolden stu...@molden.no wrote:
On 22 Mai, 09:38, moijes12 moije...@gmail.com wrote:
I need to get the details of Local Area connection information(network
interface) like packets sent,packets recieved,duration etc. I have to
do this in Windows using python.
I have finally decided to port the decorator module to Python 3.
Changing the module was zero effort (2to3 worked) but changing the
documentation was quite an effort, since I had to wait for docutils/
pygements to support Python 3 and to change all my custom build
process. Also, I am relying on
I am trying to download a few IEEE pages by using urllib2, but with
certain pages I get only the first part of the page. With other pages
from the same server and url (just another pageID) I get the right
results. The difference between these pages seems to be the date the
paper for which the page
thank you very much ,your reply guys are very nice and informative.
hope you best luck in your life
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am using wingide to debug my python code. To debug my c code
when i attach wingide to ddd. It is all done successfully. However when
i try to set a beak point in gdb i get following error :
(gdb) break /home/sa/mygr/gnuradio-core/src/lib/general/gr_gr_deinterleave.cc:13
No source file
On May 21, 4:20 pm, Grant Edwards inva...@invalid.invalid wrote:
What about Go, exactly, do people see as Python-like?
The philosophy of keeping things simple. I find the concurrency
mechanism quite Pythonic.
Moreover Go interfaces are quite akin to Python duck typing, but
better. There also
Is there not an other way to create a fast addon system?
A module or something like that
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
after 6 months of laziness while code was complete in my computer but
didn't have enough time, I'm releasing a new version of lfm now.
Description:
=
Last File Manager is a simple but powerful file manager for the UNIX
console. It's written in Python, using curses module.
Licensed
On 05/22/2010 02:43 AM, sturlamolden wrote:
That only applies to CPU bound program code (most program code is I/O
bound), and only to computational bottlenecks (usually less than 5% of
the code) in the CPU bound programs. Today, most programs are I/O
bound: You don't get a faster network
On Wed, May 12, 2010 at 2:42 PM, Joel Koltner
zapwiredashgro...@yahoo.com wrote:
Just curious... in Microsoft's Visual Studio (and I would presume some other
tools), for many languages (both interpreted and compiled!) there's an edit
and conitnue option that, when you hit a breakpoint, allows
On Fri, May 21, 2010 at 2:40 PM, Tim Chase python.l...@tim.thechases.comwrote:
On 05/21/2010 12:31 PM, Victor Subervi wrote:
cursor.execute('insert into Baggage values (Null, %s, %s, %s,
%s)', (flight_id, customer_id, weight, ticket_no))
You're trying to insert stuff...
Am 22.05.2010 12:06, schrieb timo verbeek:
Is there not an other way to create a fast addon system?
A module or something like that
How fancy are your requirements? People have written numerous plugin
systems, from simple to use ones like CherryPy's tool system up to a
complex component
I wrote:
I came up with a recursive memo-izing algorithm that
handles 100-digit n's.
[...]
I made a couple improvements. Code below.
-Bryan
#-
_nds = {}
def ndsums(m, d):
Count d-digit ints with digits suming to m.
assert m = 0 and d = 0
m = min(m, d * 9
Hi;
A lister recently responded to my post concerning mysl commands of the
following type:
cursor.execute('insert into foo values (%s, %s)' % (bar, something))
stating that I need to eliminate the % to prevent injection attacks, thus:
cursor.execute('insert into foo values (%s, %s)', (bar,
In article mailman.527.1274527722.32709.python-l...@python.org,
Tim Chase python.l...@tim.thechases.com wrote:
I'd also include that a change in algorithm can be a big help for
speeding up CPU-bound code. It doesn't matter much if you're using
Python or hand-coding that inner loop in
On 22 Mai, 17:09, a...@pythoncraft.com (Aahz) wrote:
Rewriting an algorithm also helps I/O-bound code
Yes it does, if it involves how we do I/O. Algorithms are just as
important for I/O bound as they are for compute bound code.
But implementing an algorithm in C as opposed to Python would not
A lister recently responded to my post concerning mysl commands of the
following type:
cursor.execute('insert into foo values (%s, %s)' % (bar, something))
stating that I need to eliminate the % to prevent injection attacks, thus:
cursor.execute('insert into foo values (%s, %s)', (bar,
On Sat, 2010-05-22 at 18:06 +0200, Christian Heimes wrote:
A lister recently responded to my post concerning mysl commands of the
following type:
cursor.execute('insert into foo values (%s, %s)' % (bar, something))
stating that I need to eliminate the % to prevent injection attacks,
Am 22.05.2010 18:09, schrieb Adam Tauno Williams:
On Sat, 2010-05-22 at 18:06 +0200, Christian Heimes wrote:
A lister recently responded to my post concerning mysl commands of the
following type:
cursor.execute('insert into foo values (%s, %s)' % (bar, something))
stating that I need to
Oops, het Good page is alos handled wrongly. The papers from 2000
are handled wrong too so a real example of a well performing page:
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=5206867
On May 22, 11:43 am, Dragon Lord dragonlord...@gmail.com wrote:
I am trying to download a few IEEE
I am trying to create a bash-style auto completion in a simple
command-line and script-based program i created using cmd.
I saw http://docs.python.org/library/rlcompleter.html, which I'm
thinking is the way to go for my program to intercept the tab key.
Would anyone have thoughts on this?
I wish
On 5/21/2010 11:03 PM, Lie Ryan wrote:
On 05/22/10 04:47, Terry Reedy wrote:
On 5/21/2010 6:21 AM, Deep_Feelings wrote:
python is not a new programming language ,it has been there for the
last 15+ years or so ? right ?
however by having a look at this page
On May 22, 2:43 am, sturlamolden stu...@molden.no wrote:
On 21 Mai, 20:20, Patrick Maupin pmau...@gmail.com wrote:
Also, any company in a competitive
market where execution speed is extremely important might choose some
other language because, frankly, the fact that a development tool is
On May 22, 5:00 am, Michele Simionato michele.simion...@gmail.com
wrote:
On May 21, 4:20 pm, Grant Edwards inva...@invalid.invalid wrote:
What about Go, exactly, do people see as Python-like?
The philosophy of keeping things simple. I find the concurrency
mechanism quite Pythonic.
That's
On May 22, 1:49 pm, Terry Reedy tjre...@udel.edu wrote:
Because, as I said, and as you explain further, Python favors programmer
speed, including speed of testing new algorithms, over raw execution
speed of current algorithms. (Current) speed is (also) easier to test
than improvability and
On May 21, 10:30 pm, Chris Rebert c...@rebertia.com wrote:
Erm, in fairness, I recall hearing that some speed-critical bits of hg
are written in C. It does lend credence to the Python as glue
language argument though; I doubt hg's extensibility and friendly
interface would have been as easy
On Sat, May 22, 2010 at 11:01 AM, ntwrkd ntw...@gmail.com wrote:
I am trying to create a bash-style auto completion in a simple
command-line and script-based program i created using cmd.
I saw http://docs.python.org/library/rlcompleter.html, which I'm
thinking is the way to go for my program
On Fri, 2010-05-21 at 11:20 -0700, Patrick Maupin wrote:
On May 21, 5:21 am, Deep_Feelings doctore...@gmail.com wrote:
2- python is high productivity language : why there are no commercial
programs written in python ?
There are a lot of commercial programs written in Python. But any
In article mailman.534.1274544403.32709.python-l...@python.org,
Christian Heimes li...@cheimes.de wrote:
You *MUST NOT* use string formatting for SQL commands unless you
carefully quote and validate the strings. Otherwise your SQL application
is vulnerable to SQL injection attacks. SQL
On Sat, 22 May 2010 12:13:30 -0700, Patrick Maupin wrote about the lack
of exceptions in Go:
Looking at their rationale, it is appears that one or more of the
primary go developers had to deal way too often with people who overuse
and abuse exceptions, so they are reverting to an almost
The answer may be right infront of me but I really can't figure this
out.
I'm trying to build a interactive fiction kind of game, silly I know
but I
am a fan of the genre. I'm trying to build up an index of all the
rooms in
the game from an outside file called roomlist.txt. The only problem is
Lanny wrote:
The answer may be right infront of me but I really can't figure this
out.
I'm trying to build a interactive fiction kind of game, silly I know
but I
am a fan of the genre. I'm trying to build up an index of all the
rooms in
the game from an outside file called roomlist.txt. The only
On 5/22/10, MRAB pyt...@mrabarnett.plus.com wrote:
Lanny wrote:
The answer may be right infront of me but I really can't figure this
out.
I'm trying to build a interactive fiction kind of game, silly I know
but I
am a fan of the genre. I'm trying to build up an index of all the
rooms in
On May 22, 6:14 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
On Sat, 22 May 2010 12:13:30 -0700, Patrick Maupin wrote about the lack
of exceptions in Go:
Looking at their rationale, it is appears that one or more of the
primary go developers had to deal way too often
Deep_Feelings wrote:
i will be interested more in COMMERCIAL programs written in python
I came across a game on Big Fish Games recently (it was
The Moonstone IIRC) that appeared to have been built using
Python and py2app.
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 20 May 2010 02:45:10 -0700 (PDT), Jimoid
jimmy.cul...@gmail.com declaimed the following in
gmane.comp.python.general:
I've now had a closer look at both pyODBC and mxODBC and it seems to
me that they both require the database to be running to be able to
query it. Is this correct?
If
On 22 Mai, 20:45, Patrick Maupin pmau...@gmail.com wrote:
I think we're in violent agreement here -- you neglected to quote the
part where I said (But the up-front choice of another language simply
for speed, rather than prototyping with Python and then recoding the
slow bits, would probably
On 22 Mai, 13:28, Tim Chase python.l...@tim.thechases.com wrote:
Just as an aside, last I checked, mercurial had some core code in
C for speed.
I've been writing scrintific software for over 10 years. I always find
myself writing small pieces of C now and then. It is usally because
header
On Sun, May 23, 2010 at 3:35 PM, sturlamolden stu...@molden.no wrote:
Yes I know about PyOpenGL, but then there is the speed argument: From
C I can make epeated calls to functions like glVertex4f with minial
loss of efficacy. Calling glVertex4f from Python (e.g. PyOpenGL) would
give me the
Changes by Sebastian Rittau srit...@jroger.in-berlin.de:
--
nosy: -srittau
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2736
___
___
New submission from Hagen Fürstenau hfuerste...@gmx.net:
The docs for the RegexpObject methods findall and finditer are misleading: They
are said to behave the same way as the respective functions, but in fact the
parameter semantics are different.
--
assignee: d...@python
components:
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r81463.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8785
Georg Brandl ge...@python.org added the comment:
Care to suggest a patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1436346
___
___
Ray.Allen ysj@gmail.com added the comment:
Yes, I saw that, thanks for explanation!
So I work a patch against the trunk, including modification of fileio_write(),
bufferedwriter_write() and test_fileio.py.
--
Added file: http://bugs.python.org/file17436/issue_8765.diff
Stefan Krah stefan-use...@bytereef.org added the comment:
I'm busy implementing the IEEE754 contexts for cdecimal. To keep things
in sync, it would be nice to agree how they should be created.
Suggestions:
1) c = Decimal64Context
2) c = Context(Decimal64)
3) ?
I have a preference for 2).
Mark Dickinson dicki...@gmail.com added the comment:
Updated patch:
- make hash(m/P) preserve sign, as discussed earlier
- add details for computing the hash of a complex number
- reorganize sys.hash_info
- drop sys.hash_info.bits (the exponent of the Mersenne prime);
it's not
Mark Dickinson dicki...@gmail.com added the comment:
1) c = Decimal64Context
2) c = Context(Decimal64)
Rather that complicating the Context constructor, I'd prefer a separate factory
function. I was thinking of something like:
def IEEEContext(n):
Return the decimaln IEEE 754 context.
Mark Dickinson dicki...@gmail.com added the comment:
BTW, let's open another issue for support of the IEEE 754 contexts, and keep
this one for exposing _clamp. Otherwise life gets confusing when you're trying
to decide when an issue can be closed, etc...
--
New submission from Mark Dickinson dicki...@gmail.com:
Discussion migrated from issue 8540 into its own issue.
For ease of communication with other libraries, it would be good to be able to
easily create contexts corresponding to the IEEE 754 (2008) decimal interchange
formats.
--
Antoine Pitrou pit...@free.fr added the comment:
Amaury, do you remember if we made this deliberately?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8765
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Some context from issue 8540:
[Stefan Krah]
I'm busy implementing the IEEE754 contexts for cdecimal. To keep things
in sync, it would be nice to agree how they should be created.
Suggestions:
1) c = Decimal64Context
2) c =
Mark Dickinson dicki...@gmail.com added the comment:
It's Table 3.6 (Decimal interchange format parameters) in the final version
of IEEE 754; I'm not sure what that corresponds to in the various drafts. It
has column headings: decimal32, decimal64, decimal128 and decimal{k} (k
= 32).
Georg Brandl ge...@python.org added the comment:
Thanks for the patch! Applied in r81465 f. Merged to 2.x in r81467, will
merge to 3k later.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Benjamin: OK to put this in 2.7?
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson, georg.brandl
priority: normal - high
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch for changing '_clamp' into 'clamp'.
--
keywords: +patch
Added file: http://bugs.python.org/file17438/decimal_public_clamp.patch
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in r81468 with a slightly different patch.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8635
Mark Dickinson dicki...@gmail.com added the comment:
Fixed in r81470.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8749
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Mark Dickinson rep...@bugs.python.org wrote:
It's Table 3.6 (Decimal interchange format parameters) in the final version
of IEEE 754;
Thanks! I think this is not in the draft I have.
+1 for IEEEContext(n). Could we have module
Changes by Mark Dickinson dicki...@gmail.com:
--
components: +Library (Lib)
stage: - needs patch
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8786
___
Benjamin Peterson benja...@python.org added the comment:
2010/5/22 holger krekel rep...@bugs.python.org:
holger krekel holger.kre...@gmail.com added the comment:
Great. Also to be backported to 2.x?
That is 2.x.
--
___
Python tracker
Stefan Krah stefan-use...@bytereef.org added the comment:
The patch looks good, +1 for applying it. I'm not a native speaker, but
probably:
are subject to clamping this manner = are subject to clamping in this
manner
--
___
Python tracker
New submission from Sebastian python.10.webmas...@spamgourmet.com:
Hi all,
I found a bug in the exception handler. When I
start the app without any arguments I get an
output I expect:
__main__:2:DeprecationWarning: Deprecated function.
When I run the app with arguments, the arguments
are
Sebastian python.10.webmas...@spamgourmet.com added the comment:
Could anyone please correct the title? Thx :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8787
___
Tiberius Teng tiberius.t...@gmail.com added the comment:
I believe I have isolated the problem.
After generating html help files with sphinx
$ sphinx-build -bhtmlhelp -a . build
Edit build/python265.hhp and remove following two lines:
Binary TOC=Yes
Binary Index=No
And build the chm again,
Tiberius Teng tiberius.t...@gmail.com added the comment:
I have built a copy myself, with some icon style/CSS tweaking. Please test it
out ;)
--
Added file: http://bugs.python.org/file17439/python265.chm
___
Python tracker rep...@bugs.python.org
Tiberius Teng tiberius.t...@gmail.com added the comment:
Here's the .hhp file I used to compile this chm, other files can be obtained by
using HTML Help Workshop to decompile this chm.
--
Added file: http://bugs.python.org/file17440/python265.hhp
New submission from Jeroen Habraken vexoc...@gmail.com:
The urllib.urlencode documentation is unclear with regard to the 'doseq'
option. In my opinion it does not clearly state what its functionality is.
--
assignee: d...@python
components: Documentation
messages: 106311
nosy:
Jeroen Habraken vexoc...@gmail.com added the comment:
An elaboration as requested on IRC: It appears to make claims about 'the
sequence', but doesn't make clear that 'doseq' matters when *v* is a sequence.
It is easy to assume it refers to the query sequence, which is of course always
a
Tim Hatch t...@timhatch.com added the comment:
I also noticed that libforensics supplies a codec for cp858, if that's helpful
to double-check the implementation.
http://code.google.com/p/libforensics/source/browse/code/lf/win/codepage/cp858.py
--
Dan Buch daniel.b...@gmail.com added the comment:
@haypo - what patch? :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4769
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
This one!
--
keywords: +patch
Added file: http://bugs.python.org/file17441/base64_main.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4769
STINNER Victor victor.stin...@haypocalc.com added the comment:
Fixed: 2.7 (r81459), 2.6 (r81460), 3.2 (r81461), 3.1 (r81462).
This fix doesn't work on Windows nor Solaris: it uses wt+ file mode, whereas
t in invalid on these OS (does t mode really exist?).
While fixing this bug, I noticed
New submission from reynaldo renbe...@gmail.com:
Your friend, renbe...@gmail.com, has sent you the following Google Gadget.
See Hamster on your Google homepage »
screenshot
--
files: unnamed
messages: 106317
nosy: renben
priority: normal
severity: normal
status: open
title: See
New submission from reynaldo renbe...@gmail.com:
Your friend, renbe...@gmail.com, has sent you the following Google Gadget.
See Hamster on your Google homepage »
screenshot
--
files: unnamed
messages: 106318
nosy: renben
priority: normal
severity: normal
status: open
title: See
New submission from reynaldo renbe...@gmail.com:
Your friend, renbe...@gmail.com, has sent you the following Google Gadget.
See Hamster on your Google homepage »
screenshot
--
files: unnamed
messages: 106319
nosy: renben
priority: normal
severity: normal
status: open
title: See
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8789
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8791
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8790
___
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for catching the doc typo! Actually, I didn't like that doc addition
anyway, so I rewrote it.
Committed in r81476.
--
resolution: - accepted
status: open - closed
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
Doc changes merged in r81477 (release26-maint) and r81480 (release31-maint).
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7355
Changes by Eric Smith e...@trueblade.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8789
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Smith e...@trueblade.com:
Removed file: http://bugs.python.org/file17442/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8789
___
Changes by Eric Smith e...@trueblade.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8790
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Smith e...@trueblade.com:
Removed file: http://bugs.python.org/file17443/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8790
___
Changes by Eric Smith e...@trueblade.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8791
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Eric Smith e...@trueblade.com:
Removed file: http://bugs.python.org/file17444/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8791
___
New submission from Attila Nagy b...@fsn.hu:
When talking to an Apache XML-RPC library based application via python 2.6.5
xmlrpclib, I get this exception:
Traceback (most recent call last):
File prb.py, line 4, in module
proxy.catv.getEndpointIdByIp('1.1.1.1')
File
Antoine Pitrou pit...@free.fr added the comment:
The patch probably needs refreshing now that first SSL contexts are in.
I wonder whether a combined boolean/string flag is really the best solution.
I think we could instead enable SNI by default and add an optional
server_hostname to set the
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Here's another possible approach:
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
ctx.set_tlsext_host_name(foo.bar)
skt = ctx.wrap_socket(socket.socket())
skt.connect(bar.baz)
This makes it obvious what the SNI hostname is and what the
Mark Dickinson dicki...@gmail.com added the comment:
Thinking ahead a bit: at some point we might well also want functions to pack
and unpack these IEEE formats into byte sequences, using the bit
representations described in the standard.
A natural place for those functions would be as
1 - 100 of 101 matches
Mail list logo