From tadeu at esss.com.br Wed Sep 10 19:40:04 2014 From: tadeu at esss.com.br (Edson Tadeu M. Manoel) Date: Wed Sep 10 23:40:22 2014 Subject: [egenix-users] Patch to fix crashes with python debug Message-ID: Hi, I have a patch proposal to fix problems in mx.DateTime that causes crashes in the debug version of Python (I'm testing on Python 2.7). Specifically, the problem happens when there is an error raised from one of the "constructors". Where can I send it? I didn't find any official repository or issue tracking system. Is this list a good place? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: /mailman-archives/egenix-users/attachments/20140910/9f34cedf/attachment.htm From mal at egenix.com Thu Sep 11 00:45:35 2014 From: mal at egenix.com (M.-A. Lemburg) Date: Wed Sep 10 23:45:32 2014 Subject: [egenix-users] Patch to fix crashes with python debug In-Reply-To: References: Message-ID: <5410C67F.60301@egenix.com> On 10.09.2014 23:40, Edson Tadeu M. Manoel wrote: > Hi, > > I have a patch proposal to fix problems in mx.DateTime that causes > crashes in the debug version of Python (I'm testing on Python 2.7). > Specifically, the problem happens when there is an error raised from one of > the "constructors". Where can I send it? I didn't find any official > repository or issue tracking system. Is this list a good place? Yes, if it's not too large you can send it here. For larger patches, please use support@egenix.com. Thanks, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 10 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2014-09-19: PyCon UK 2014, Coventry, UK ... 9 days to go 2014-09-27: PyDDF Sprint 2014 ... 17 days to go 2014-09-30: Python Meeting Duesseldorf ... 20 days to go eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From tadeu at esss.com.br Thu Sep 11 09:58:15 2014 From: tadeu at esss.com.br (Edson Tadeu M. Manoel) Date: Thu Sep 11 13:58:34 2014 Subject: [egenix-users] Re: Patch to fix crashes with python debug In-Reply-To: References: Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: fix-crashes-in-debug-in-mx.DateTime-caused-by-errors.patch Type: application/octet-stream Size: 4636 bytes Desc: not available Url : /mailman-archives/egenix-users/attachments/20140911/7a35d6b9/fix-crashes-in-debug-in-mx.DateTime-caused-by-errors.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: pytest_mx_datetime.py Type: application/octet-stream Size: 615 bytes Desc: not available Url : /mailman-archives/egenix-users/attachments/20140911/7a35d6b9/pytest_mx_datetime.obj From mal at egenix.com Thu Sep 11 15:27:02 2014 From: mal at egenix.com (M.-A. Lemburg) Date: Thu Sep 11 14:27:04 2014 Subject: [egenix-users] Re: Patch to fix crashes with python debug In-Reply-To: References: Message-ID: <54119516.9080909@egenix.com> On 11.09.2014 13:58, Edson Tadeu M. Manoel wrote: > Please find the patch attached. > > It applies to mx version 3.2.5. It fixes the problem where `_ob_next` and > `_ob_prev` were being rewritten by the `mxDateTime_FreeList` mechanism, and > also where `mxDateTime` objects were being deallocated without previously > "rewiring" the `_ob_next` and `_ob_prev` links (by calling `mxDateTime_Free` > directly, who called `PyObject_Del` directly instead of using `Py_DECREF` > or `Py_XDECREF` or `Py_Clear`). > > I'm also attaching a very simple test case that is fixed by the patch (the > test crashed in python debug). Thanks for the patch. We'll have a look into the problem and add a fix to the next release. > Thanks, > Edson Tadeu M. Manoel > > > > On Wed, Sep 10, 2014 at 6:40 PM, Edson Tadeu M. Manoel > wrote: > >> Hi, >> >> I have a patch proposal to fix problems in mx.DateTime that causes >> crashes in the debug version of Python (I'm testing on Python 2.7). >> Specifically, the problem happens when there is an error raised from one of >> the "constructors". Where can I send it? I didn't find any official >> repository or issue tracking system. Is this list a good place? >> >> >> Thanks. >> >> >> > > > > > > > _______________________________________________________________________ > eGenix.com User Mailing List http://www.egenix.com/ > https://www.egenix.com/mailman/listinfo/egenix-users > -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 11 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2014-09-19: PyCon UK 2014, Coventry, UK ... 8 days to go 2014-09-27: PyDDF Sprint 2014 ... 16 days to go 2014-09-30: Python Meeting Duesseldorf ... 19 days to go eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From info at egenix.com Tue Sep 23 12:16:58 2014 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Tue Sep 23 11:15:48 2014 Subject: [egenix-users] =?utf-8?q?ANN=3A_Python_Meeting_D=C3=BCsseldorf_-_30=2E09=2E2014?= Message-ID: <54213A8A.4080009@egenix.com> [This announcement is in German since it targets a local user group meeting in D?sseldorf, Germany] ________________________________________________________________________ ANK?NDIGUNG Python Meeting D?sseldorf http://pyddf.de/ Ein Treffen von Python Enthusiasten und Interessierten in ungezwungener Atmosph?re. Dienstag, 30.09.2014, 18:00 Uhr Raum 1, 2.OG im B?rgerhaus Stadtteilzentrum Bilk D?sseldorfer Arcaden, Bachstr. 145, 40217 D?sseldorf Diese Nachricht ist auch online verf?gbar: http://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2014-09-30 ________________________________________________________________________ NEUIGKEITEN * Bereits angemeldete Vortr?ge: Charlie Clark "Generator Gotchas" Marc-Andre Lemburg "Python und Fliegen - Speicherbedarf von Python Objekten optimieren" Weiterhin werden wir die Ergebnisse des PyDDF Sprints 2014 vom kommenden Wochenende (http://pyddf.de/sprint2014) pr?sentieren. Weitere Vortr?ge k?nnen gerne noch angemeldet werden: info@pyddf.de * Startzeit und Ort: Wir treffen uns um 18:00 Uhr im B?rgerhaus in den D?sseldorfer Arcaden. Das B?rgerhaus teilt sich den Eingang mit dem Schwimmbad und befindet sich an der Seite der Tiefgarageneinfahrt der D?sseldorfer Arcaden. ?ber dem Eingang steht ein gro?es ?Schwimm?'in Bilk? Logo. Hinter der T?r direkt links zu den zwei Aufz?gen, dann in den 2. Stock hochfahren. Der Eingang zum Raum 1 liegt direkt links, wenn man aus dem Aufzug kommt. Google Street View: http://bit.ly/11sCfiw ________________________________________________________________________ EINLEITUNG Das Python Meeting D?sseldorf ist eine regelm??ige Veranstaltung in D?sseldorf, die sich an Python Begeisterte aus der Region wendet: * http://pyddf.de/ Einen guten ?berblick ?ber die Vortr?ge bietet unser YouTube-Kanal, auf dem wir die Vortr?ge nach den Meetings ver?ffentlichen: * http://www.youtube.com/pyddf/ Veranstaltet wird das Meeting von der eGenix.com GmbH, Langenfeld, in Zusammenarbeit mit Clark Consulting & Research, D?sseldorf: * http://www.egenix.com/ * http://www.clark-consulting.eu/ ________________________________________________________________________ PROGRAMM Das Python Meeting D?sseldorf nutzt eine Mischung aus Open Space und Lightning Talks, wobei die Gewitter bei uns auch schon mal 20 Minuten dauern k?nnen ;-). Lightning Talks k?nnen vorher angemeldet werden, oder auch spontan w?hrend des Treffens eingebracht werden. Ein Beamer mit XGA Aufl?sung steht zur Verf?gung. Folien bitte als PDF auf USB Stick mitbringen. Lightning Talk Anmeldung bitte formlos per EMail an info@pyddf.de ________________________________________________________________________ KOSTENBETEILIGUNG Das Python Meeting D?sseldorf wird von Python Nutzern f?r Python Nutzer veranstaltet. Um die Kosten zumindest teilweise zu refinanzieren, bitten wir die Teilnehmer um einen Beitrag in H?he von EUR 10,00 inkl. 19% Mwst, Sch?ler und Studenten zahlen EUR 5,00 inkl. 19% Mwst. Wir m?chten alle Teilnehmer bitten, den Betrag in bar mitzubringen. ________________________________________________________________________ ANMELDUNG Da wir nur f?r ca. 20 Personen Sitzpl?tze haben, m?chten wir bitten, sich per EMail anzumelden. Damit wird keine Verpflichtung eingegangen. Es erleichtert uns allerdings die Planung. Meeting Anmeldung bitte formlos per EMail an info@pyddf.de ________________________________________________________________________ WEITERE INFORMATIONEN Weitere Informationen finden Sie auf der Webseite des Meetings: http://pyddf.de/ Mit freundlichen Gr??en, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 23 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2014-09-27: PyDDF Sprint 2014 ... 4 days to go 2014-09-30: Python Meeting Duesseldorf ... 7 days to go ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ From info at egenix.com Mon Sep 29 14:35:30 2014 From: info at egenix.com (eGenix Team: M.-A. Lemburg) Date: Mon Sep 29 13:33:41 2014 Subject: [egenix-users] ANN: eGenix PyCon UK 2014 Talks & Videos Message-ID: <54294402.3030203@egenix.com> ________________________________________________________________________ ANNOUNCING eGenix PyCon UK 2014 Talks & Videos This announcement is also available on our web-site for online reading: http://www.egenix.com/company/news/PyCon-UK-2014-Presentations.html ________________________________________________________________________ We have just published the talk slides and videos of our PyCon UK 2014 presentations. The PyCon UK Conference is the premier conference for Python users and developers in the UK. This year it was held from September 19-22 in Coventry, UK. ________________________________________________________________________ EGENIX TALKS AT PYCON UK 2014 At this year's PyCon UK, Marc-Andr? Lemburg, CEO of eGenix, gave the following talks at the conference. The presentations are available for viewing and download from our Presentations and Talks section: http://www.egenix.com/library/presentations/ When performance matters ... ---------------------------- Simple idioms you can use to make your Python code run faster and use less memory. Python applications sometimes need all the performance they can get. Think of e.g. web, REST or RPC servers. There are several ways to address this: scale up by using more processes, use Cython, use PyPy, rewrite parts in C, etc. However, there are also quite a few things that can be done directly in Python. This talk goes through a number of examples and show cases how sticking to a few idioms can easily enhance the performance of your existing applications without having to revert to more complex optimization strategies. The talk was complemented with a lightning talk titled "Pythons and Flies", which addresses a memory performance idiom and answers one of the audience questions raised in the above talk. Talk video and slides: http://www.egenix.com/library/presentations/PyCon-UK-2014-When-performance-matters/ Python Web Installer -------------------- Installing Python packages is usually done with one of the available package installation systems, e.g. pip, easy_install, zc.buildout, or manually by running "python setup.py install" in a package distribution directory. These systems work fine as long as you have Python-only packages. For packages that contain binaries, such as Python C extensions or other platform dependent code, the situation is a lot less bright. In this talk, we present a new web installer system that we're currently developing to overcome these limitations. The system combines the dynamic Python installation interface supported by all installers ("python setup.py install"), with a web installer which automatically selects, downloads, verifies and installs the binary package for your platform. Talk video and slides: http://www.egenix.com/library/presentations/PyCon-UK-2014-Python-Web-Installer/ If you are interested in learning more about these idioms and techniques, eGenix now offers Python project coaching and consulting services to give your project teams advice on how to achieve best performance and efficiency with Python: http://www.egenix.com/services/coaching/ Please contact our eGenix Sales Team for information: sales@egenix.com. ________________________________________________________________________ INFORMATION About Python (http://www.python.org/): Python is an object-oriented Open Source programming language which runs on all modern platforms. By integrating ease-of-use, clarity in coding, enterprise application connectivity and rapid application design, Python establishes an ideal programming platform for today's IT challenges. About eGenix (http://www.egenix.com/): eGenix is a software project, consulting and product company focusing on expert project services and professional quality products for companies, Python users and developers. Enjoy, -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Sep 29 2014) >>> Python Projects, Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope/Plone.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ 2014-09-30: Python Meeting Duesseldorf ... tomorrow ::::: Try our mxODBC.Connect Python Database Interface for free ! :::::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/