pep

Which PEP's are must reads?

I'm a fairly strong Python coder, but too much of my style is a little haphazard, and I'm sure there are more Pythonic solutions to many problems than the ones I come up with. Which PEPs are essential for any well versed Pythonista to read? ...

Python: imports at the beginning of the main program & PEP 8

The PEP 8 recommends that modules be imported at the beginning of programs. Now, I feel that importing some of them at the beginning of the main program (i.e., after if __name__ == '__main__') makes sense. For instance, if the main program reads arguments from the command line, I tend to do import sys at the beginning of the main progr...

how can I make a suggestion for a new feature in python

Suppose I think I have a great idea for some feature that should be in python's standard library. Not something of the magnitude of a new keyword etc, just a suggestion for another decorator that would help a lot, IMO. How can I suggest such a feature to the consideration of the "python committee :)"? ...

XEP-0080 User Location in Smack Library.

Hi, I would like to create a simple XMPP client in java that shares his location (XEP-0080) with other clients. I already know I can use the smack library for XMPP and that it supports PEP, which is needed for XEP-0080. Does anyone have an example how to implement this or any pointers, i don't find anything using google. thanks in adva...

Which implementation of OrderedDict should be used in python2.6?

As some of you may know in python2.7/3.2 we'll get OrderedDict with PEP372 however one of the reason the PEP existed was because everyone did their own implementation and they were all sightly incompatible. So which one of the 8 current implementations link text is backwards compatible with the 2.7 odict from python 2.7 in a way we can...

Is there some implementation of PEP 3124

I'm searching for any PEP 3124 implemenation or development process. I'm not very familliar with mailing list, but it seems that sequence "3124" have not appeared in Python mailing list during last year. Is there some information what is going on regarding this PEP ? ...

doesPythonLikeCamels

Are Java style camelCase names good practice in Python. I know Capilized names should be reserved by convention for Class names. Methods should be small letters according to good style, or actually I am not so sure. Is there PEP about naming? COMMENTS: Sorry for camels :) , I learned from answer PEP8, that my title is actually properly...

What PEP 8 guidelines do you ignore, and which ones do you stick to?

The title says most of it really :) Over the years, the more Python I write, the more I find myself agreeing with most of the guidelines, some though I consistently and intentionally break for my own reasons. I'd be curious to know what in PEP 8 (or other PEPs too maybe) people religiously stick to and why, and what people find inconven...