An error occurred fetching the project authors.
- 21 Feb, 2024 1 commit
-
-
Jérome Perrin authored
-
- 04 May, 2022 1 commit
-
-
Arnaud Fontaine authored
Done through various 2to3 fixers (zope.fixers, modernize, future) and manual changes. This is a single commit so that we have a clearer picture of how code converted with my2to3 should look like. Except straightforward @implementer decorator 2to3 fixer, only product/ folder was considered as the goal was to be able to create an ERP5Site. * Use @implementer decorator introduced in zope.interface 3.6.0 (2010): The implements syntax used under Python 2.X does not work under 3.X, since it depends on how metaclasses are implemented and this has changed. Instead it now supports a decorator syntax (also under Python 2.X). Applied thanks to 2to3 `zope.fixers` package. * Use `six.moves` rather than `future` install_aliases() feature because the latter use unicode_literals and "wraps" module aliases so that unicode() are returned for text rather than str() (Python2 standard library). This notably breaks BusinessTemplate code which uses urllib quote() for filesystem paths... * No more unbound methods in python3 so use six.get_unbound_function(). * dict.(iteritems,iterkeys,itervalues)() => six.\1(dict) thanks to `dict_six` 2to3 fixer from `modernize`: $ python-modernize -w -f dict_six product/ * Manually make sure that dict.{items,values,keys}() returns a real list when it is latter modified rather than a dict_{items,values,keys} (ensure_list()). By default, 2to3 blindly does list(dict.{items,values,keys}()) which is not acceptable from performances point of view. With my2to3, this will be possible to handle such case automatically. * Replace cStringIO.StringIO() by six.moves.cStringIO() (a module alias for cStringIO.StringIO() on py2 and io.StringIO() on py3). * Use six.text_type which maps to unicode() on py2 and str() on py3. This also makes a clearer difference between text and binary strings. * Replace map()/filter() with lambda function by list comprehension (this has the benefit to avoid casting to list for py3 as it returns iterators).
-
- 29 Apr, 2021 1 commit
-
-
Aurel authored
-
- 17 Oct, 2011 1 commit
-
-
Julien Muchembled authored
Checked following occurrences in comments: - "Python 2.[456]" - "Zope 2.[891]" - "BBB" - "BACK" Checked uses of: - email, hashlib, numpy & tarfile (modules) - ImportError - string.Template - suppress_events (parameter of _setObject) Excluded: - some forked modules (MailTemplates, PortalTransforms...) - some i18n compatibility code
-
- 07 Oct, 2009 1 commit
-
-
Leonardo Rochael Almeida authored
On the way to Zope 2.12, Reform imports, specially from Globals (replacing it with Products.ERP5Type.Globals on the products that depend on ERP5Type), convert Interface uses to zope.interfaces, and remove CMFMailIn references with blessings from Jerome. git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29459 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Jan, 2009 1 commit
-
-
Jérome Perrin authored
In this case PDFTemplates will not work, but it does not prevent zope startup. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25331 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Oct, 2007 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17069 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Mar, 2007 1 commit
-
-
Vincent Pelletier authored
renderPDF must not be bound to a class, because it's only used as a "regular" monkey patch for CMFReport's version. This change fixes PDFTemplate under Zope 2.8. Updated some logs (even if they are commented out) to follow the naming change. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13751 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Aug, 2006 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9528 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Aug, 2006 1 commit
-
-
Bartek Górny authored
when encoding is bad, replace chars instead of raising exception (so that we get some output, albeit ugly) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9166 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Mar, 2006 1 commit
-
-
Yoshinori Okuji authored
Remove unneeded executable flags. Repair broken images. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6282 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Feb, 2006 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5573 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Jan, 2006 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4991 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Oct, 2005 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4150 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Sep, 2004 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1767 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Aug, 2004 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1461 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Aug, 2004 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1403 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Aug, 2004 2 commits
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1377 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1376 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Jul, 2004 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1258 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Jun, 2004 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@958 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Jun, 2004 1 commit
-
-
Yoshinori Okuji authored
This should have been just a typo. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@949 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 May, 2004 1 commit
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@937 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 May, 2004 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@891 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Apr, 2004 2 commits
-
-
Yoshinori Okuji authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@714 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yoshinori Okuji authored
Remove create_settings_form, because it is not used any longer. Use the page template www/formSettings.zpt instead of dtml/formSettings.dtml. New method, doSettings. This is called from the page template. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@706 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Feb, 2004 2 commits
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@441 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@430 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Dec, 2002 1 commit
-
-
Jean-Paul Smets authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2 20353a03-c40f-0410-a6d1-a30d3c3de9de
-