On Thu, 16 Aug 2012 15:09:47 -0700, Charles Jensen wrote:
Everyone knows that the python command
ord(u'…')
will output the number 8230 which is the unicode character for the
horizontal ellipsis.
How would I use ord() to find the unicode value of a string stored in a
variable?
On Fri, 17 Aug 2012 02:27:42 +, Steven D'Aprano wrote:
On Fri, 17 Aug 2012 08:43:50 +1000, Chris Angelico wrote:
On Fri, Aug 17, 2012 at 6:54 AM, Eric Frederich
eric.freder...@gmail.com wrote:
Hello,
I have a bunch of Python bindings for a 3rd party software running on
the server
On Fri, Aug 17, 2012 at 12:27 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
There is already awesome protocols for running Python code remotely over
a network. Please do not re-invent the wheel without good reason.
See pyro, twisted, rpyc, rpclib, jpc, and probably many
On Aug 17, 3:36 am, Chris Angelico ros...@gmail.com wrote:
On Fri, Aug 17, 2012 at 1:40 AM, Ramchandra Apte maniandra...@gmail.com
wrote:
On 16 August 2012 21:00, Mark Lawrence breamore...@yahoo.co.uk wrote:
and bottom reads better than top
Look you are the only person complaining about
Hi.
As a lurker, I agree completely with Chris's sentiments.
+1
Best regards,
Jurko Gospodnetić
--
http://mail.python.org/mailman/listinfo/python-list
I that Outlook Co are guilty. That and the fact that few people even
think about this. Even today that makes sense, because it provides an
exact context. Without that, you wouldn't be able to really understand
what exactly a person is referring to. Also, it helps people to
structure their
===case1==:
import sqlalchemy
test1 = 631f2f68-8731-4561-889b-88ab1ae7c95a
cmdTest1 = select * from analyseresult where uid = + test1
engine =
sqlalchemy.create_engine(mssql+pyodbc://DumpResult:123456@localhost/DumpResult)
c =
nepaul xs.nep...@gmail.com writes:
===case1==:
import sqlalchemy
test1 = 631f2f68-8731-4561-889b-88ab1ae7c95a
cmdTest1 = select * from analyseresult where uid = + test1
engine =
nepaul wrote:
===case1==:
import sqlalchemy
test1 = 631f2f68-8731-4561-889b-88ab1ae7c95a
cmdTest1 = select * from analyseresult where uid = + test1
engine =
sqlalchemy.create_engine(mssql+pyodbc://DumpResult:123456@localhost/DumpResult)
c =
On Aug 17, 12:25 pm, Chris Angelico ros...@gmail.com wrote:
On Fri, Aug 17, 2012 at 12:27 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
There is already awesome protocols for running Python code remotely over
a network. Please do not re-invent the wheel without good
On Thursday, 16 August 2012 19:49:43 UTC+2, Steven D'Aprano wrote:
On Thu, 16 Aug 2012 10:03:51 -0700, Richard Thomas wrote:
class Foo(object):
def __new__(cls, arg):
if isinstance(arg, list):
cls = FooList
elif isinstance(arg, dict):
Am 17.08.2012 03:01, schrieb Paul Rubin:
Ian Kelly ian.g.ke...@gmail.com writes:
With regard to key insertion and deletion while iterating over a dict
or set, though, there is just no good reason to be doing that
(especially as the result is very implementation-specific), and I
wouldn't mind a
On 16/08/12 23:34:25, Walter Hurry wrote:
On Thu, 16 Aug 2012 17:20:29 -0400, Terry Reedy wrote:
On 8/16/2012 11:40 AM, Ramchandra Apte wrote:
Look you are the only person complaining about top-posting.
No he is not. Recheck all the the responses.
GMail uses top-posting by default.
It
On 2012-08-16, Chris Angelico ros...@gmail.com wrote:
On Fri, Aug 17, 2012 at 1:40 AM, Ramchandra Apte maniandra...@gmail.com
wrote:
On 16 August 2012 21:00, Mark Lawrence breamore...@yahoo.co.uk wrote:
and bottom reads better than top
Look you are the only person complaining about
What I wanted to implement was a debugging console that runs right on the
client rather than on the server.
You'd have to be logged into the application to do anything meaningful or
even start it up.
All of the C functions that I created bindings for respect the security of
the logged in user.
Hello
I'm learning how to call Python scripts through the different
solutions available.
For some reason, this CGI script that I found on Google displays the
contents of the variable but the HTML surrounding it is displayed
as-is by the browser instead of being rendered:
--
On 17 August 2012 14:27, Gilles nos...@nospam.com wrote:
print Content-Type: text/plain;charset=utf-8
print
Here's the problem - you're telling the browser to display in plain text.
Try 'text/html' instead.
--
Robert K. Day
robert@merton.oxon.org
--
On 2012-08-17 at 15:27:59 +0200,
Regarding [CGI] Why is HTML not rendered?,
Gilles nos...@nospam.com wrote:
For some reason, this CGI script that I found on Google displays the
contents of the variable but the HTML surrounding it is displayed
as-is by the browser instead of being rendered:
On 8/17/12 2:27 PM, Gilles wrote:
Hello
I'm learning how to call Python scripts through the different
solutions available.
For some reason, this CGI script that I found on Google displays the
contents of the variable but the HTML surrounding it is displayed
as-is by the browser instead
On 17.08.2012 15:27, Gilles wrote:
For some reason, this CGI script that I found on Google displays the
contents of the variable but the HTML surrounding it is displayed
as-is by the browser instead of being rendered:
print Content-Type: text/plain;charset=utf-8
With this line you tell the
On Fri, Aug 17, 2012 at 11:28 PM, Eric Frederich
eric.freder...@gmail.com wrote:
Within the debugging console, after importing all of the bindings, there
would be no reason to import anything whatsoever.
With just the bindings I created and the Python language we could do
meaningful debugging.
On 08/17/2012 09:38 AM, zmagi...@gmail.com wrote:
Hi,
Downloaded ActiveSync ActivePython on my Windows 7 machine. Worked for a
little while and now it crashes every time I try to boot the IDLE or open a
program, it crashes. Help please? Thanks
I'm not aware of any boot option for Windows
Hi,
I am developing audiogame for visually impaired users and I want it to
be multiplatform. I know, that there is library called accessible_output
but it is not working when used in Windows for me.
I tried pyttsx, which should use Espeak on Linux and SAPI5 on Windows.
It works on Windows, on
On Fri, 17 Aug 2012 14:44:37 +0100, Robert Kern
robert.k...@gmail.com wrote:
For some reason, this CGI script that I found on Google displays the
contents of the variable but the HTML surrounding it is displayed
as-is by the browser instead of being rendered
Thanks all. I (obviously) combined
On Aug 17, 10:19 am, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
On Thu, 16 Aug 2012 15:42:54 -0700 (PDT), Madison May
worldpeaceagentforcha...@gmail.com declaimed the following in
gmane.comp.python.general:
As a lurker, I agree completely with Chris's sentiments.
I've been
On Aug 17, 2012 8:58 AM, Dave Angel d...@davea.name wrote:
Also, please tell us the versions involved, and in the case of
ActiveSync, where you got it.
http://sourceforge.net/apps/trac/unattended/wiki/ActiveSync
seems to be perl related, not Python.
Presumably you mean the Microsoft
Le vendredi 17 août 2012 01:59:31 UTC+2, Terry Reedy a écrit :
a = '…'
print(ord(a))
8230
Most things with unicode are easier in 3.x, and some are even better in
3.3. The current beta is good enough for most informal work. 3.3.0 will
be out in a month.
--
Terry
On Thursday, August 16, 2012 6:07:40 PM UTC-5, Ian wrote:
On Thu, Aug 16, 2012 at 4:55 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Thu, Aug 16, 2012 at 12:00 PM, Aaron Brady castiro...@gmail.com wrote:
The inconsistency is, if we remove an element from a set and add another
during
On Thursday, August 16, 2012 8:01:39 PM UTC-5, Paul Rubin wrote:
Ian Kelly ian.g.ke...@gmail.com writes:
With regard to key insertion and deletion while iterating over a dict
or set, though, there is just no good reason to be doing that
(especially as the result is very
On Thursday, August 16, 2012 9:30:42 PM UTC-5, Paul Rubin wrote:
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes:
Luckily, Python is open source. If anyone thinks that sets and dicts
should include more code protecting against mutation-during-iteration,
they are more
On Fri, Aug 17, 2012 at 1:49 PM, wxjmfa...@gmail.com wrote:
The character '…', Unicode name 'HORIZONTAL ELLIPSIS',
is one of these characters existing in the cp1252, mac-roman
coding schemes and not in iso-8859-1 (latin-1) and obviously
not in ascii. It causes Py3.3 to work a few 100% slower
On Thursday, August 16, 2012 9:24:44 PM UTC-5, Steven D'Aprano wrote:
On Thu, 16 Aug 2012 19:11:19 -0400, Dave Angel wrote:
On 08/16/2012 05:26 PM, Paul Rubin wrote:
Dave Angel d...@davea.name writes:
Everything else is implementation defined. Why should an
implementation be
Le vendredi 17 août 2012 20:21:34 UTC+2, Jerry Hill a écrit :
On Fri, Aug 17, 2012 at 1:49 PM, wxjmfa...@gmail.com wrote:
The character '…', Unicode name 'HORIZONTAL ELLIPSIS',
is one of these characters existing in the cp1252, mac-roman
coding schemes and not in iso-8859-1 (latin-1)
Awesome guys! Thank you very much!
I ended up using binary_form=True and using M2Crypto to parse the cert.
Cheers,
g.
On Thu, Aug 16, 2012 at 4:48 AM, Antoine Pitrou solip...@pitrou.net wrote:
Hello,
Gustavo Baratto gbaratto at gmail.com writes:
SSL.Socket.getpeercert() doesn't return
On Fri, Aug 17, 2012 at 6:46 AM, coldfire amangill.coldf...@gmail.com wrote:
I would like to know that where can a python script be stored on-line from
were it keep running and can be called any time when required using internet.
I have used mechanize module which creates a webbroswer instance
Just installed python 2.7 and using with web2py.
When running python from command line to bring up web2py server, get errors
that python socket and urllib modules cannot be found, can't be loaded. This is
not a web2py issue.
No other python versions are on the my machine. Pythonpath has the
On 8/17/2012 12:20 PM wdt...@comcast.net said...
Just installed python 2.7 and using with web2py.
When running python from command line to bring up web2py server, get errors
that python socket and urllib modules cannot be found, can't be loaded. This is
not a web2py issue.
So, on my system
So, on my system I get:
ActivePython 2.7.0.2 (ActiveState Software Inc.) based on
Python 2.7 (r27:82500, Aug 23 2010, 17:18:21) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
import urllib
import socket
What
On 08/17/2012 02:45 PM, wxjmfa...@gmail.com wrote:
Le vendredi 17 août 2012 20:21:34 UTC+2, Jerry Hill a écrit :
SNIP
I don't understand what any of this has to do with Python. Just
output your text in UTF-8 like any civilized person in the 21st
century, and none of that is a problem at
On 8/17/2012 1:41 PM wdt...@comcast.net said...
From cmd prompt - I get this:
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on
win32
Type help, copyright, credits or license for more information.
import urllib
Traceback (most recent call last):
File stdin, line
So, try the following in both environments:
import sys
for ii in sys.path: print ii
You'll likely find diffferences between the two.
In the pythonwin environment, try:
import socket
print socket.__file__
Chances are the __file__'s directory isn't in the
On Friday, August 17, 2012 5:15:35 PM UTC-4, (unknown) wrote:
So, try the following in both environments:
import sys
for ii in sys.path: print ii
You'll likely find diffferences between the two.
In the pythonwin environment, try:
On Friday, August 17, 2012 3:20:48 PM UTC-4, (unknown) wrote:
Just installed python 2.7 and using with web2py.
When running python from command line to bring up web2py server, get errors
that python socket and urllib modules cannot be found, can't be loaded. This
is not a web2py
On Sat, Aug 18, 2012 at 4:37 AM, Aaron Brady castiro...@gmail.com wrote:
Is there a problem with hacking on the Beta?
Nope. Hack on the beta, then when the release arrives, rebase your
work onto it. I doubt that anything of this nature will be changed
between now and then.
ChrisA
--
On 8/17/2012 2:22 PM wdt...@comcast.net said...
Done - tail end of the python path had a missing bit...gr... thanks so much
Well it's bizarre - now it doesn't. did an import sys from within interpreter,
then did import socket. Worked the first time. Restarted and it happened
again.
Am 17.08.2012 21:20, schrieb wdt...@comcast.net:
Just installed python 2.7 and using with web2py.
When running python from command line to bring up web2py server, get errors
that python socket and urllib modules cannot be found, can't be loaded. This
is not a web2py issue.
No other
On Aug 17, 2012 2:58 PM, Dave Angel d...@davea.name wrote:
The internal coding described in PEP 393 has nothing to do with latin-1
encoding.
It certainly does. PEP 393 provides for Unicode strings to be represented
internally as any of Latin-1, UCS-2, or UCS-4, whichever is smallest and
On Fri, 17 Aug 2012 09:36:04 -0700, rusi wrote:
I was in a corporate environment for a while. And carried my
'triminterleave' habits there.
And got gently scolded for seeming to hide things!!
Corporate email users are generally incompetent at email no matter what
email conventions you use.
On Fri, 17 Aug 2012 04:50:43 -0700, Richard Thomas wrote:
On Thursday, 16 August 2012 19:49:43 UTC+2, Steven D'Aprano wrote:
On Thu, 16 Aug 2012 10:03:51 -0700, Richard Thomas wrote:
class Foo(object):
def __new__(cls, arg):
if isinstance(arg, list):
cls =
:
On 17 August 2012 21:43, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
There are cultures that marry five year old girls to sixty year old men,
cultures that treat throwing acid in the faces of women as acceptable
behaviour, cultures that allow war heroes to die of hunger and
On Friday, August 17, 2012 9:38:16 PM UTC+8, zmag...@gmail.com wrote:
Hi,
Downloaded ActiveSync ActivePython on my Windows 7 machine. Worked for a
little while and now it crashes every time I try to boot the IDLE or open a
program, it crashes. Help please? Thanks
Hi Hi, sorry for the
On 08/17/2012 08:21 PM, Ian Kelly wrote:
On Aug 17, 2012 2:58 PM, Dave Angel d...@davea.name wrote:
The internal coding described in PEP 393 has nothing to do with latin-1
encoding.
It certainly does. PEP 393 provides for Unicode strings to be represented
internally as any of Latin-1, UCS-2,
On Fri, 17 Aug 2012 11:45:02 -0700, wxjmfauth wrote:
Le vendredi 17 août 2012 20:21:34 UTC+2, Jerry Hill a écrit :
On Fri, Aug 17, 2012 at 1:49 PM, wxjmfa...@gmail.com wrote:
The character '…', Unicode name 'HORIZONTAL ELLIPSIS',
is one of these characters existing in the cp1252,
On Fri, 17 Aug 2012 23:30:22 -0400, Dave Angel wrote:
On 08/17/2012 08:21 PM, Ian Kelly wrote:
On Aug 17, 2012 2:58 PM, Dave Angel d...@davea.name wrote:
The internal coding described in PEP 393 has nothing to do with
latin-1 encoding.
It certainly does. PEP 393 provides for Unicode strings
Hi,
I'm new to regular expressions. I want to be able to match for tokens
with all their properties in the following examples. I would
appreciate some direction on how to proceed.
h1@foo1/h1
p@foo2()/p
p@foo3(anything could go here)/p
Thanks-
Frank
--
On Sat, Aug 18, 2012 at 2:41 PM, Frank Koshti frank.kos...@gmail.com wrote:
Hi,
I'm new to regular expressions. I want to be able to match for tokens
with all their properties in the following examples. I would
appreciate some direction on how to proceed.
h1@foo1/h1
p@foo2()/p
Eric Snow added the comment:
The following seems to indicate that an ImportError should be raised as
expected. I'm guessing that somewhere along the line the exception gets
silently eaten.
--
(3.2) Python/import.c:ensure_fromlist() [1]
submod =
Georg Brandl added the comment:
I agree that we should match 3.2 behavior here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15715
___
___
Martin v. Löwis added the comment:
Sure; I've mentored Robin throughout the summer with this, and this is his GSoC
project.
As for the specific change: this is primarily to support PEP 3121, and allowing
multiple interpreters to use a module without fear of global variables being
shared
Petri Lehtinen added the comment:
Sounds like a bug to me.
It's not too straightforward to fix, though. The order of MIME types is lost
because they are stored as keys of a dict. AFAICS, it wouldn't help to use
OrderedDict and checking for the wildcard type first if its index is smaller.
Changes by Petri Lehtinen pe...@digip.org:
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14977
___
___
Python-bugs-list
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15702
___
New submission from Rostyslav Dzinko:
I've encountered that OverflowError which can happen in __len__ method is still
undocumented, though one issue on this problem:
http://bugs.python.org/issue12159 ended up with need to be documented comment.
Link to documentation:
Changes by Rostyslav Dzinko rostislav.dzi...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15718
___
___
Stefan Krah added the comment:
There is still one corner case involving NaNs: Released memoryviews always
compare equal. I took that over from the 3.2 implementation.
import array
a = array.array('d', [float('nan')])
m = memoryview(a)
m == m
False
m.release()
m == m
True
I guess we have
Florent Xicluna added the comment:
Thank you for digging into this. I close the issue.
I discover now that this kind of problem is quite common in the Mac world.
Other references:
http://news.ycombinator.com/item?id=3879194
http://www.markvanda.net/apple/mac-os-x-memory-issues/
--
Richard Oudkerk added the comment:
Updated patch.
--
Added file: http://bugs.python.org/file26879/finalize.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15528
___
Roundup Robot added the comment:
New changeset 636f75da4b9e by Richard Oudkerk in branch '3.2':
Issue #14501: Clarify that authentication keys are byte strings
http://hg.python.org/cpython/rev/636f75da4b9e
--
nosy: +python-dev
___
Python tracker
Richard Oudkerk added the comment:
I have fixed the documentation and examples to say that authentication keys are
byte strings.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Martin v. Löwis added the comment:
Without looking into the details of the issue: conditionalizing a work-around
on OSX sounds right. On the one hand, it may penalize OSX releases which get it
right. OTOH, it's all Apple's fault (IIUC), so they deserve it :-)
Further, using a build-time
Roundup Robot added the comment:
New changeset 78b0f294674c by Richard Oudkerk in branch '2.7':
Issue #15412: Remove erroneous note about weakrefs
http://hg.python.org/cpython/rev/78b0f294674c
New changeset 24b13be81d61 by Richard Oudkerk in branch '3.2':
Issue #15412: Remove erroneous note
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15412
___
Brett Cannon added the comment:
And this is why we have said people should use the idiom of
``__import__('http.blah'); mod = sys.modules['http.blah']`` if importlib is not
used (which is on PyPI and works as far back as Python 2.3), else you will deal
with an AttributeError later instead of
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15627
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15640
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15641
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15642
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15645
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15650
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15651
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15653
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15652
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15654
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15655
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15657
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15662
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15665
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15666
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15667
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15669
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15670
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15671
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15672
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15673
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15674
___
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15675
___
___
Roundup Robot added the comment:
New changeset 0d52f125dd32 by Brett Cannon in branch 'default':
Issue #15715: Ignore failed imports triggered by the use of fromlist.
http://hg.python.org/cpython/rev/0d52f125dd32
--
nosy: +python-dev
___
Python
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15715
___
Martin v. Löwis added the comment:
Antoine: Py_DECREF calls tp_dealloc directly, so the type needs to be DECREFed
in the course of tp_dealloc. I don't think there is any alternative to that.
One may wonder why regular extension types don't do that: this is because of a
hack that excludes
Eric Snow added the comment:
When people want to import modules with runtime names, they regrettably turn
to __import__() and likely will for a while. What a source of headaches!
If it were less convenient to use __import__(), perhaps fewer people would use
it. Could we remove it from
1 - 100 of 164 matches
Mail list logo