[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-07-01 Thread Mark Dickinson


Mark Dickinson  added the comment:

Agreed. We've moved away from the "Python's math module is just a set of 
wrappers around the C math library" stage, but it's still important to keep the 
math module a coherent set of basic building blocks.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-06-30 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

I would like to decline this for now.  We're being reserved about what goes 
into the math module, deferring many needs to third-party packages.

--
resolution:  -> rejected
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-06-30 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +mark.dickinson, rhettinger, stutzbach

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-06-30 Thread Rafael Villca Poggian


Change by Rafael Villca Poggian :


--
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37450] Generalize Euclidean distance function in the math module to Minkowski distance

2019-06-30 Thread Rafael Villca Poggian


New submission from Rafael Villca Poggian :

Given that Euclidean distance function was added into the Math module, I think 
it would be better to have the generalized version of the function as an 
implementation of the Minkowski distance with p=2 by default, thus maintaining 
the use as Euclidean distance, providing the extra uses of Minkowski distance.

--
components: Library (Lib)
messages: 346919
nosy: nubol23
priority: normal
severity: normal
status: open
title: Generalize Euclidean distance function in the math module to Minkowski 
distance
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com