From benjamin at python.org  Sun Jan  5 02:08:18 2014
From: benjamin at python.org (Benjamin Peterson)
Date: Sat, 04 Jan 2014 17:08:18 -0800
Subject: [Python-porting] [RELEASED] six 1.5.0
Message-ID: <1388884098.1862.66664537.6EA46CF9@webmail.messagingengine.com>

I'm happy to announce the immediate release of six 1.5.0. six is a
Python 2/3 compatibility library designed to aid the same-source
migration path. The new release can be downloaded on PyPI:

    https://pypi.python.org/pypi/six

six.moves has been improved to act more like real modules. You should be
able to import directly classes and functions from six.moves Python 2.4
support has been dropped as of this release. This is because py.test
stopped supporting 2.4.

I'd particularly like to thank Marc Abramowitz and Alexander Lukanin for
contributing patches.

Report bugs to

    https://bitbucket.org/gutworth/six

Here is the complete changelog:

- Removed support for Python 2.4. This is because py.test no longer
supports
  2.4.

- Fix various import problems including issues #19 and #41. six.moves
modules
  are now lazy wrappers over the underlying modules instead of the
  actual
  modules themselves.

- Issue #49: Add six.moves mapping for tkinter.ttk.

- Pull request #24: Add __dir__ special method to six.moves modules.

- Issue #47: Fix add_metaclass on classes with a string for the
__slots__
  variable.

- Issue #44: Fix interpretation of backslashes on Python 2 in the u()
function.

- Pull request #21: Add import mapping for urllib's proxy_bypass
function.

- Issue #43: Add import mapping for the Python 2 xmlrpclib module.

- Issue #39: Add import mapping for the Python 2 thread module.

- Issue #40: Add import mapping for the Python 2 gdbm module.

- Issue #35: On Python versions less than 2.7, print_ now encodes
unicode
  strings when outputing to standard streams. (Python 2.7 handles this
  automatically.)


-- 
Regards,
Benjamin

From benjamin at python.org  Sun Jan  5 06:20:24 2014
From: benjamin at python.org (Benjamin Peterson)
Date: Sat, 04 Jan 2014 21:20:24 -0800
Subject: [Python-porting] [RELEASED] six 1.5.0
In-Reply-To: <1388884098.1862.66664537.6EA46CF9@webmail.messagingengine.com>
References: <1388884098.1862.66664537.6EA46CF9@webmail.messagingengine.com>
Message-ID: <1388899224.1714.66708221.567F05D1@webmail.messagingengine.com>

Note I've just released six 1.5.1, which fixes a problem with the Django
autoreloader.

-- 
Regards,
Benjamin

On Sat, Jan 4, 2014, at 05:08 PM, Benjamin Peterson wrote:
> I'm happy to announce the immediate release of six 1.5.0. six is a
> Python 2/3 compatibility library designed to aid the same-source
> migration path. The new release can be downloaded on PyPI:
> 
>     https://pypi.python.org/pypi/six
> 
> six.moves has been improved to act more like real modules. You should be
> able to import directly classes and functions from six.moves Python 2.4
> support has been dropped as of this release. This is because py.test
> stopped supporting 2.4.
> 
> I'd particularly like to thank Marc Abramowitz and Alexander Lukanin for
> contributing patches.
> 
> Report bugs to
> 
>     https://bitbucket.org/gutworth/six
> 
> Here is the complete changelog:
> 
> - Removed support for Python 2.4. This is because py.test no longer
> supports
>   2.4.
> 
> - Fix various import problems including issues #19 and #41. six.moves
> modules
>   are now lazy wrappers over the underlying modules instead of the
>   actual
>   modules themselves.
> 
> - Issue #49: Add six.moves mapping for tkinter.ttk.
> 
> - Pull request #24: Add __dir__ special method to six.moves modules.
> 
> - Issue #47: Fix add_metaclass on classes with a string for the
> __slots__
>   variable.
> 
> - Issue #44: Fix interpretation of backslashes on Python 2 in the u()
> function.
> 
> - Pull request #21: Add import mapping for urllib's proxy_bypass
> function.
> 
> - Issue #43: Add import mapping for the Python 2 xmlrpclib module.
> 
> - Issue #39: Add import mapping for the Python 2 thread module.
> 
> - Issue #40: Add import mapping for the Python 2 gdbm module.
> 
> - Issue #35: On Python versions less than 2.7, print_ now encodes
> unicode
>   strings when outputing to standard streams. (Python 2.7 handles this
>   automatically.)
> 
> 
> -- 
> Regards,
> Benjamin
> _______________________________________________
> Python-porting mailing list
> Python-porting at python.org
> https://mail.python.org/mailman/listinfo/python-porting

From Axel.Rau at Chaos1.DE  Tue Jan 21 18:46:25 2014
From: Axel.Rau at Chaos1.DE (Axel Rau)
Date: Tue, 21 Jan 2014 17:46:25 -0000
Subject: [Python-porting] six 1.5.2 breaks calendar server 5.1
Message-ID: <78D20541-C3FC-46B2-9031-3B6050B4FA92@Chaos1.DE>

Hi,
While preparing a FreeBSD port of calendar server 5.1, I get
---
Traceback (most recent call last):
  File "/usr/local/bin/calendarserver_manage_principals", line 32, in <module>
    main()
  File "/usr/local/lib/python2.7/site-packages/calendarserver/tools/principals.py", line 333, in main
    utilityMain(configFileName, PrincipalService, verbose=verbose)
  File "/usr/local/lib/python2.7/site-packages/calendarserver/tools/cmdline.py", line 95, in utilityMain
    service = maker.makeService(options)
  File "/usr/local/lib/python2.7/site-packages/calendarserver/tap/caldav.py", line 746, in makeService
    replaceTwistedLoggers()
  File "/usr/local/lib/python2.7/site-packages/twext/python/log.py", line 937, in replaceTwistedLoggers
    newLogger = Logger(namespace=module.__name__)
  File "/usr/local/lib/python2.7/site-packages/six.py", line 115, in __getattr__
    raise AttributeError
AttributeError
---
See https://trac.calendarserver.org/ticket/832

Regards, Axel
---
PGP-Key:29E99DD6  ? +49 151 2300 9283  ? computing @ chaos claudius