On May 7, 5:31 am, Claudiu Popa cp...@bitdefender.com wrote:
Hello Python-list,
I have an object which defines some methods. I want to join a list or
an iterable of those objects like this:
new_string = |.join(iterable_of_custom_objects)
What is the __magic__ function that needs
On May 9, 1:25 pm, Claudiu Popa cp...@bitdefender.com wrote:
Hello Karim,
You just have to implement __str__() python special method for your
custom_objects.
Regards
Karim
Cheers,
Chris
--
http://rebertia.com
I already told in the first post that I've implemented __str__
On Jul 5, 1:12 am, Benjamin Kaplan benjamin.kap...@case.edu wrote:
On Sun, Jul 4, 2010 at 7:58 PM, John Machin sjmac...@lexicon.net wrote:
On Jul 5, 12:27 pm, Martineau ggrp2.20.martin...@dfgh.net wrote:
On Jul 4, 8:34 am, Benjamin Peterson benja...@python.org wrote:
On behalf
On Jul 5, 1:31 pm, Alexander Kapps alex.ka...@web.de wrote:
Martineau wrote:
Perhaps it's hidden somewhere, but I couldn't find the .chm help file
in the python-2.7.msi file using 7-zip, nor saw anything that looked
like a Doc folder embedded within it -- so I doubt installing
On Jul 5, 5:53 pm, David Robinow drobi...@gmail.com wrote:
On Mon, Jul 5, 2010 at 8:15 PM, Steven
D'Apranost...@remove-this-cybersource.com.au wrote:
On Mon, 05 Jul 2010 12:59:00 -0700, Martineau wrote:
I'd like to view the contents of the help file without actually
installing
On Jul 4, 8:34 am, Benjamin Peterson benja...@python.org wrote:
On behalf of the Python development team, I'm jocund to announce the second
release candidate of Python 2.7.
Python 2.7 will be the last major version in the 2.x series. However, it will
also have an extended period of bugfix
Mathew Martineau m...@martineau.name added the comment:
Yaniv - Please proceed!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7834
Mathew Martineau m...@martineau.name added the comment:
I can submit a patch, but my employer has an involved process for doing this
(even for small fixes like this). It will take a few more days to get to a
point where I can post the patch, but I will do so as soon as I can
New submission from Mathew Martineau m...@martineau.name:
The sockaddr_l2 struct used with connect() has changed in recent versions of
the Linux kernel. There is a new l2_cid member.
connect() only works with L2CAP sockets if l2_cid is set to 0.
Suggest initializing the whole sockaddr_l2