[issue39115] Clarify Python MIME type

2019-12-23 Thread Josh de Kock
Josh de Kock added the comment: I just wanted the intended MIME type for sending python over various mediums to be written down somewhere other than the source code, but I'm not sure where it should go. Though if you don't think it is necessary then that is fine too, I mostly ju

[issue39115] Clarify Python MIME type

2019-12-23 Thread Josh de Kock
Josh de Kock added the comment: An IANA media type assignment would be even better than a '*/x-*' MIME, of course, but my original intention was just to clarify that the MIMEs in the cpython source can be used as documentation for 'which MIME should you use when sendin

[issue39115] Clarify Python MIME type

2019-12-21 Thread Josh de Kock
New submission from Josh de Kock : I'd like to add Python's MIME types to a database so that they can be properly used by other services. However, apart from the source code[1][2], I can't find any documentation from Python which highlights this. Is the source code correct h

[issue11245] Implementation of IMAP IDLE in imaplib?

2019-12-19 Thread Josh de Kock
Josh de Kock added the comment: Hi, I'm new to python but I had a go at implementing this for imaplib(1) using a different approach. It works but it has a couple issues (see patch), I would appreciate any thoughts/improvements. -- nosy: +jdek versions: +Python 3.9 -Python 3.6