Your message dated Thu, 27 Mar 2014 21:49:04 +0000
with message-id <[email protected]>
and subject line Bug#742686: fixed in babelfish 0.5.1-2
has caused the Debian Bug report #742686,
regarding python3-babelfish: Infinite loop when getattr
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
742686: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742686
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-babelfish
Version: 0.5.1-1
Severity: normal
Tags: patch upstream
This bug affects python3-babelfish for python3 >= 3.4.
https://github.com/Diaoul/babelfish/issues/16
Attached upstream commit fixes the issue.
Thanks
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.13-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python3-babelfish depends on:
ii python3-pkg-resources 2.2-1
pn python3:any <none>
python3-babelfish recommends no packages.
python3-babelfish suggests no packages.
-- no debconf information
--
Etienne Millon
>From 280b9cfe55f24ca5a26b5786a21fd4c0589f4139 Mon Sep 17 00:00:00 2001
From: Toilal <[email protected]>
Date: Wed, 26 Mar 2014 11:36:16 +0100
Subject: [PATCH] Fix bug #16.
---
babelfish/country.py | 2 +-
babelfish/language.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/babelfish/country.py b/babelfish/country.py
index 83641fc..6cdd0fa 100644
--- a/babelfish/country.py
+++ b/babelfish/country.py
@@ -43,7 +43,7 @@ class CountryMeta(type):
def __getattr__(cls, name):
if name.startswith('from'):
return partial(cls.fromcode, converter=name[4:])
- return getattr(cls, name)
+ return type.__getattribute__(cls, name)
class Country(CountryMeta(str('CountryBase'), (object,), {})):
diff --git a/babelfish/language.py b/babelfish/language.py
index ffa48ef..e2e6235 100644
--- a/babelfish/language.py
+++ b/babelfish/language.py
@@ -52,7 +52,7 @@ class LanguageMeta(type):
def __getattr__(cls, name):
if name.startswith('from'):
return partial(cls.fromcode, converter=name[4:])
- return getattr(cls, name)
+ return type.__getattribute__(cls, name)
class Language(LanguageMeta(str('LanguageBase'), (object,), {})):
--
1.8.5.5
--- End Message ---
--- Begin Message ---
Source: babelfish
Source-Version: 0.5.1-2
We believe that the bug you reported is fixed in the latest version of
babelfish, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Etienne Millon <[email protected]> (supplier of updated babelfish package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 26 Mar 2014 13:23:33 +0100
Source: babelfish
Binary: python-babelfish python3-babelfish
Architecture: source all
Version: 0.5.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Etienne Millon <[email protected]>
Description:
python-babelfish - library to work with countries and languages (Python 2)
python3-babelfish - library to work with countries and languages (Python 3)
Closes: 742686
Changes:
babelfish (0.5.1-2) unstable; urgency=medium
.
* Fix infinite loop with getattr on python 3.4 (Closes: #742686)
Checksums-Sha1:
561e9a552e22772693f4098012cf46c5eb07e2c7 2169 babelfish_0.5.1-2.dsc
18afdc47ddcfc431943b7009a07f6c6984fef915 2968 babelfish_0.5.1-2.debian.tar.xz
dbaf7c7f7fea5817ea0a368c482db8dfdc4b003d 73260 python-babelfish_0.5.1-2_all.deb
fe7c23e1a6579ee12ba62533e4e13cbff593a563 73086
python3-babelfish_0.5.1-2_all.deb
Checksums-Sha256:
8685d751a33e808518267e23831b949800aa7298c9327d1fd61bac22ff517179 2169
babelfish_0.5.1-2.dsc
6bdd00a0a91359e960a3089de7e6320752369cbed11f498be0fee2ab2bb04c35 2968
babelfish_0.5.1-2.debian.tar.xz
73d6b91dc692b045c3b894b12305437700fb45b2ff8f4a02aa47cf7dacc76d68 73260
python-babelfish_0.5.1-2_all.deb
f1438a4f1c820b7fc5ac251750c205f954b387cb18255159d085d920db6aa0e5 73086
python3-babelfish_0.5.1-2_all.deb
Files:
59edbb66ed4e802188e38ce1e53fb942 2169 python optional babelfish_0.5.1-2.dsc
bbe3459a4abbb33a385d1559d227eb88 2968 python optional
babelfish_0.5.1-2.debian.tar.xz
719120005df2eb01f4581eeddfc1dbef 73260 python optional
python-babelfish_0.5.1-2_all.deb
12ae43d7493b7115f7a59cd5db8622d0 73086 python optional
python3-babelfish_0.5.1-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJTNJfwAAoJEK728aKnRXZFFPMQAJ+t75mY+pFzQiq5z6EzKPRa
giaScP81PkH5iw7GNbv72k+8JCJEBiiuYoyxrmn3Xbyu/7s82VWPd9D0yXHClf8l
hhQ7QD3pmvtosM6Ze3Qcly4482TITTCEUeETAtAeGmh3ABjNVcyHPq6UoZiALk63
dFEtF0NM97TrTg7UCB1Sc8lFnh/Rky6keP2CTt9CBtfZSKbW+PMAxTdDEvwVdUPv
ciH2vcwwDUlVLbsd1a70i+ognJh6BaFkqutoQl3XdnJbzv9BoCgOmZB5whWq2Aqk
7CJag9zn5oCB1URsL0W/j0SdmW45EWq0R4gvsvQ1zHEVYvmHT6oO44HlIq8ElhGk
g/pX3izZH8XE212tw25id0Hr5PB9Qi8ZCXp5VIvtJXzQdNuJ5dktIEMtGjxbYlTN
QdNEqPM12cP62qPR+V1U2Ki3YxkWHoCo8flwCQ788Vu31XtNoVY8YTYyu/pZiaIu
Jt3xUI3+gbUsbhvCMIsYi9+x9gKqUtPnBjVQppTfeyB4YloQKQ+ZfmfG2OmBrKzP
//8E30BMOOBRi1eTvTx1kdFn49f6q6r2SyvEgqmlvio9hHHkNulbEormOoBcS+hn
vYWLrASEfXwGc/18XCjYQogO4fyDB1D0myCRQ9Ke38b4v9tx4oG4sLpmgknUPQnj
v/ky2ZkyexxtpPp6MZPZ
=aznu
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team