Daniel Black dan...@cacert.org added the comment:
The small deficiency with these patches is that the specified
server_hostname is almost always the hostname that is used in the socket
pair of connect. Is it appropriate to grab the hostname value and use it
in the SNI extension header?
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I think your test is invalid: it creates the file in w mode, so \n are
written as two bytes \r\n on the disk.
codecs.open just reads them back.
--
nosy: +amaury.forgeotdarc
resolution: - invalid
status: open - pending
New submission from Andrew Liu mushywu...@gmail.com:
A simple lstrip on the following causes an extra character to be
stripped, as per the below. Tried on 2.6.1 and on 2.4.3, as below.
Python 2.6.1 (r261:67515, Feb 27 2009, 02:54:13)
[GCC 4.3.2 20081105 (Red Hat 4.3.2-7)] on linux2
Type help,
Georg Brandl ge...@python.org added the comment:
Well, in that case I don't understand how it is different from
difference_update() ?
It's different from difference_update because that takes multiple
arguments. The operator form shows an equivalent and therefore shows how
to write an
Mark Dickinson dicki...@gmail.com added the comment:
This is not a bug: the argument to lstrip effectively specifies a set
of characters to be removed; in your example, 'c' is in that set, so
the 'c' at the beginning of city gets removed. 'i' is not in that set,
so it stays.
lstrip(...)
Daniel Black dan...@cacert.org added the comment:
The changeset that changed the definitions is here:
http://cvs.openssl.org/chngview?cn=12024 (2004-Mar-14 23:15:13 (UTC))
As you can see there is no easy identifier in the changeset (i'm not
sure how portable an ifdef on a typedef is (possible
New submission from Yinon Ehrlich yino...@users.sourceforge.net:
in http://docs.python.org/library/signal.html#signal.signal the reader
is referred to see the reference manual section on the standard type
hierarchy. It would be generous if we will supply a link like
Daniel Black dan...@cacert.org added the comment:
Is fixed in p3k Mon Sep 8 16:45:19 2008 UTC
http://svn.python.org/view/python/branches/py3k/Lib/test/test_ssl.py?r1=65837r2=66311
--
nosy: +grooverdan
versions: +Python 3.1, Python 3.2
___
Python
Mark Dickinson dicki...@gmail.com added the comment:
The patch works for me. Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6802
___
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the patch.
Applied in r74604 (trunk), r74605 (py3k), r74606 (release31-maint).
--
assignee: georg.brandl - marketdickinson
components: +Build -Documentation
nosy: +marketdickinson
resolution: - accepted
stage: -
Senthil orsent...@gmail.com added the comment:
Fixed and
Committed revision 74608 - trunk
Committed revision 74609 - py3k
--
resolution: - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2637
Ned Deily n...@acm.org added the comment:
With the patch installed, no regressions were seen running my standard set
of OSX installer builds/installs/regtests on 10.4 and 10.5.
--
___
Python tracker rep...@bugs.python.org
New submission from Brett Cannon br...@python.org:
For compatibility w/ import, importlib needs the ability to set
code.co_filename to the actual location of the bytecode used to create a
module and not the path embedded in the marshal data. But since
co_filename is read-only it can't be done
Changes by Fred L. Drake, Jr. fdr...@acm.org:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6811
___
___
Python-bugs-list mailing
Changes by Jason Montleon mont...@hotmail.com:
--
nosy: +xaoslaad
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6802
___
___
Python-bugs-list
Adam Olsen rha...@gmail.com added the comment:
The key distinction between this and a bad circular import is that
this is lazy. You may list the import at the top of your module, but
you never touch it until after you've finished importing yourself (and
they feel the same about you.)
An ugly
Brett Cannon br...@python.org added the comment:
I have done a lazy importer like you describe, Adam, and it does help
solve this issue. And it does have the problem of import errors being
triggered rather late and in an odd spot.
--
___
Python
Adam Olsen rha...@gmail.com added the comment:
It'd probably be sufficient if we raised NameError: lazy import 'foo'
not yet complete. That should require a set of what names this module
is lazy importing, which is checked in the failure paths of module
attribute lookup and global/builtin
New submission from Seamus O'Shea os...@uleth.ca:
Attempts to compile a simple example using XCode 3.2 (Xcode IDE: 1610.0,
Xcode Core: 1608.0, ToolSupport: 1591.0)under Snow Leopard fail with
error message
Traceback (most recent call last):
File /Users/seamus/Science/xcode exploration/Objc-
Phil Pennock python-...@spodhuis.org added the comment:
(Sorry for dropping this, lost available time)
I see your point. OTOH, use of SNI needs to be something that can be
disabled and people need to be able to connect to host A while supplying
host B, not necessarily using IP addresses for
Changes by Miles Kaufmann mile...@umich.edu:
Removed file: http://bugs.python.org/file14796/urllib_parse.py3k.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5468
___
New submission from Daniel Black dan...@cacert.org:
Release notes show the use of '{}'.format('this') and the attached patch
updates this to be the default example in the tutorial. Library
references are updated to show field_name as optional and a few examples
are added.
Relates to the
22 matches
Mail list logo