[issue45544] Close 2to3 issues and list them here

2021-10-20 Thread Martin DeMello
Change by Martin DeMello : -- nosy: +martindemello nosy_count: 4.0 -> 5.0 pull_requests: +27384 pull_request: https://github.com/python/cpython/pull/10618 ___ Python tracker <https://bugs.python.org/issu

[issue35282] Add a return value to lib2to3.refactor.refactor_file and refactor_dir

2018-11-20 Thread Martin DeMello
Change by Martin DeMello : -- keywords: +patch pull_requests: +9866 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35282> ___ ___ Py

[issue35282] Add a return value to lib2to3.refactor.refactor_file and refactor_dir

2018-11-20 Thread Martin DeMello
New submission from Martin DeMello : It would be useful for lib2to3.refactor to return which files were actually changed. Right now that information is logged but not returned. -- components: 2to3 (2.x to 3.x conversion tool) messages: 330149 nosy: martindemello priority: normal

Not fully understanding the role of Queue.task_done()

2008-09-04 Thread Martin DeMello
I'm writing a cluster monitor, that collects information from a set of machines and logs it to a database In the interests of not hammering the db unnecessarily, I'm considering the following 1. A series of independent monitor threads that collect information over TCP from the cluster of

Re: Not fully understanding the role of Queue.task_done()

2008-09-04 Thread Martin DeMello
On Sep 4, 12:41 pm, Fredrik Lundh [EMAIL PROTECTED] wrote: task_done just decrements a counter (incremented by put).  when the counter reaches zero, the join call is unblocked. Thanks! Is there any standard python idiom to empty a queue into a list? Or do I just call get() repeatedly and catch

Re: Not fully understanding the role of Queue.task_done()

2008-09-04 Thread Martin DeMello
On Sep 4, 1:04 pm, castironpi [EMAIL PROTECTED] wrote: Random access isn't supported by the defined interface.  You can make it more convenient, though. Thanks. I wasn't looking for random access, just wondering what the cleanest way to implement items = Queue.get_all() was. Your code should

Re: Not fully understanding the role of Queue.task_done()

2008-09-04 Thread Martin DeMello
On Sep 4, 1:51 pm, Fredrik Lundh [EMAIL PROTECTED] wrote: Martin DeMello wrote: I'm writing a cluster monitor, that collects information from a set of machines and logs it to a database In the interests of not hammering the db unnecessarily, I'm considering the following 1. A series

Re: gtkmozembed in fedora core 3

2005-08-24 Thread Martin DeMello
Jonas Geiregat [EMAIL PROTECTED] wrote: If you can't find any rpm's there aren't any available. You need to compile mozilla with (I think) support for gtkmozembed but I guess that's done by default when you compile mozilla with ac_add_options --enable-default-toolkit=gtk2 in your mozconfig

gtkmozembed in fedora core 3

2005-08-23 Thread Martin DeMello
Could someone help me get gtkmozembed working under fc3? The only available rpms need gnome-python2 = 2.9 and fc3 ships with 2.6. I can't find any fc3 rpms to upgrade gnome-python2 and I can't quite figure out what I'd need to compile just to install gtkmozembed and the python bindings (I need to