[issue29021] Custom functions in sqlite receive None on invalid UTF-8

2016-12-20 Thread Ingo Ruhnke
New submission from Ingo Ruhnke: When a sqlite database contains invalid UTF-8 code in a TEXT column, Python can query that data normally when .text_factory is set appropriately. However when a custom function is created with .create_function() and applied to that column the custom function

[issue16041] poplib: unlimited readline() from connection

2015-06-28 Thread Ingo Ruhnke
Ingo Ruhnke added the comment: This fix has broken mail retrieval from both gmx.de, gmail.com and plenty of other provider. It manifests in getmail as: Retrieval error: server for BrokenUIDLPOP3SSLRetriever:1860...@pop.gmx.net:995 is broken; offered message 239 but failed to provide

[issue23906] poplib maxline behaviour may be wrong

2015-06-28 Thread Ingo Ruhnke
Ingo Ruhnke added the comment: This also breaks mail retrieval from both gmx.de and gmail.com (two rather large and popular mail provider). After setting _MAXLINE in/usr/lib/python2.7/poplib.py to some arbitrary higher number mail retrieval from both services worked fine again