mekk.xmind 0.4.0 has just been released
What it is?
===
mekk.xmind is a pure-Python handler for XMind mind-map files.
It can be used to:
- generate XMind mind-maps from scratch (for example to visualize
some data as a mind-map),
- modify existing .xmind files,
- parse existing .xmind
On 7/9/2010 11:08 PM, Dennis Lee Bieber wrote:
On Sat, 10 Jul 2010 06:56:13 +0200, Rene Veermanrene7...@gmail.com
declaimed the following in gmane.comp.python.general:
hi.
i'm using this function;
def dbCacheGet(self, appParams):
results = db.GqlQuery(
On 10 Jul 2010, at 16:21, John Nagle wrote:
On 7/9/2010 11:08 PM, Dennis Lee Bieber wrote:
On Sat, 10 Jul 2010 06:56:13 +0200, Rene Veermanrene7...@gmail.com
declaimed the following in gmane.comp.python.general:
hi.
i'm using this function;
def dbCacheGet(self, appParams):
Dear friends,
I have several 2 column file which i need to plot in one figure.
I generally do it using gnuplot, but when there is several files, its
hard to do manually.
can you tell me how i can load a file in python and plot several file
in one figure(as it is done via replot in gnuplot)?
I am
On 2010-07-10, rudra bnrj.ru...@gmail.com wrote:
Dear friends,
I have several 2 column file which i need to plot in one figure.
I generally do it using gnuplot, but when there is several files, its
hard to do manually.
can you tell me how i can load a file in python and plot several file
in
I think I am trying to open a can of worms. It's better to leave the
idea for now.
Prashant
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 9 Jul 2010 16:49:20 + (UTC) Grant Edwards
inva...@invalid.invalid wrote:
On 2010-07-09, Dani Valverde dani.valve...@gmail.com wrote:
I am new to python and pretty new to programming (I have some
expertise wit R statistical programming language). I am just
starting, so my
On 9 Jul., 18:31, Dani Valverde dani.valve...@gmail.com wrote:
Hello!
I am new to python and pretty new to programming (I have some expertise
wit R statistical programming language). I am just starting, so my
questions may be a little bit stupid. Can anyone suggest a good editor
for python?
On Jul 10, 1:13 pm, Tim Harig user...@ilthio.net wrote:
It would really help to see a representative sample of the data that you
are working with and what you want the plot to look like.
The data looks something like that:
0.70711 -2.57266
1.0 0.16694
1.22474 -0.15287
1.41421 0.28025
geremy condra wrote:
On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde dani.valve...@gmail.com wrote:
Sorry, I forgot to mention that I am using Linux. In fact, my first test
have been with gedit. Is there any way to directly run the Python code into
the console?
Gedit has a plugin that
On Sat, Jul 10, 2010 at 6:49 AM, Dani Valverde dani.valve...@gmail.com wrote:
geremy condra wrote:
On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde dani.valve...@gmail.com
wrote:
Sorry, I forgot to mention that I am using Linux. In fact, my first test
have been with gedit. Is there any way to
geremy condra wrote:
On Sat, Jul 10, 2010 at 6:49 AM, Dani Valverde dani.valve...@gmail.com wrote:
geremy condra wrote:
On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde dani.valve...@gmail.com
wrote:
Sorry, I forgot to mention that I am using Linux. In fact, my first test
have
On 10/07/2010 13:05, Dani Valverde wrote:
It could be a solution. But I am used to work with gEdit using the R
statistical programming language plugin, and I am able to send the code
to console instead of typing it in.
To run your code, save it to a file 'mycode.py' (or whatever), then open
a
On Jul 10, 8:49 pm, Dani Valverde dani.valve...@gmail.com wrote:
geremy condra wrote:
On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde dani.valve...@gmail.com
wrote:
Sorry, I forgot to mention that I am using Linux. In fact, my first test
have been with gedit. Is there any way to directly
On Sat, Jul 10, 2010 at 7:05 AM, Dani Valverde dani.valve...@gmail.com wrote:
geremy condra wrote:
On Sat, Jul 10, 2010 at 6:49 AM, Dani Valverde dani.valve...@gmail.com
wrote:
geremy condra wrote:
On Fri, Jul 9, 2010 at 1:08 PM, Dani Valverde dani.valve...@gmail.com
wrote:
Sorry, I
All,
I have been finding python.org site very slow for the last year and
probably before. Is there any known reason why the site is slow? I
tried accessing it from several locations and I always get to wait
several seconds for a page to load (in any browser/OS).
Thanks
-- Pierre
--
On Sat, 10 Jul 2010 06:30:11 -0700 (PDT)
Pierre Rouleau prouleau...@gmail.com wrote:
All,
I have been finding python.org site very slow for the last year and
probably before. Is there any known reason why the site is slow?
For the last year??
It's been mostly zippy here.
Is IPv6 enabled on
On Jul 10, 9:48 am, Antoine Pitrou solip...@pitrou.net wrote:
On Sat, 10 Jul 2010 06:30:11 -0700 (PDT)
I have been finding python.org site very slow for the last year and
probably before. Is there any known reason why the site is slow?
For the last year??
It's been mostly zippy here.
Is
For the last year??
It's been mostly zippy here.
Is IPv6 enabled on your computer? If so, I'd try to disable it.
python.org domains resolve to both IPv4 and IPv6 addresses and, if your
computer has IPv6 enabled but you don't have any IPv6 connectivity,
this can result in slowdowns.
That is
I did disable IPv6 on my computer at home and it did speed it up. I'll
check the other computers where I experienced the same slowness.
Of course, it would be interesting to find out what precisely went
wrong. If you are curious to find out, let me know, and I'll help
investigating.
Regards,
Sorry I have searched related topic but none could point out this
problem.
I am currently using python 3.1.2:
Python 3.1.2 (r312:79147, Jun 30 2010, 11:58:11)
[GCC 4.2.1 20070719 [FreeBSD]] on freebsd8
And for the following three simple lines of code, borrowed from
official python-doc 3.1.2:
On Sat, 10 Jul 2010 16:03:24 +0200
Martin v. Loewis mar...@v.loewis.de wrote:
That is a common myth. If your computer doesn't have any IPv6
connectivity, all is fine. The web browser will fallback to IPv4
immediately (*), without sending out any IPv6 datagrams first.
Ok, I suppose the
If your computer does have IPv6 connectivity, but it's broken
(i.e. you have a gateway, but eventually packets are discarded),
you see the IPv4 fallback after the IPv6 timeout. The IPv4 connection in
itself then would be fast.
I think it's what most users experience when they are talking
On Sat, 10 Jul 2010 16:28:19 +0200
Martin v. Loewis mar...@v.loewis.de wrote:
If your computer does have IPv6 connectivity, but it's broken
(i.e. you have a gateway, but eventually packets are discarded),
you see the IPv4 fallback after the IPv6 timeout. The IPv4 connection in
itself then
On Fri, Jul 9, 2010 at 19:31, Dani Valverde dani.valve...@gmail.com wrote:
Hello!
I am new to python and pretty new to programming (I have some expertise wit
R statistical programming language). I am just starting, so my questions may
be a little bit stupid. Can anyone suggest a good editor
On Sat, 10 Jul 2010 07:06:47 -0700, pcchen wrote:
And for the following three simple lines of code, borrowed from official
python-doc 3.1.2:
from urllib.request import urlopen
response = urlopen('http://python.org/') html = response.read()
They could cause this error:
File ./http.py,
Thank You Steve,
I am not using the urllib. I am using the xmlrpc and http modules from the
python library.
Please see the header code for the modules I am including..
from xmlrpc import client
import pprint
class ClientCertTransport(client.Transport):
def make_connection(self,host):
import
Hi all, I'm using py3k and the urllib package to download web pages. Can
you suggest me a package that can translate reserved characters in html
like egrave;, ograve;, eacute; in the corresponding correct
encoding?
Thanks,
Mattia
--
http://mail.python.org/mailman/listinfo/python-list
Speaking on the issue for the first time, Chaudhuri, over the phone
from New York, says, They were completely distorted reports. We are
really good friends for more details www.bollywood789.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 10, 2010, at 09:24 , mattia wrote:
Hi all, I'm using py3k and the urllib package to download web pages. Can
you suggest me a package that can translate reserved characters in html
like egrave;, ograve;, eacute; in the corresponding correct
encoding?
It won't do the whole job for
mattia wrote:
Hi all, I'm using py3k and the urllib package to download web pages. Can
you suggest me a package that can translate reserved characters in html
like egrave;, ograve;, eacute; in the corresponding correct
encoding?
import re
from html.entities import entitydefs
# The
Hi.
I built the [xxmodule.c] from the source distribution, as suggested by the
Python 3.1.1 docs. I named this [xx.pyd], as I believed the module name was just
xx. Indeed importing xx works fine, but when I do help(xx) I get ...
example
help( xx )
Help on module xx:
NAME
Les Schaffer a écrit :
i have been asked to guarantee that a proposed Python application will
run continuously under MS Windows for two months time. And i am looking
to know what i don't know.
(snip)
but none of this has anything to do with Python itself. i am sure python
servers have been
Hi,
I'm using MYSQLdb
and have following code
db = MySQLdb.connect(**cfg)
c = db.cursor()
qrystr = insert mytable set id = %s , other_field = %s
c.execute(qrystr, (id_val,other_field_val) )
What I wondered is whether there is any way to print the 'filled in'
query string for debuggin.
The
Gilles Ganault a écrit :
Hello
I'd like to write a small web app in Python which must include a
forum.
So I checked the relevant article in Wikipedia, which says that only
one forum app is available for Python:
http://en.wikipedia.org/wiki/Comparison_of_internet_forum_software_(other)
Hi,
I'd like to debug a small wsgi module.
I run it either on an apache web server
or locally via wsgiref.simple_server.make_server
and following code snippet:
from wsgiref.simple_server import make_server
httpd = make_server('localhost',8012,application)
while True:
httpd.handle_request()
On 7/9/2010 12:13 PM, Les Schaffer wrote:
i have been asked to guarantee that a proposed Python application will
run continuously under MS Windows for two months time. And i am looking
to know what i don't know.
The app would read instrument data from a serial port,
If the device you're
* John Nagle, on 10.07.2010 20:54:
On 7/9/2010 12:13 PM, Les Schaffer wrote:
i have been asked to guarantee that a proposed Python application will
run continuously under MS Windows for two months time. And i am looking
to know what i don't know.
The app would read instrument data from a
On Jul 10, 2:42 pm, Gelonida gelon...@gmail.com wrote:
Hi,
I'd like to debug a small wsgi module.
I run it either on an apache web server
or locally via wsgiref.simple_server.make_server
and following code snippet:
from wsgiref.simple_server import make_server
httpd =
Dave Angel da...@ieee.org wrote:
Tim Roberts wrote:
No. The multi-thread-aware CRT in Visual C++ (which is the only option
since VS2008) puts errno in thread-local storage, so it's shared by all
CRTs.
I didn't know specifically that errno is in TLS, but I will disagree
with the
Dennis Lee Bieber wrote:
On Sat, 10 Jul 2010 20:22:21 +0200, News123 news1...@free.fr declaimed
the following in gmane.comp.python.general:
Hi,
I'm using MYSQLdb
snip
What I wondered is whether there is any way to print the 'filled in'
query string for debuggin.
Just edit
Sumatra looks like an interesting project
http://pypi.python.org/pypi/Sumatra/0.2
But I have some questions. Is there any mail list or forum? I can't find
anything on the website.
--
http://mail.python.org/mailman/listinfo/python-list
In article mailman.536.1278792518.1673.python-l...@python.org,
Neal Becker ndbeck...@gmail.com wrote:
Sumatra looks like an interesting project
http://pypi.python.org/pypi/Sumatra/0.2
And how are we supposed to know that it's interesting? You should
provide a summary.
Also, it's pretty rude
Il Sat, 10 Jul 2010 18:09:12 +0100, MRAB ha scritto:
mattia wrote:
Hi all, I'm using py3k and the urllib package to download web pages.
Can you suggest me a package that can translate reserved characters in
html like egrave;, ograve;, eacute; in the corresponding
correct encoding?
import
Hi all, I'm using py3k and the urllib package to download web pages. Can
you suggest me a package that can translate reserved characters in html
like egrave;, ograve;, eacute; in the corresponding correct
encoding?
I think the html parser of LXML can convert the entities, too.
Christian
On 7/10/2010 2:03 PM, mattia wrote:
Il Sat, 10 Jul 2010 18:09:12 +0100, MRAB ha scritto:
mattia wrote:
Hi all, I'm using py3k and the urllib package to download web pages.
Can you suggest me a package that can translate reserved characters in
html like egrave;, ograve;, eacute; in the
On 10 Jul 2010 13:48:09 -0700
a...@pythoncraft.com (Aahz) wrote:
Also, it's pretty rude to set followups to gmane.comp.python.general
Can you expand?
--
http://mail.python.org/mailman/listinfo/python-list
On 10Jul2010 09:11, pavan kumar maddali pavan_madd...@yahoo.com wrote:
| Thank You Steve,
| I am not using the urllib.
Your example did:
from urllib.request import urlopen
response = urlopen('http://python.org/') html =
response.read()
| I am using the xmlrpc and http modules from
It is possible that the way Linux (or some Linux setups: many of the
recipes above are for Ubuntu, I use Mandriva myself) handles IPv6
connectivity is suboptimal in some cases, and that connection
attempts don't fail immediately when they should. I don't have enough
knowledge to diagnose
Il Sat, 10 Jul 2010 16:24:23 +, mattia ha scritto:
Hi all, I'm using py3k and the urllib package to download web pages. Can
you suggest me a package that can translate reserved characters in html
like egrave;, ograve;, eacute; in the corresponding correct
encoding?
Thanks,
Mattia
Frederic Rentsch anthra.nor...@bluewin.ch wrote:
I develop in an IDLE window.
Module M says 'from service import *'.
Next I correct a mistake in function 'service.f'.
Now 'service.f' works fine.
I do 'reload (service); reload (M)'.
The function 'M.f' still misbehaves.
'print inspect.getsource
News123 news1...@free.fr wrote:
I'm using MYSQLdb
and have following code
db = MySQLdb.connect(**cfg)
c = db.cursor()
qrystr = insert mytable set id = %s , other_field = %s
c.execute(qrystr, (id_val,other_field_val) )
What I wondered is whether there is any way to print the 'filled in'
query
Hi everybody,
im Roberts wrote:
News123 news1...@free.fr wrote:
I'm using MYSQLdb
and have following code
db = MySQLdb.connect(**cfg)
c = db.cursor()
qrystr = insert mytable set id = %s , other_field = %s
c.execute(qrystr, (id_val,other_field_val) )
What I wondered is whether there
On 7 jul, 08:38, Johan Grönqvist johan.gronqv...@gmail.com wrote:
2010-07-06 19:18, Ritchy lelis skrev:
On 6 jul, 17:29, Alan G Isaacalan.is...@gmail.com wrote:
Unfortunately I cannot make sense of the code you posted.
Provide a detailed description in words (or psuedocode)
of what you
On 10 Jul, 02:23, Tim Chase python.l...@tim.thechases.com wrote:
While I'm not sure how much of Roy's comment was hah, hah, just
serious, this has been my biggest issue with long-running Python
processes on Win32 -- either power outages the UPS can't handle,
or (more frequently) the updates
On 9 Jul, 02:02, Neil Hodgson nyamatongwe+thun...@gmail.com wrote:
If you break the rules by using malloc rather than IMalloc for memory
that is deallocated by a different component to that which allocated it
or try to pass around FILE* objects then you will see failures.
Yes, the CRT
In article mailman.538.1278800746.1673.python-l...@python.org,
Antoine Pitrou solip...@pitrou.net wrote:
On 10 Jul 2010 13:48:09 -0700
a...@pythoncraft.com (Aahz) wrote:
Also, it's pretty rude to set followups to gmane.comp.python.general
Can you expand?
If you look at the original post's
On Fri, Jul 9, 2010 at 5:54 AM, Stopp, Bryan bryan.st...@argushealth.comwrote:
I checked, none of the files are symlinks. The install process never got
to the point where it created sym-links for libraries (if it even does,
I haven't gotten to that point in the install process.)
-B
On 10/07/2010 22:08, Neal Becker wrote:
Sumatra looks like an interesting project
http://pypi.python.org/pypi/Sumatra/0.2
But I have some questions. Is there any mail list or forum? I can't find
anything on the website.
It's part of Neural Ensemble which has a google group (not specifically
source at:
http://github.com/lkcl/grailbrowser
$ python grail.py (note the lack of python1.5 or python2.4)
conversion of the 80 or so regex's to re has been carried out.
entirely successfully or not is a matter yet to be determined. always
a hoot to try browsing http://www.bbc.co.uk or
Let me tell you folks about a recent case of culo rojo i experianced
whilst creating a customized bin packer with Python. First i want to
say that i actually like the fact that i can do this..
py a = []
py if a:
... do something
Instead of this
py if len(a) 0:
... do something
Ok but
On Jul 10, 10:59 pm, Luke Kenneth Casson Leighton
luke.leigh...@gmail.com wrote:
source at:http://github.com/lkcl/grailbrowser
$ python grail.py (note the lack of python1.5 or python2.4)
conversion of the 80 or so regex's to re has been carried out.
entirely successfully or not is a matter
On 7/10/10 10:38 PM, rantingrick wrote:
Seems kinda dumb to build a tuple just so a conditional wont blow
chunks! This integer bool-ing need to be fixed right away!
Yes, let us penalize the thousands of use cases where 0 being false is
useful and good, for the benefit of the one use-case
Terry J. Reedy tjre...@udel.edu added the comment:
Removed file was a dup of msg62113 Jansen 2008-02-06 13:34
FileCookieJars are now in http.cookiejar. Doc says The following CookieJar
subclasses are provided for reading and writing . Further CookieJar subclasses,
including one that reads
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3647
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4246
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4558
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4805
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4805
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
Is this still valid (or has something already been added)?
If so, do you still think it is needed (we seem to have gotten along without it
for 7 years)?
If so, will you rewrite the snippet (it starts with with a dangling 'this') and
specify
Terry J. Reedy tjre...@udel.edu added the comment:
Roumen's comments suggest that this should be closed.
Monty, do you disagree?
--
nosy: +tjreedy
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1977
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1554133
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 2.7, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1626300
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
assignee: - d...@python
keywords: +patch
nosy: +d...@python
stage: unit test needed -
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1539925
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
Please check whether this is still an issue in 3.1, so that there is still an
issue for 3.2.
--
nosy: +tjreedy
versions: +Python 3.2 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
put something somewhere will not get action.
Please suggest specific wording and a specific place to put it and mark it TEXT
or PATCH or something so a doc person can find it.
I am assuming that this does not apply to 3.x.
--
Changes by Terry J. Reedy tjre...@udel.edu:
--
components: +Library (Lib)
stage: - unit test needed
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5888
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1376292
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2053
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - needs patch
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7136
___
Terry J. Reedy tjre...@udel.edu added the comment:
Still not in 2.7: 2.4.1. String literals
include not in the grammar section.
--
nosy: +tjreedy
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1865
Terry J. Reedy tjre...@udel.edu added the comment:
The link does not currently work.
I think this effectively impossible for volunteers. Microsoft has 1000s of paid
employees. Chapter and Sections numbers do not match from version to version.
How many other versions would you link to? Multiple
Changes by Terry J. Reedy tjre...@udel.edu:
--
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6728
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - unit test needed
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6741
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think I've already discussed this with Georg a while ago and we ended up
adding the links on the left sidebar in http://docs.python.org/.
IIRC there's no easy way to find the same document in another version of the
doc, not even now with
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Jack, thanks for the explanation. Glad it seems sensible to more than just one
person. To my eyes, it looks like a little too much magic and I would be more
comfortable if this idea and its variants had been explored more
Matthias Klose d...@debian.org added the comment:
what version of gcc is being used by this buildslave
you already found out, but it's mentioned at the top of the test stdio. I'll
update the compiler and recheck.
--
___
Python tracker
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This is actually the same issue as issue1720250
--
resolution: - duplicate
status: open - closed
superseder: - PyGILState_Ensure does not acquires GIL
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
On Sat, Jul 10, 2010 at 8:26 AM, Matthias Klose rep...@bugs.python.org wrote:
you already found out, but it's mentioned at the top of the test stdio.
Ah yes, so it is. Thank you. I thought I remembered seeing it
somewhere in the buildbot
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This is still the case: the documentation should mention that
PyEval_ReleaseLock() is not the correct function to release the GIL, both the
interpreter lock *and* the current thread state have to be released.
--
assignee: -
Nick Coghlan ncogh...@gmail.com added the comment:
The idea of building this into contextlib actually came out on off-list
discussion between Michael and I. To quote the original suggestion he sent to
me:
What do you think about adding ContextDecorator to contextlib for Python 3.2?
Nick Coghlan ncogh...@gmail.com added the comment:
One thing that Jack's confusion above does suggest to me is that we should
mention in the *ContextDecorator* documentation that it is automatically
applied to the context managers created when you use @contextmanager. A lot of
people familiar
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
this change is just syntactic sugar for
any construct of the following form:
def f():
with cm():
# Do stuff
ContextDecorator lets you instead write:
@cm
def f():
# Do stuff
Nicely expressed. This
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
If I did this for some but not handler classes, then people would probably log
issues saying e.g. Why doesn't NTEventLogHandler support a level argument?
Other handlers do. etc.
What's the big problem with using setLevel() to set the
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
stage: - unit test needed
versions: +Python 3.1, Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4277
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5162
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
versions: +Python 3.2 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1521950
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
components: +Library (Lib) -Extension Modules
stage: unit test needed - patch review
versions: +Python 3.2 -Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
1 - 100 of 320 matches
Mail list logo