[Python-modules-team] Bug#832192: Bug#832192: celeryd: Section should not be “python”

2016-07-30 Thread Justin B Rye
I'm not a DD, but here I go butting in with an opinion anyway!

Brian May wrote:
> Ben Finney  writes:
>> By the section descriptions, this package may belong in section
>> “admin”.
> 
> I am not convinced admin is appropriate:
> "Utilities to administer system resources, manage user accounts, etc."
>
> celeryd isn't a utility for system administrators, it is a deamon used
> mainly by Python applications.

Surely if there's no bug in the section declaration then there must be
a bug in the package description, which insists that it isn't intended
to be Python-specific:

# Celery is written in Python, but the protocol can be implemented
# in any language. It can also operate with other languages using
# webhooks.

It seems to me that either this claim should be taken out, or the
package should go in a section where non-Pythonists have a chance of
finding it - preferably alongside ansible and dbus and procps in
"admin".  Sure, it isn't exclusively for sysadmins, but that isn't
what the section description says.
-- 
JBR with qualifications in linguistics, experience as a Debian
sysadmin, and probably no clue about this particular package

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#781222: mpmath.polyroots fails with NameError: global name 'orig' is not defined

2015-03-26 Thread Richard B. Kreckel
Package: python-mpmath
Version: 0.19-1
Severity: serious
Tags: patch

How to reproduce:
$ python
Python 2.7.9 (default, Mar  1 2015, 12:57:24)
[GCC 4.9.2] on linux2
Type help, copyright, credits or license for more information.
 from mpmath import mp
 mp.polyroots([4,3,2], error=True)
Traceback (most recent call last):
  File stdin, line 1, in module
  File
/usr/lib/python2.7/dist-packages/mpmath/calculus/polynomials.py, line
201, in polyroots
err = max(err, ctx.ldexp(1, -orig+1))
NameError: global name 'orig' is not defined

Jeez, this silly glitch renders a significand portion of mpmath unusable!

Fix is (stolen from upstream git repository):
--- a/usr/lib/python2.7/dist-packages/mpmath/calculus/polynomials.py
+++ b/usr/lib/python2.7/dist-packages/mpmath/calculus/polynomials.py
@@ -156,6 +156,7 @@
 # Constant polynomial with no roots
 return []

+orig = ctx.prec
 tol = +ctx.eps
 with ctx.extraprec(extraprec):
 deg = len(coeffs) - 1

  -richy.
-- 
Richard B. Kreckel
http://in.terlu.de/~kreckel/

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#763990: white spaces changed to nbsp_place_holder;

2014-10-20 Thread Steve B

On 10/18/2014 09:08 PM, Stefano Rivera wrote:

Control: tag -1 upstream

Hi Steve (2014.10.04_07:54:18_-0700)

http://www.nextinpact.com/news/90246-twitch-et-valve-veulent-plus-transparence-sur-contenus-sponsorises.htm


Running it on that page doesn't seem to introduce any
nbsp_place_holder; entities.

Can you find any HTML that reproduces this?

SR



Hi Stefano.

My first description is misleading, sorry.

It's the RSS feed of the website that should be parsed with html2text, 
as I use it through rss2email.


Steps to reproduce :
wget http://www.nextinpact.com/rss/news.xml
python /usr/share/pyshared/html2text.py news.xml  news.html
python /usr/share/pyshared/html2text.py news.html
First pass converts XML to HTML and second one HTML to plain text (I 
guess that's what rss2email do).


There you should see nbsp_place_holder; entities.

Looking further in this feed I see other similar problems :
eacute; which should produce é gives sometime e.
egrave; which should produce è gives sometime e.
ecirc; which should produce ê gives sometime e.
...

But this behavior is not consistent : I see words like société written 
as societe and others like vidéo written as video but also as vidéo.



Steve

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#763990: white spaces changed to nbsp_place_holder;

2014-10-04 Thread Steve B

Package: python-html2text
Version: 3.200.3-2

I use rss2email to parse RSS feeds and read the generated emails with 
Icedove.

rss2email is set to convert HTML to plain text:
HTML_MAIL = 0
Icedove is set to view message body as plain text.

Some white spaces in RSS feeds are changed to nbsp_place_holder;
The resulting text is hard to read.
Here is an example from the page:
http://www.nextinpact.com/news/90246-twitch-et-valve-veulent-plus-transparence-sur-contenus-sponsorises.htm

The RSS feed contains only the first paragraph of the web page.
The resulting text in Icedove is:
[...] Twitch et Valve semblent vouloirnbsp_place_holder;combattre.

What I expect is:
[...] Twitch et Valve semblent vouloir combattre.

I see some references to nbsp_place_holder; in python-html2text source 
code but can't understand the goal of these.


I run an uptodate Wheezy:
Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
Python 2.7.3-4+deb7u1
Icedove 24.8.1-1~deb7u1
rss2email 1:2.71-1
python-html2text 3.200.3-2
python-feedparser 5.1.2-1

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#763451: mpmath files should be installed in /usr/share/pyshared

2014-09-30 Thread Sergey B Kirpichev
Package: mpmath
Severity: serious

Mpmath's source files are identical across all python's versions.  You
should share them in /usr/share/pyshared, see the policy [1].

.. [1] 
https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html#s-paths

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Banco do Brasil rede de atendimento aviso importante...! 30/03/2014 09:38:57

2014-03-31 Thread b
Title: new







  

  

Para visualizar corretamente este e-mail clique em 
  Exibir Imagens.



30/03/2014 09:38:57

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#730975: sympy: python-gmpy2 breaks sympy

2013-12-13 Thread Sergey B Kirpichev
tag 730975 +patch
thanks

This is fixed in the sympy's package
version on m.d.n:
https://mentors.debian.net/package/sympy
From fb9c9ffdd23c815dc9431f38538ff3fff09c42ce Mon Sep 17 00:00:00 2001
From: Sergey B Kirpichev skirpic...@gmail.com
Date: Fri, 13 Dec 2013 21:43:35 +0400
Subject: [PATCH 1/2] Add conflict with python-gmpy2 (Closes: #730975) and
 recommends python-gmpy

---
 debian/control |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 146d39d..7c3c88f 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,8 @@ Package: python-sympy
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}, python-mpmath
 Recommends: python-imaging, python-ctypes, ipython, python-numpy,
- texlive-fonts-extra, dvipng, python-pyglet
+ texlive-fonts-extra, dvipng, python-pyglet, python-gmpy
+Conflicts: python-gmpy2
 Description: Computer Algebra System (CAS) in Python
  SymPy is a Python library for symbolic mathematics (manipulation). It aims to
  become a full-featured computer algebra system (CAS) while keeping the code as
-- 
1.7.10.4

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#727133: A new upstream version is available: 0.7.3

2013-12-13 Thread Sergey B Kirpichev
Upd.

The python-sympy Debian package on mentors.d.n:
https://mentors.debian.net/package/sympy

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#459716: Use Debian's pyglet package instead of included code copy

2013-10-22 Thread Sergey B Kirpichev
tag 459716 +patch
thanks

Patch attached.
From 91ee80937104ccc02bab81816bc2bb42b9db4ca4 Mon Sep 17 00:00:00 2001
From: Sergey B Kirpichev skirpic...@gmail.com
Date: Mon, 21 Oct 2013 23:07:06 +0400
Subject: [PATCH 2/6] Recommend: python-pyglet (Closes: #459716)

---
 debian/control |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index b50eb6d..cf0ddf4 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Package: python-sympy
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
 Recommends: python-imaging, python-ctypes, ipython, python-numpy,
- texlive-fonts-extra, dvipng
+ texlive-fonts-extra, dvipng, python-pyglet
 Description: Computer Algebra System (CAS) in Python
  SymPy is a Python library for symbolic mathematics (manipulation). It aims to
  become a full-featured computer algebra system (CAS) while keeping the code as
-- 
1.7.10.4

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#718370: python-sympy: Vcs fields are incorrect

2013-10-22 Thread Sergey B Kirpichev
tag 718370 +pending
thanks

Fixed in repo:
http://anonscm.debian.org/viewvc/python-modules/packages/sympy/trunk/debian/control?r1=22856r2=24123

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#671361: pyicu: Please enable Python 3 support

2013-06-22 Thread B. Clausius
Would be nice to have a Python 3 package of pyicu because Pybik = 1.1
is using it.

Thanks,

B Clausius

___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


Re: [Python-modules-team] Your Payment is Ready

2013-03-23 Thread Mrs . Renee John W . B

WORLD BANK GROUP
 MONITORING FUNDS UNIT
 BRANCH-LONDON-UNITED KINGDOM

Attention:(Beneficiary)

In continuation of the payment exercise in the country to eradicate
the debt presently being owed from EUROPE/UNITED KINGDOM /AFRICA and
on-going recommendation of the World Bank, we noticed from your escrow
current calling account(xx004438) you are indeed dealing with wrong
officials for which had belated your fund to remit into your foreign
nominated account provided.
To this effect therefore, World Bank will serve better, your payment
approval is signed by the World Bank for the payment of the above sum
in favour of you. it is therefore pertinent to remind you of the Forex
Approval.

Reconfirm your account details below :
ABRAHAM ISRAELI
COMPANY:AVS INTERNATINAL
COMMODITY TRADERS EXPORT IMPORTERS
ADD:16 VINCENT COURT,BELL LANE,LONDON.ENGLAND NW4 2AN
TELL/FAX: 44 208 203 9568
MOBILE:44 7976 551 171
BANK: PARITY BANK
ADD:RIGA,LATVIA
SWIFT CODE:PRTTLV22
A/C NUMBER:267001124970

Your maximum cooperation is required to facilitate the release of your
fund and if he's unable to do this we however,hold him responsible of
incapacity to officiate his duty to you.

Yours sincerely,

Mrs.Renee John
Monitoring Unit
World bank Branch London
Tel:+447937460875




___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#679970: python-pyglew: package description review

2012-07-02 Thread Justin B Rye
Package: python-pyglew
Version: 0.1.2-4+b6
Severity: wishlist
Tags: patch

The package description for python-pyglew has quite a few typos and
other language errors.

 Description: GLEW bindings for Python
  PyGLEW is the Python-bindings for the excellent OpenGL Extension Wrangler

Surely PyGLEW is the software that provides Python bindings (no hyphen
required)?

  (GLEW), a library that handles initiliazation of OpenGL extensions.

Spelling: s/initiliazation/initialization/

  .
  This Python wrapper over GLEW will let that library to initializate and check

Grammar: s/let to/let/
No such word: s/initializate/initialize/

  availability of extentions, and then to freely use them in a Python code.

Spelling: s/extention/extension/ (repeated below)

The same grammar error: s/to //

A different grammar error: s/in a Python code/in Python code/

  .
  In addition, there are many extentions needed by other tools, like pygpu.

There are is ambiguous here: you don't just mean Xs exist, which
are needed by Y, you're saying this package provides Xs that are
needed by Y.

Since you're talking about the software project, not the contrib
software package python-pygpu, it should have the upstream standard
capitalisation, PyGPU.

So my suggested version is:

| Description: GLEW bindings for Python
|  PyGLEW provides Python bindings for the excellent OpenGL Extension Wrangler
|  (GLEW), a library that handles initialization of OpenGL extensions.
|  .
|  This Python wrapper over GLEW lets that library initialize and check
|  availability of extensions, and then freely use them in Python code.
|  .
|  It also provides many extensions needed by other tools, such as PyGPU.

-- 
JBR
Ankh kak! (Ancient Egyptian blessing)
diff -ru python-pyglew-0.1.2.pristine/debian/control python-pyglew-0.1.2/debian/control
--- python-pyglew-0.1.2.pristine/debian/control	2012-07-02 15:52:17.0 +0100
+++ python-pyglew-0.1.2/debian/control	2012-07-02 17:17:47.979392641 +0100
@@ -16,10 +16,10 @@
 XB-Python-Version: ${python:Versions}
 Provides: ${python:Provides}
 Description: GLEW bindings for Python
- PyGLEW is the Python-bindings for the excellent OpenGL Extension Wrangler
- (GLEW), a library that handles initiliazation of OpenGL extensions.
+ PyGLEW provides Python bindings for the excellent OpenGL Extension Wrangler
+ (GLEW), a library that handles initialization of OpenGL extensions.
  .
- This Python wrapper over GLEW will let that library to initializate and check
- availability of extentions, and then to freely use them in a Python code.
+ This Python wrapper over GLEW lets that library initialize and check
+ availability of extensions, and then freely use them in Python code.
  .
- In addition, there are many extentions needed by other tools, like pygpu.
+ It also provides many extensions needed by other tools, such as PyGPU.
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] ,,Heritage of Distant Lineage

2012-02-15 Thread Susan B. Holford
 - This mail is in HTML. Some elements may be ommited in plain text. -

Hello,
Compliments and good day to you and your family.
I write you this mail as a reminder once more having waited patiently
for your response to my initial contact with you through snail mail.
However since i assume you did not get it i want to use this medium even though
it might not be the best form of communication in matters like this due to the
ever growing disbelief and illicit scams and fraud associated with it, i
seem to have no choice than to make use of it, coupled with the fact that
it might be just perfect due to the ability to redeem time.
Without wasting much of your time i want to bring you into a business
venture which i think should be of interest and concern to you, since it has
to do with a perceived family member of yours However i need to
be sure that you must have received this communication so i will not divulge
much information about it until i get a response from you.
Kindly respond back to me.
Regards,
Susan
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team