the name ``wheel''

2024-03-21 Thread Johanne Fairchild via Python-list
Why is a whl-package called a ``wheel''?  Is it just a pronunciation for
the extension WHL or is it really a name?

Also, it seems that when I install Python on Windows, it doesn't come
with pip ready to run.  I had to say

  python -m ensurepip

and then I saw that a pip on a whl-package was installed.  Why doesn't
the official distribution make pip ready to run by default?  Thank you!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: the name ``wheel''

2024-03-21 Thread Johanne Fairchild via Python-list
r...@zedat.fu-berlin.de (Stefan Ram) writes:

> Johanne Fairchild  wrote or quoted:
>>Why is a whl-package called a ``wheel''?  Is it just a pronunciation for
>>the extension WHL or is it really a name?
>
>   PyPi in its initial state was named "cheese shop", as the famous
>   part in the show "Monty Python Cheese Shop". Because initially it
>   only hosted links to the packages, so it was empty like that shop.
>   And within a cheese shop what do you store? Wheels of cheese.

Lol!  Loved it.  (Thanks very much.)

>>Also, it seems that when I install Python on Windows, it doesn't come
>>with pip ready to run.  I had to say
>
>   Some Python distributions do not come with pip pre-installed
>   because they have their own package management systems.

But this was a Windows install.  I don't think Windows has its own
package management for Python packages.  I'd be totally surprised.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: xkcd.com/353 ( Flying with Python )

2024-04-01 Thread Johanne Fairchild via Python-list
HenHanna  writes:

> https://xkcd.com/1306/
>  what does  SIGIL   mean?

  A glyph used in magic. Or, for Perl, the symbol in front of a variable
  name, such as $, @, and %.

  Source: 
  https://perldoc.perl.org/perlglossary#sigil

  Sigil is noun. Definitions:

  A seal; a signet.
  A sign or an image considered magical.
  A seal; a signature.

  Source:
  The American Heritage® Dictionary of the English Language, 
  5th Edition.
-- 
https://mail.python.org/mailman/listinfo/python-list


how to discover what values produced an exception?

2024-05-03 Thread Johanne Fairchild via Python-list
How to discover what values produced an exception?  Or perhaps---why
doesn't the Python traceback show the values involved in the TypeError?
For instance:

--8<>8---
>>> (0,0) < 4
Traceback (most recent call last):
  File "", line 1, in 
TypeError: '<' not supported between instances of 'tuple' and 'int'
--8<>8---

It could have said something like: 

--8<>8---
TypeError: '<' not supported between instances of 'tuple' and 'int'
  in (0,0) < 4.
--8<>8---

We would know which were the values that caused the problem, which would
be very helpful.
-- 
https://mail.python.org/mailman/listinfo/python-list