[issue2486] Recode (parts of) decimal module in C

2012-03-16 Thread Ramchandra Apte

Ramchandra Apte maniandra...@gmail.com added the comment:

If issue7652 finishes. There's no point in fixing this bug.

--
nosy: +ramchandra.apte

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2012-03-16 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

No, this should be closed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2012-03-16 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
resolution:  - rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2010-08-21 Thread Georg Brandl

Changes by Georg Brandl ge...@python.org:


--
assignee:  - skrah
nosy: +skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2009-01-12 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Guess that makes this a bit of a wasted effort on my part, then.  Darn.

 a substantial portion of the module should be coded in C and
 needs to function independently of Python, with accessors provided to
 for Python to wrap around.

I'm curious what sort of memory model you have in mind for this:  would
you implement separate memory management code that could easily be
swapped in or out for the standard Python object allocator?  Or does the 
functioning independently of Python bit not go as far as memory 
management?

In any case, let me know if there's anything I can do to help out, 
whether it's coding, or review, or whatever.  For what it's worth, I'm 
hoping to check in a significantly simpler (and I hope faster!) version 
of the log, log10 and exp functions to decimal.py in the near future, 
which should make rewriting that portion a little easier.  The pow stuff 
could use some work, too.

--
assignee: marketdickinson - 

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2009-01-12 Thread Nick Coghlan

Nick Coghlan ncogh...@gmail.com added the comment:

FWIW, I actually prefer Mark's graduated approach to the Python-C
migration since we have a continuously working module that will get
incrementally faster over time. As profiling finds performance
bottlenecks in the Python code, those parts can be migrated to C (e.g.
as has been done initially with the manipulation of the coefficient,
which has been one of the main time sinks in the decimal module since
the days when it was still stored as a tuple instead of a string).

Having most of the module in C should be the endpoint, not where we
attempt to start (as I recall, attempts to rewrite the whole module in C
in one go have already been made, and they failed miserably).

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2009-01-10 Thread Mark Dickinson

Changes by Mark Dickinson dicki...@gmail.com:


--
assignee: facundobatista - marketdickinson
title: Decimal slowdown in 3.0 due to str/unicode changes - Recode (parts of) 
decimal module in C

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2009-01-10 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

 (2) Bring proposals to add a decimal literal to C ...

That should be to Python, not to C, of course.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2009-01-10 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

 By the way, presumably it's not a prerequisite for (2) that *all* of the 
 decimal.py functionality be recoded in C?  I could imagine a situation 
 where the decimal literals are present in the core, but an 'import 
 decimal' was necessary to get complete functionality.

We already have this situation with builtin open() and import io, so I
guess that wouldn't be out of question.

--
nosy: +pitrou

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2486] Recode (parts of) decimal module in C

2009-01-10 Thread Raymond Hettinger

Raymond Hettinger rhettin...@users.sourceforge.net added the comment:

FWIW, I'm currently seeking project sponsorship to work on this.  To do
it right, a substantial portion of the module should be coded in C and
needs to function independently of Python, with accessors provided to
for Python to wrap around.

Once, there is a fast C version, a discussion of a decimal literal can
become a reasonable possibility.  It will be an uphill battle though. 
Many decimal apps have few internal constants -- most of the data comes
into the program from and external source and gets written back.  A
literal itself doesn't have much utility except for playing around at
the command line.  Also, there would need to be a PEP talking about how
decimals should interact with binary floats and the rest of the language
(which pretty much ignores decimals).

--
priority: high - normal

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2486
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com