Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
assignee: georg.brandl - rhettinger
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7447
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I will treat the empty line problem in another issue because I won't
apply it in 2.6/3.1.
This one is fixed in r76684, r76685, r76686, r76687.
Thanks !
--
status: open - closed
versions: +Python 2.6, Python 2.7, Python 3.1, Python
flox la...@yahoo.fr added the comment:
Proposed patch fixes most of the discrepancies between both implementations.
It restores some features that were lost with Python 3:
* cElement slicing and extended slicing
* iterparse, cET.getiterator and cET.findall return an iterator
(as
Changes by flox la...@yahoo.fr:
Added file: http://bugs.python.org/file15462/issue6472_py3k.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6472
___
Mark Dickinson dicki...@gmail.com added the comment:
Tom, I think I'm missing your point: all three of the examples you give
seem like perfect candidates for a key-based sort rather than a
comparison-based one. For the first example, couldn't you do something
like:
def direction(pt1, pt2):
R. David Murray rdmur...@bitdance.com added the comment:
With just the test patch applied, test_imaplib passes for me on trunk
r76687.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
Tom Switzer thomas.swit...@gmail.com added the comment:
Mark: I think your example actually helps illustrate my point. My point was
that computing the angle directly is less efficient or not as nice
numerically. For instance, if you are sorting points by angle relative to an
extreme point you
R. David Murray rdmur...@bitdance.com added the comment:
Ah, your new test isn't being run, that's why test_impalib passes. Let
me figure out why your test isn't run.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
Scott Dial sc...@scottdial.com added the comment:
The test requires regrtest.py be run with network support and the python
instance be built with threads.
$ ./python Lib/test/regrtest.py -u network test_imaplib
Without network support, it just skips those test (which is the same way
test_ssl).
R. David Murray rdmur...@bitdance.com added the comment:
OK, after adding ThreadedNetworkedTests to the 'tests' list in
test_main, the new tests ran and did hang. After applying the imaplib
patch, the new tests completed. However, afterward I got the following
traceback:
Exception in thread
R. David Murray rdmur...@bitdance.com added the comment:
Ah, my mistake, I misread the code, sorry.
Yes, if I supply -uall to regrtest the tests run correctly.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file15464/python-trunk-20091206-CROSS.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
Added file: http://bugs.python.org/file15465/python-trunk-20091206-MINGW.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3871
Scott Dial sc...@scottdial.com added the comment:
Thanks for giving it a try. I believe the issue is that I am raising an
exception in the middle of run_server, which was not a pattern tested in
the other modules I looked at. Thus, the threads for those do not get
reaped correctly.
I have
New submission from Clovis Fabricio nosklo+pyt...@gmail.com:
Suppose I want to simulate the following shell pipe using the subprocess
module:
`grep -v not | cut -c 1-10`
The documentation example here
http://docs.python.org/library/subprocess.html#replacing-shell-pipeline
Implies that I want
Marcelo Fernández marcelo.fidel.fernan...@gmail.com added the comment:
Great, piro!
I'm taking a look at it, and it seems to use setproctitle() in BSD, and
writes over the argv array in most Sys-V like systems; this includes
Linux?
My question is because I think there's a better and
Mark Dickinson dicki...@gmail.com added the comment:
Ah. Thanks for the explanation; I see your point. I guess you do just
have to use a CmpToKey-type wrapper for this sort of comparison.
Though for this *particular* example, it seems to me that you could still use a
key function
lambda
New submission from R. David Murray rdmur...@bitdance.com:
In the past (= 2.6) regrtest skipped a test if any import failure
happened, which masked various real test failures. This was fixed, and
tests that should be skipped if certain modules are not available were
changed to use
Daniele Varrazzo p...@develer.com added the comment:
I'm taking a look at it, and it seems to use setproctitle() in BSD,
and
writes over the argv array in most Sys-V like systems; this
includes
Linux?
Yes: Linux uses what in the source is referred as the
PS_USE_CLOBBER_ARGV strategy: it
Marcelo Fernández marcelo.fidel.fernan...@gmail.com added the comment:
2009/12/6 Daniele Varrazzo rep...@bugs.python.org:
My question is because I think there's a better and supported method
for
Linux, that is, using prctl [1]. I read somewhere that changing argv
causes some inconsistencies
R. David Murray rdmur...@bitdance.com added the comment:
The traceback I posted was a spurious result of my misunderstanding your
test code. With -uall it worked fine. Sorry that I didn't make that clear.
Thanks for doing the work of putting the extended test framework
together. Without
R. David Murray rdmur...@bitdance.com added the comment:
Patch actually attached this time.
--
Added file: http://bugs.python.org/file15467/test_imaplib_issue5949.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5949
flox la...@yahoo.fr added the comment:
I fixed it differently, using the upstream modules (Thank you Fredrik).
* ElementTree 1.3a3-20070912
* cElementTree 1.0.6-20090110
It works.
And it closes issue1143, too.
--
Added file: http://bugs.python.org/file15468/issue6472_upstream.diff
Daniele Varrazzo p...@develer.com added the comment:
It seems that some utilities and programs (killall,
gnome-system-monitor, and so on) looks for the process name in
/proc/PID/status, not in /proc/PID/cmdline, so it should be better
(in Linux), to modify both, /proc/PID/cmdline (changing
Marcelo Fernández marcelo.fidel.fernan...@gmail.com added the comment:
2009/12/6 Daniele Varrazzo rep...@bugs.python.org:
Just released setproctitle 0.2 where I also call prctl() if available.
It is actually the string used by killall.
Great!
I've just tested it and it works fine here...
Changes by Jerry Seutter jseut...@gmail.com:
--
assignee: - jseutter
nosy: +jseutter
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7449
___
___
Changes by Mark Wielaard m...@redhat.com:
--
nosy: +mjw
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
___
Python-bugs-list mailing list
Martin v. Löwis mar...@v.loewis.de added the comment:
I've just tested it and it works fine here... Any possibility this
module can be included in the regular python standard library, in the
future?
Only in the far future. I don't think the Python standard library should
include a module
28 matches
Mail list logo