Re: [Python-Dev] XML codec?
Fred Drake wrote: On Nov 12, 2007, at 8:56 AM, Walter Dörwald wrote: It isn't embedded. codecs.detect_xml_encoding() is callable without any problems (though not documented). Not documented means not available, I think. I just din't think that someone wants the detection function, but not the codec, so I left the function undocumented. Who would use such a function for what? Being able to detect the encoding can be useful anytime you want information about a file, actually. In particular, presenting encoding information in a user interface (yes, you can call that contrived, but some people want to be able to see such things, and for them it's a requirement). And if you want to display the XML you'd need to decode it. An example might be a text viewer. E.g. Apples QuickLook. If you want to parse the XML and re-encode, it's common to want to re-encode in the origin encoding; it's needed for that as well. If you just want to toss the text into an editor, the encoding is also needed. In that case, the codec approach *might* be acceptable (depending on the rest of the editor implementation), but the same re-encoding issue applies as well. Simply, it's sometimes desired to know the encoding for purposes that don't require immediate decoding. A function would be quite handing in these cases. So the consensus seems to be: Add an encoding detection function (implemented in Python) to the xml module? Servus, Walter ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Summary of Tracker Issues
ACTIVITY SUMMARY (11/06/07 - 11/13/07) Tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue number. Do NOT respond to this message. 1323 open (+17) / 11597 closed (+23) / 12920 total (+40) Open issues with patches: 418 Average duration of open issues: 689 days. Median duration of open issues: 795 days. Open Issues Breakdown open 1318 (+17) pending 5 ( +0) Issues Created Or Reopened (41) ___ test_import breaks on Linux 11/09/07 http://bugs.python.org/issue1377reopened gvanrossum py3k Can't pickle partial functions 11/07/07 CLOSED http://bugs.python.org/issue1398created danhs XML codec11/07/07 http://bugs.python.org/issue1399created doerwalter patch Py3k's print() flushing problem 11/07/07 http://bugs.python.org/issue1400created wojtekwalczak py3k urllib2 302 POST 11/07/07 http://bugs.python.org/issue1401created andresriancho Interpreter cleanup: order of _PyGILState_Fini and PyInterpreter 11/07/07 http://bugs.python.org/issue1402created ronaldoussoren py_compile and compileall need unit tests11/08/07 http://bugs.python.org/issue1403created tiran py3k warnings module bug: BytesWarning: str() on a bytes instance 11/08/07 CLOSED http://bugs.python.org/issue1404created tiran patch Garbage collection not working correctly in Python 2.3 11/09/07 CLOSED http://bugs.python.org/issue1405reopened tiran Use widechar api for os.environ 11/08/07 CLOSED http://bugs.python.org/issue1406created theller py3k, patch [performance] Too many closed() checkings11/08/07 http://bugs.python.org/issue1407created wojtekwalczak py3k Inconsistence in multiply list 11/08/07 CLOSED http://bugs.python.org/issue1408created beco new keyword-only function parameters interact badly with nested 11/08/07 http://bugs.python.org/issue1409created _doublep py3k BaseHTTPServer cannot accept Unicode data11/08/07 CLOSED http://bugs.python.org/issue1410created isonno A typo in tutorial 11/09/07 CLOSED http://bugs.python.org/issue1411created falsetru test_subprocess fails on SuSE 10 11/09/07 http://bugs.python.org/issue1412created dvadasz int literal methods inaccessible 11/09/07 CLOSED http://bugs.python.org/issue1413created mykhal Fix for refleak tests11/09/07 http://bugs.python.org/issue1414created tiran py3k, patch py3k: pythonw.exe fails because std streams a missing11/10/07 CLOSED http://bugs.python.org/issue1415created tiran py3k @prop.setter decorators
[Python-Dev] New python developer
Hello, As you may have seen, I have recently been granted developer privileges on python svn. Let me introduce myself. I am French, 35 years old, and father of 5 children. I work as a programmer in a fund manager company, and have been working with python for eight years now. What I mostly like in python are: - fun to work with - its robustness: not only against bugs, but the stability of its concepts, and the readability of its code base; - easy to interface with any other system. To start with python development, I think I will try to help with python3.0, or picking some bugs in the issue tracker. I have some knowledge of the python internals, with hours of debugging sessions of a C++ application mixed with the python interpreter. And I think I have read almost every svn commit for two years. I can also help on win32 specific development. As an example, I find that the distutils module don't work very well with the new compilers. I won't be of much help on Unix, though. I also like good and accurate documentation. Even if my english may be poor sometimes, I can help with writing some parts. Digging in the code to extract specifications is one of my favourite jobs. And of course I can help on other subjects if there is some interest. I am very excited to take part in this great project. So please forgive me if I do something wrong or too quickly. And your (kind) remarks will always be welcome. -- Amaury Forgeot d'Arc ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] New python developer
Welcome Amaury! Your contributions have already been most helpful. Thanks for letting us peek at your background! --Guido On Nov 13, 2007 1:05 PM, Amaury Forgeot d'Arc [EMAIL PROTECTED] wrote: Hello, As you may have seen, I have recently been granted developer privileges on python svn. Let me introduce myself. I am French, 35 years old, and father of 5 children. I work as a programmer in a fund manager company, and have been working with python for eight years now. What I mostly like in python are: - fun to work with - its robustness: not only against bugs, but the stability of its concepts, and the readability of its code base; - easy to interface with any other system. To start with python development, I think I will try to help with python3.0, or picking some bugs in the issue tracker. I have some knowledge of the python internals, with hours of debugging sessions of a C++ application mixed with the python interpreter. And I think I have read almost every svn commit for two years. I can also help on win32 specific development. As an example, I find that the distutils module don't work very well with the new compilers. I won't be of much help on Unix, though. I also like good and accurate documentation. Even if my english may be poor sometimes, I can help with writing some parts. Digging in the code to extract specifications is one of my favourite jobs. And of course I can help on other subjects if there is some interest. I am very excited to take part in this great project. So please forgive me if I do something wrong or too quickly. And your (kind) remarks will always be welcome. -- Amaury Forgeot d'Arc ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] New python developer
On Nov 13, 2007 1:05 PM, Amaury Forgeot d'Arc [EMAIL PROTECTED] wrote: Hello, As you may have seen, I have recently been granted developer privileges on python svn. Welcome aboard, Amaury! -Brett ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] New python developer
As you may have seen, I have recently been granted developer privileges on python svn. Hello Amaury. Welcome aboard. Raymond ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
[Python-Dev] Hello, I'm the other new guy
Hello Pythonistas and fellow core developers! After Amaury introduced himself I've decided that I *have* to take some time to introduce myself, too. Hello, my name is Christian Heimes and I'm a 28 years old German from Aachen. Aachen is a beautiful city about 70km West to Cologne and near the borders to The Netherlands and Belgium. Some of you may know me from #python as Crys (|Crys| or Crys_) or my former nick Tiran. Others may have seen me at some Python related conferences like EuroPython 2003 in Charleroi/Belgium, 2004+2005 in Gothenburg/Sweden, DZUG 2004 at the DESY/Hamburg or Plone Conference 2004/Vienna. Before I'm going to bore you with the (Python) story of my life let me tell you something about my persona. I'm of average build and average height but people usually don't describe me as an average guy. Unless you see the more Metal and Gothic like chap with glasses, chin-beard and very long hair in black cloths, boots and a hat as ordinary. *g* When I'm not sitting in front of my box I'm spending time with my beautiful girl friend, listening to music, my friends or in a disco. I enjoy cooking but I rarely spend time in front of the TV. I only watch some well selected series like Myth Busters + LOST and information channels like ARTE. My more exotic hobby is Medieval Living History, also known as Reenactment although we don't take it as serious as Reenacters. I usually describe it as a counter weight to my science and computer interests. We are tailoring cloths and living in tents or castles like people about 1200 to 600 years ago. That is without electricity, mobile phones and computers as much as it is possible these days. It's like a vacation from the modern world for a view days or entire week for me. Now here is the story how Python entered my life: I had my first real contact with Python in 2002 when some friends and me were evaluation web frameworks for the relaunch of our community site. We were all frustrated from our past experiences with PHP and MySQL and were looking for something innovative and more professional. Quickly we were brim over with enthusiasm for Zope3 and Python. But Zope3 wasn't ready in 2002 and the community project went dead after some internal frictions and lack of time. But I kept learning Python and playing around with Zope3 and Zope2. After some Zope related jobs I came in contact with Plone and eventually became a Plone core developer and elected board member of the newly formed Plone Foundation. Unfortunately personal and health problems forced me to drop everything. After things went better again I focused on other areas like PyQt4, Twisted. C#/.NET and PythonDotNET in order to broaden my knowledge and learn other techniques beside CMS and web applications. I came to Python C development as I worked on PythonDotNET for one of my projects. Although it might sound strange how a .NET and C# project got me into C and Python C API but it's easy to explain. In order to fix PythonDotNET for Python 2.5, Mono and UCS-4 builds of Python I had to familiarize myself with the C API of Python. The project is a bridge between CPython and .NET and not related to IronPython. The C# is doing a lot of calls into the C library using a technology that can be compared to ctypes. The code jumps forth and back between C, C#/.NET and Python code. It's a nightmare to debug problems but it's fun, too. Once I had overcome my fear of Python's C API I saw its elegance and started to contribute to Python's core. I wrote some patches for Python 3000 because I saw an opportunity to get involved and contribute. And because I like to play with new stuff ;) After a heap of patches and bug reports Guido finally granted me developer privileges. I'm planing to focus my work on Python 3000. I'm a Linux user (10 years server and 5 years work station experience) but I've a VMWare running to test patches on Windows XP, too. Questions? :) Christian ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com