I'd like to announce Pyrolite 1.1, a lightweight Pyro client library for Java
and .NET
what is a java/.net library doing in this Python newsgroup?
If you've got a Python application and you find yourself wanting to access it
from the
harsh world of java or .net, Pyrolite could be of help. This
Hi Everyone,
After a brief hiatus, registrations for PyCon Australia 2011 are back
online! We have extended some registration deadlines to compensate
for the outage.
PyCon Australia is Australia's only conference dedicated exclusively to
the Python programming language, and will be held at
Billy Mays wrote:
No one cares and don't spam the list.
... ouch, now I feel really bad... has someone not had their coffee
this morning?
kind regards,
--
m harris
FSF ...free as in freedom/
http://webpages.charter.net/harrismh777/gnulinux/gnulinux.htm
--
Thomas 'PointedEars' Lahn wrote:
Automatic word-wrap, where available, really is not a solution; it
is a bad workaround to a problem caused by the original author of
the source code that can be easily avoided by them taking more care
while coding.
I think exactly the opposite. The
Ethan Furman wrote:
Billy Mays wrote:
On 07/25/2011 10:16 AM, Archard Lias wrote:
On Jul 25, 2:03 pm, Ian Collinsian-n...@hotmail.com wrote:
On 07/26/11 12:00 AM, Archard Lias wrote:
Still I dont get how I am supposed to understand the pipe and its
task/ idea/influece on control flow, of:
Hello,
i have e little performance problem with my code...
i have to compare many lists of very much floats. at moment i have
nested for-loops
for a in range( len(lists) ):
for b in range( a+1 , len(lists) ):
for valuea in lists[a]:
equal=False
for valueb in
Hello,
i have e little performance problem with my code...
i have to compare many lists of very much floats. at moment i have
nested for-loops
for a in range( len(lists) ):
for b in range( a+1 , len(lists) ):
for valuea in lists[a]:
equal=False
for valueb in
Christian Doll wrote:
i have e little performance problem with my code...
i have to compare many lists of very much floats. at moment i have
nested for-loops
for a in range( len(lists) ):
for b in range( a+1 , len(lists) ):
for valuea in lists[a]:
equal=False
Hello guys,
I would like to translate all strings in my application for several
languages (eng, es, de, etc) and user should be able to switch app
from one language to another. I am still newbie with python so is
there any step-by-step tutorial how to to this? thanks for help
--
Hello guys,
I would like to translate all strings in my application for several
languages (eng, es, de, etc) and user should be able to switch app
from one language to another. I am still newbie with python so is
there any step-by-step tutorial how to to this? thanks for help
--
On Thu, Jul 28, 2011 at 2:11 AM, Peter Irbizon peterirbi...@gmail.com wrote:
Hello guys,
I would like to translate all strings in my application for several
languages (eng, es, de, etc) and user should be able to switch app
from one language to another. I am still newbie with python so is
On Thu, Jul 28, 2011 at 8:34 AM, rantingrick rantingr...@gmail.com wrote:
--
Encodings (PEP 263)
Code in the core Python distribution should always use the
ASCII or Latin-1 encoding (a.k.a. ISO-8859-1). For Python
3.0 and beyond, UTF-8
Hi
pickling
Just crossposting this from stackoverflow:
http://stackoverflow.com/questions/6857006/python-monotonically-increasing-memory-usage-leak
Any hints?
Pedro.
--
Pedro Larroy Tovar | http://pedro.larroy.com/
--
http://mail.python.org/mailman/listinfo/python-list
When using re patterns of the form 'A|B|C|...' the docs seem to
suggest that once any of A,B,C.. match, it is captured and no further
patterns are tried. But I am seeing,
st=' Id NameProv Type CopyOf BsId
Rd -Detailed_State-Adm Snp Usr VSize'
Hello,
thank you for reply.
I tried this:
# -*- coding: utf-8 -*-
import gettext
gettext.bindtextdomain('multilanguage',
'E:\folder')
gettext.textdomain('multilanguage')
_ = gettext.gettext
# ...
lang1 = gettext.translation('multilanguage', languages=['sk'])
lang1.install()
print _('This is a
On 2011.07.28 05:12 AM, Peter Irbizon wrote:
P.S. sorry for double posting but when I post my message on googlegroups I
can't see it in googlegroups (don't know why)
Last time I looked at this newsgroup (which was not that long ago) on
Google Groups, it was 2 days behind.
--
CPython 3.2.1 |
Is there anyway in python to get a notification when a process exits?
To be completely clear, I am looking for a notification solution,
similar to pyinotify, not a polling one (I know I can poll a process
using os.kill(pid, 0)).
BTW, pyinotify will not work on /proc/pid as a solution. I have
AlienBaby wrote:
When using re patterns of the form 'A|B|C|...' the docs seem to
suggest that once any of A,B,C.. match, it is captured and no further
patterns are tried. But I am seeing,
st=' Id NameProv Type CopyOf BsId
Rd -Detailed_State-Adm
Hello,
__all__ = 'api db input output tcl'.split()
or
__all__ =
api
db
input
output
tcl
.split()
for lazy boy ;o). It is readable as well.
What do you think?
Cheers
Karim
--
Karim karim.liat...@free.fr writes:
Hello,
__all__ = 'api db input output tcl'.split()
or
__all__ =
api
db
input
output
tcl
.split()
Maybe this:
__all__ = [x.__name__ for x in [
On 7/27/2011 9:46 PM, Dennis Lee Bieber wrote:
On Wed, 27 Jul 2011 17:28:38 -0700, W. eWatson
wolftra...@invalid.com declaimed the following in
gmane.comp.python.general:
For junk.py, I tried Open With-Choose default program. I selected
idle.pyw. When I tried the new default for getting to
On 2011-07-28 13:56, W. eWatson wrote:
On 7/27/2011 9:46 PM, Dennis Lee Bieber wrote:
{and that was captured by aright-click in the command window, select
all, anotherright-click to capture, then move to the newreader and
ctrl-v to paste}
I'm quite willing to do this in the command window,
Am 28.07.2011 13:32 schrieb Karim:
Hello,
__all__ = 'api db input output tcl'.split()
or
__all__ =
api
db
input
output
tcl
.split()
for lazy boy ;o). It is readable as well.
What do you think?
Why not? But you could even do
class AllList(list):
list which can be called in order to
I used gettext in xmm2tray. You can have a look at the code as an example:
http://code.jollybox.de/hg/xmms2tray/file/04443c59a7a1/src/xmms2tray/__init__.py
On 2011-07-28 12:12, Peter Irbizon wrote:
I tried this:
# -*- coding: utf-8 -*-
import gettext
gettext.bindtextdomain('multilanguage',
On 07/28/2011 02:29 PM, Thomas Rachel wrote:
__all__ = AllList()
Hello Thomas,
Very beautiful and elegant code. Having both at the same time an
instance and a method...
With this 'small' topic, you taught me something today on property
application!
Cheers
Karim
--
On Wed, Jul 27, 2011 at 5:26 PM, W. eWatson wolftra...@invalid.com wrote:
.py=Python.File
.pyw=Python.NoConFile
Python.File=C:\Python25\python.exe %1 %*
Python.File=C:\Python25\python.exe %1 %*
Python.NoConFile=C:\Python25\pythonw.exe %1 %*
That all looks good.
I cannot copy from the cmd
HI Thomas,
I've not really got the hang of decorators yet, so I was wondering why one
might use your approach rather than just using Karim's original method?
I only really use python for smallish, utility programs, so I suppose I
haven't come across an issue complex enough to see a clear
Hello,
I have
variable OUHH and
print _('This is %(OUHH)s a translatable string.' % locals())
how can I translate this ?
--
http://mail.python.org/mailman/listinfo/python-list
On 28/07/11 15:33, miamia wrote:
Hello,
I have
variable OUHH and
print _('This is %(OUHH)s a translatable string.' % locals())
how can I translate this ?
Get the translation first, insert values second.
_('This string contains a variable: {0}. Amazing').format(OUHH)
Depending on what the
Hello,
is there a way to use epydoc to document a Python function that has been
decorated?
@decorator
def func1():
My function func1
print In func1
The resulting output of epydoc is that func1 gets listed as a variable
with no description.
I am using Epydoc v3.0.1.
Thanks
On 7/28/2011 6:19 AM, Jerry Hill wrote:
On Wed, Jul 27, 2011 at 5:26 PM, W. eWatsonwolftra...@invalid.com wrote:
.py=Python.File
.pyw=Python.NoConFile
Python.File=C:\Python25\python.exe %1 %*
Python.File=C:\Python25\python.exe %1 %*
Python.NoConFile=C:\Python25\pythonw.exe %1 %*
That all
On 7/28/2011 8:10 AM, W. eWatson wrote:
On 7/28/2011 6:19 AM, Jerry Hill wrote:
On Wed, Jul 27, 2011 at 5:26 PM, W. eWatsonwolftra...@invalid.com
wrote:
.py=Python.File
.pyw=Python.NoConFile
Python.File=C:\Python25\python.exe %1 %*
Python.File=C:\Python25\python.exe %1 %*
Consider:
Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit
(Intel)] on win32
Type help, copyright, credits or license for more information.
-- for ins in ({0:'0'}, (1,), set([2, 3]), [4, 5], 6, 'seven',
... 8.0, True, None):
... print(type(ins))
... type(ins)()
...
class
On 07/28/2011 11:39 AM, Ethan Furman wrote:
class 'NoneType'
Traceback (most recent call last):
File stdin, line 3, in module
TypeError: cannot create 'NoneType' instances
Why is NoneType unable to produce a None instance? I realise that None
is a singleton, but so are True and False, and bool
On Thu, Jul 28, 2011 at 11:13 AM, Danny Wong (dannwong)
dannw...@cisco.com wrote:
Hi Python experts,
I'm trying to use a dict structure to store and update information
from X number of threads. How do I share this dict structure between threads?
I heard of using a queue, but I'm not
Hello You have you feet on earth Web Dreamer!
Very clever!
Beautiful hack!
Many Thanks
Karim
On 07/28/2011 05:48 PM, Web Dreamer wrote:
Karim a écrit ce mercredi 27 juillet 2011 21:30
dansmailman.1538.1311795072.1164.python-l...@python.org :
Hello All,
I would like to parse this TCL
On Thu, 28 Jul 2011 17:48:34 +0200, Web Dreamer wrote:
I would like to parse this TCL command line with shlex:
'-option1 [get_rule A1 B2] -option2 $VAR -option3 TAG'
s = s.replace('[','[')
s = s.replace(']',']')
Note that this approach won't work if you have nested brackets or braces.
I replied to 'm' but I really wanted to reply to the whole group -
Patty
Here it is:
- Original Message -
From: Patty pa...@cruzio.com
To: har...@member.fsf.org
Sent: Thursday, July 28, 2011 8:10 AM
Subject: Re: Programming Python for Absolute Beginners
- Original Message
On Thu, 28 Jul 2011 11:52:25 +0200, Pedro Larroy wrote:
pickling
Just crossposting this from stackoverflow:
http://stackoverflow.com/questions/6857006/
Any hints?
AFAIK, it's because the Pickler object keeps a reference to each object so
that pointer-sharing works; if you write the
On Thu, Jul 28, 2011 at 9:39 AM, Ethan Furman et...@stoneleaf.us wrote:
Why is NoneType unable to produce a None instance? I realise that None is a
singleton, but so are True and False, and bool is able to handle returning
them:
The bool constructor works (actually just returns one of the
Just a little modification:
tuple([(option, value) for option,value in
zip(optionlist[0::2],optionlist[1::2])]) ==
tuple(zip(optionlist[0::2],optionlist[1::2]))
True
Indeed:
tuple(zip(optionlist[0::2],optionlist[1::2]))
shorter than:
tuple([(option, value) for option,value in
On Thu, Jul 28, 2011 at 7:22 AM, mark ferguson markf...@gmail.com wrote:
I've not really got the hang of decorators yet, so I was wondering why one
might use your approach rather than just using Karim's original method?
The advantage of Thomas's decorator here is that it lets you place the
You'd probably better explain in English which things truly need to be
compared with what. Right now, your first version is, I believe, an O(n^4)
algorithm, which is extremely expensive, while your second (set-based)
version appears to be O(n^3), which is quite a bit better, but still not
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' -- ['home', 'gyoung',
'hacks', 'pathhack', 'foo.py']
os.path.split gives me a tuple of dirname,basename, but there's no
os.path.split_all function.
Hi,
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' -- ['home', 'gyoung',
'hacks', 'pathhack', 'foo.py']
Not sure what your exact requirements are, but the following seems to work:
pathname
On 2011-07-28, gry georgeryo...@gmail.com wrote:
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' -- ['home', 'gyoung',
'hacks', 'pathhack', 'foo.py']
os.path.split gives me a tuple of
On Thu, Jul 28, 2011 at 2:18 PM, gry georgeryo...@gmail.com wrote:
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' -- ['home', 'gyoung',
'hacks', 'pathhack', 'foo.py']
os.path.split gives me a
On 7/28/2011 4:18 PM, gry wrote:
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' -- ['home', 'gyoung',
'hacks', 'pathhack', 'foo.py']
os.path.split gives me a tuple of dirname,basename, but
Ian Kelly wrote:
On Thu, Jul 28, 2011 at 9:39 AM, Ethan Furman et...@stoneleaf.us wrote:
Why is NoneType unable to produce a None instance? I realise that None is a
singleton, but so are True and False, and bool is able to handle returning
them:
The bool constructor works (actually just
On Thu, Jul 28, 2011 at 2:44 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
path = '/home/gyoung/hacks/pathhack/foo.py'
parts = [part for path, part in iter(lambda: os.path.split(path), ('/', ''))]
parts.reverse()
print parts
But that's horrendously ugly. Just write a generator with a while
Neil Cerutti wrote:
If an elegant solution doesn't occur to me right away, then I
first compose the most obvious solution I can think of. Finally,
I refactor it until elegance is either achieved or imagined.
+1 QOTW
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jul 28, 2011 at 2:47 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Thu, Jul 28, 2011 at 2:44 PM, Ian Kelly ian.g.ke...@gmail.com wrote:
path = '/home/gyoung/hacks/pathhack/foo.py'
parts = [part for path, part in iter(lambda: os.path.split(path), ('/', ''))]
parts.reverse()
print parts
On 28.07.2011 22:44, Ian Kelly wrote:
On Thu, Jul 28, 2011 at 2:18 PM, grygeorgeryo...@gmail.com wrote:
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' --['home', 'gyoung',
'hacks',
I start many threads in order to make the work done, when the
concurrent number is set to 300, all thing just works fine, but when
the number is set to 350 or higher, error just comes out? what's wrong
? the error info is just as follows: failed to start .
I am confused, does this have
On 7/28/2011 1:18 PM gry said...
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' -- ['home', 'gyoung',
'hacks', 'pathhack', 'foo.py']
os.path.split gives me a tuple of dirname,basename, but
On Fri, Jul 29, 2011 at 7:03 AM, Ethan Furman et...@stoneleaf.us wrote:
I'll use a lambda to get around it, but that's not very elegant. Why
shouldn't NoneType be able to return the singleton None?
Why a lambda?
def ThisFunctionWillReturnNone():
pass
Although, since the returning of None
On Thu, Jul 28, 2011 at 3:15 PM, Emile van Sebille em...@fenx.com wrote:
On 7/28/2011 1:18 PM gry said...
[python 2.7] I have a (linux) pathname that I'd like to split
completely into a list of components, e.g.:
'/home/gyoung/hacks/pathhack/foo.py' -- ['home', 'gyoung',
'hacks',
On Jul 26, 9:53 pm, Terry Reedy tjre...@udel.edu wrote:
On 7/26/2011 8:01 PM, rantingrick wrote:
Most new user think that printing an object to stdout is all they'll
ever need. However when you call print -- or sys.stdout.write(object)
-- you are only seeing a friendly version of the
Ethan Furman et...@stoneleaf.us writes:
Why is NoneType unable to produce a None instance? I realise that None
is a singleton
That answers your question. Because None is a singleton, the job of its
type is to make sure there are no other instances.
but so are True and False, and bool is able
Chris Angelico wrote:
On Fri, Jul 29, 2011 at 7:03 AM, Ethan Furman et...@stoneleaf.us wrote:
I'll use a lambda to get around it, but that's not very elegant. Why
shouldn't NoneType be able to return the singleton None?
Why a lambda?
def ThisFunctionWillReturnNone():
pass
Although,
Ben Finney wrote:
Ethan Furman et...@stoneleaf.us writes:
Why is NoneType unable to produce a None instance? I realise that None
is a singleton
That answers your question. Because None is a singleton, the job of its
type is to make sure there are no other instances.
Which it can do quite
On 28-7-2011 23:07, smith jack wrote:
I start many threads in order to make the work done, when the
concurrent number is set to 300, all thing just works fine, but when
the number is set to 350 or higher, error just comes out? what's wrong
? the error info is just as follows: failed to start
I believe the current Python style guide is inconsistent. The author
again allowed his emotion to get in the way of logic. I will be
posting blocks of text from the PEP8 and commenting below them.
--
One of Guido's key insights is that
Ethan Furman et...@stoneleaf.us writes:
Ben Finney wrote:
Ethan Furman et...@stoneleaf.us writes:
This feels like a violation of 'Special cases aren't special enough
to break the rules.'
In the case of ‘bool’, the rule was broken before being introduced.
I think we disagree on what
You could try Jython.
Other than that, you probably want a threadpool, or perhaps to try
multiprocessing - but that much forking could be a problem as well.
On Thu, Jul 28, 2011 at 2:07 PM, smith jack thinke...@gmail.com wrote:
I start many threads in order to make the work done, when the
rantingrick wrote:
I believe the current Python style guide is inconsistent. The author
again allowed his emotion to get in the way of logic.
Well, does not PEP8 state, A Foolish Consistency is the Hobgoblin
of Little Minds ?
Your parody is witty, and not without serious commentary;
Am 28.07.2011 23:07, schrieb smith jack:
I start many threads in order to make the work done, when the
concurrent number is set to 300, all thing just works fine, but when
the number is set to 350 or higher, error just comes out? what's wrong
? the error info is just as follows: failed to
Ethan Furman wrote:
Why is NoneType unable to produce a None instance? I realise that None
is a singleton, but so are True and False, and bool is able to handle
returning them:
I've asked this question myself. As I recall the answer, it's just a matter
of personal preference. Some people
hello,
I am using gettext fo localization
local_path=os.path.join(module_path(), lang_folder)
gettext.bindtextdomain(lang_name, local_path)
gettext.textdomain(lang_name)
# Get the language to use
lang = gettext.translation(lang_name, local_path,
Ian Kelly wrote:
Why would you ever need to instantiate NoneType?
Well, you probably wouldn't deliberately, but if you have code like this:
types = [type(x) for x in list_of_objects]
# later on...
for t in types:
instance = t()
do_something_with(instance)
it would be nice if it
Chris Angelico wrote:
On Fri, Jul 29, 2011 at 7:03 AM, Ethan Furman et...@stoneleaf.us wrote:
I'll use a lambda to get around it, but that's not very elegant. Why
shouldn't NoneType be able to return the singleton None?
Why a lambda?
def ThisFunctionWillReturnNone():
pass
This is
On 7/28/2011 5:03 PM, Ethan Furman wrote:
I'm glad you asked! I'm using dictionaries to describe fields and
what their return values should be. There happen to be two special
cases: empty and Null. So a portion of the dictionary looks like:
fielddef = { 'empty':some_func, 'null':some_func }
On Thu, Jul 28, 2011 at 6:20 PM, Peter Irbizon peterirbi...@gmail.com wrote:
hello,
I am using gettext fo localization
snip
Now I would like to switch all texts in my app when I click on item in menu.
Unfortunatelly this not switch texts immediately. How can I do this?
Which GUI toolkit are
I've given this problem over to the Python Tutor mail-list. I can
capture screens more easily than manipulate in cmd.exe. It may be a
preference problem on who owns what. SYSTEM seems to be the owner, and
not me.
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Rachel wrote:
Why not? But you could even do
class AllList(list):
list which can be called in order to be used as a __all__-adding
decorator
def __call__(self, obj):
for decorators
self.append(obj.__name__)
return obj
__all__ = AllList()
@__all__
def
Jorgen Skancke jor...@nt.ntnu.no added the comment:
I recently ran into this problem when I tried to multiprocess jobs with large
objects (3-4 GB). I have plenty of memory for this, but multiprocessing hangs
without error, presumably because pickle hangs without error when
multiprocessing
ledave123 ledave...@yahoo.fr added the comment:
The problem can be fixed with tokenize :
I'm sorry I never submitted a path and I have no access to the source tree from
here, if someone cares to do it, do not hesitate.
def execfile(self, filename, source=None):
Execute an existing
Nir Aides n...@winpdb.org added the comment:
Hi Gregory,
Gregory P. Smith g...@krypto.org added the comment:
No Python thread is ever fork safe because the Python interpreter itself can
never be made fork safe.
Nor should anyone try to make the interpreter itself safe. It is too complex
STINNER Victor victor.stin...@haypocalc.com added the comment:
Yes, tokenize.open() should fix this issue, but you should close the file after
using it. Use for example with tokenize.open():
Can you write a patch? You can download the source code using Mercurial or
download it manually
New submission from kota nospam.kotarou.d...@gmail.com:
There seems to be a wrong import module search order
(http://docs.python.org/tutorial/modules.html#the-module-search-path) on
Windows. Python seems to be loading the built-in module instead of the python
code with the same name as the
Neil Aspinall m...@neilaspinall.co.uk added the comment:
Would it be possible for this issue's fix (PyErr_Occurred() returning null when
the thread state is null) to be applied to the 2.7 branch?
--
nosy: +naspinal
___
Python tracker
Changes by Ralf Schmitt python-b...@systemexit.de:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3605
___
___
Python-bugs-list
New submission from dandre andr...@gmx.net:
Hello there, first of all, thank you all for Python. I didn't know it was so
great; otherwise I'd have checked it out before.
Using 2.7.2 MSC v.1500 32 Intel bit for now.
Playing with email.header, I came across an odd behaviour.
Attached please
Éric Araujo mer...@netwok.org added the comment:
HTML5 being a spec that builds on HTML 4.01 and real-world ways to deal with
non-compliant input, I don’t object to fixes that follow the HTML5 spec.
Regarding backward compatibility, we can break it if we decide that the
behavior we’re
Changes by Éric Araujo mer...@netwok.org:
--
stage: commit review - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10639
___
___
Éric Araujo mer...@netwok.org added the comment:
where does the 1ko barrier come from? Was it only chosen out of
performance considerations [...]
Most certainly. I’ll look at the history of the file later to try to
find the developer who decided that.
Guido van Rossum made the changes.
R. David Murray rdmur...@bitdance.com added the comment:
You are using Header incorrectly. It should look more like this:
th = _e_header.Header(maxlinelen=200, header_name='To')
th.append(tfc[:-1])
th.append(wtc[:-1], charset='utf-8')
th.append(tem)
This results in:
To:
Éric Araujo mer...@netwok.org added the comment:
I’ve committed the cleanup to my 3.3 clone and will push this week.
Here’s a doc patch. Before my patch, the various classes were documented in
two parts: one entry with the factory function (e.g. Thread), without index
reference, and one
Changes by R. David Murray rdmur...@bitdance.com:
--
assignee: - r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12649
___
___
New submission from gabriele.trombetti g.trombe...@plasmacore.com:
There seems to be a file descriptor (fd) leak in subprocess upon call to kill()
and then destroying the current subprocess object (e.g. by scope exit) if the
pipe functionality is being used.
This is a reproducer:
(Linux
Éric Araujo mer...@netwok.org added the comment:
May I ask for a reconsideration to commit a fix for this for Python
2.7 at least? With the version check it doesn't hurt anyone
There’s a misunderstanding: I explained why 2.5, 2.6 and 3.1 can’t be fixed,
but if you look at the versions at the
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12650
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Unless someone else has picked it up, BeautifulSoup is a no longer an issue
since its author has abandoned it. That doesn't change the fact that IMO it
would be nice for our library to handle input generously.
--
dandre andr...@gmx.net added the comment:
Thank you for pointing out my wrong usage of Header.
Does this mean I should call Header.append() for each token, with tokens being
separated by WS, or probably rather COMMASPACE in the case of To:? Or does it
mean I should call Header.append() for
R. David Murray rdmur...@bitdance.com added the comment:
You ought to be able to use either a context directive (I forget its name and
syntax), or the full reference syntax (:meth:`~threading.Thread.run`) to make
those links work without moving things around.
--
Éric Araujo mer...@netwok.org added the comment:
You ought to be able to use either a context directive (I forget its
name and syntax),
Hm, do you mean something similar to currentmodule?
or the full reference syntax (:meth:`~threading.Thread.run`) to make
those links work without moving
Jon jon.for...@gmail.com added the comment:
and, does it matter whether you're building on win for win, or cross
compiling for win from nix?
I’m afraid I don’t know enough about Windows and MinGW to answer that. If we
can’t be sure about versions and consequences here, I’ll go to the MinGW
R. David Murray rdmur...@bitdance.com added the comment:
They probably ought to be discussed in our docs :(
The only thing that may be encoded in an address is the display name (the
first part returned by parseaddr). (Actually the domain name could be IDNA
encoded, but we don't support that
dandre andr...@gmx.net added the comment:
Thanks again for the clarification.
I may not look like it ;), but my fanciness has to go even further. So, for the
sake of completeness, it appears that the world is now up to UTF-8 local parts
of email addresses, and punycode for the domain?
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset f15442543e24 by Senthil Kumaran in branch '2.7':
Fix closes Issue11439 - Handle the SVN Keywords in 2.7 by replacing them with a
high number so that code relying on them does not break.
1 - 100 of 132 matches
Mail list logo