Re: A new feature request - parser add_mutually_exclusive_group - add a default value

2024-07-09 Thread אורי via Python-list
Thank you. Uri. אורי u...@speedy.net On Tue, Jul 9, 2024 at 6:40 PM Barry Scott wrote: > > > On 9 Jul 2024, at 06:13, ⁨אורי via Python-list⁩ <⁨python-list@python.org⁩> > wrote: > > I tried to subscribe to Python-ideas > > > These days ideas are discussed on

A new feature request - parser add_mutually_exclusive_group - add a default value

2024-07-08 Thread אורי via Python-list
ve to create a new account? Thanks, Uri. אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Python 3.12.0 venv not working with psycopg2

2023-10-02 Thread אורי via Python-list
b.com/python/cpython/issues/104830 Thanks, Uri. אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Python 3.11.2, 3.10.10

2023-02-17 Thread אורי
Hi, I was surprised that Python 3.11.2 and 3.10.10 have been released without a notice to this mailing list. What happened? Thanks, Uri. אורי u...@speedy.net On Wed, Dec 7, 2022 at 1:03 AM Łukasz Langa wrote: > Greetings! We bring you a slew of releases this fine Saint Nicho

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-02 Thread אורי
deadsnakes ppa don't have Python 3.10 for Ubuntu 22.04. https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa אורי u...@speedy.net On Wed, Feb 1, 2023 at 8:14 PM Thomas Passin wrote: > On 2/1/2023 12:36 PM, אורי wrote: > > Thank you all. > > > > I'm not fami

Re: Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread אורי
Thank you all. I'm not familiar with snap update but I did `sudo apt update` & `sudo apt upgrade`, but about one or two months ago. אורי u...@speedy.net On Wed, Feb 1, 2023 at 7:33 PM Jack Dangler wrote: > Ari > > Have you tried running a snap update? > > Regards >

Upgrading Python on Ubuntu 22.04.1 LTS

2023-02-01 Thread אורי
Hi, I have a server with Ubuntu 22.04.1 LTS and the Python version there is Python 3.10.6. Is there a safe way to upgrade to the latest version of Python 3.10 (3.10.9)? I tried with the OS update and upgrade but the Python version remained the same. Thanks, אורי u...@speedy.net -- https

Python 3.9.14

2022-09-14 Thread אורי
Is there a safe way to install a 64-bit version of Python 3.9.14 on Windows? Thanks, Uri. אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Re: python -W

2022-07-12 Thread אורי
Thank you. אורי u...@speedy.net On Tue, Jul 12, 2022 at 10:09 PM MRAB wrote: > On 12/07/2022 18:39, אורי wrote: > > Is `python -W all` and `python -Wa` the same? And what are the options > > for `python -W`? I didn't find it documented. For example, I'm u

python -W

2022-07-12 Thread אורי
rt all warnings to exceptions and how? Thanks, אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Re: Python and Ubuntu versions

2021-07-25 Thread אורי
Thank you. אורי u...@speedy.net On Sun, Jul 25, 2021 at 2:20 PM Mike Easter wrote: > Mike Easter wrote: > > In the past, old gmane required posting w/ a good email because the > > gmane server required you to receive an email and self-approve your > > posting. > > Th

Python and Ubuntu versions

2021-07-22 Thread אורי
27;m also using other software such as PostgreSQL which is currently psql (PostgreSQL) 10.17 (Ubuntu 10.17-0ubuntu0.18.04.1). Should I upgrade this too? And what is the risk that things will not work after I upgrade this? Thanks, אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Re: @unittest.skip doesn't print anything in Python <= 3.7

2021-02-15 Thread אורי
Hi Terry, Shai Berger found the bug and replied in Stack Overflow. Thanks, Uri. אורי u...@speedy.net On Fri, Feb 12, 2021 at 11:36 PM Terry Reedy wrote: > On 2/11/2021 3:25 PM, אורי wrote: > > Hi, > > > > > https://stackoverflow.com/questions/66161394/unittest-skip-

@unittest.skip doesn't print anything in Python <= 3.7

2021-02-11 Thread אורי
ipped tests are skipped in all Python versions, but in Python 3.6 and 3.7 there is no output about them being skipped. Is it a bug? אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Re: EuroPython 2020: Going virtual / EuroPython 2021: Dublin, Ireland

2020-03-17 Thread אורי
other resources and not from participants. In the past I did attend conferences abroad and it was very expensive. Uri. אורי u...@speedy.net On Tue, Mar 17, 2020 at 11:50 AM M.-A. Lemburg wrote: > In our blog post on the COVID-19 last week, we were still hopeful that > the situation would improve

Re: Python-list Digest, Vol 196, Issue 26

2020-01-26 Thread אורי
Please don't reply to digest. אורי u...@speedy.net On Mon, Jan 27, 2020 at 8:11 AM Francois van Lieshout < fvliesh...@outlook.com> wrote: > for x in range( 0,10 ): > stars = "" > count = 0 > > while count < x: > stars += "x" &g

Re: python -m pip install and pip install

2019-10-10 Thread אורי
When you upgrade pip, you have to write: python -m pip install --upgrade pip When you install or upgrade anything else, you can write "pip install". You can't upgrade pip using "pip install --upgrade pip". אורי u...@speedy.net On Mon, Oct 7, 2019 at 2:21 PM

Re: Exception

2019-09-24 Thread אורי
https://stackoverflow.com/a/24752607/1412564 אורי u...@speedy.net On Tue, Sep 24, 2019 at 4:07 PM ast wrote: > Hi > > It is not clear to me why the following code > generates 2 exceptions, ZeroDivisionError and > ArithmeticError. Since ZeroDivisionError is > catched, it sh

Re: # type: a

2019-09-15 Thread אורי
Try to wait a few minutes, or close and re-open PyCharm. If the problem persists, send a screenshot. אורי u...@speedy.net On Sun, Sep 15, 2019 at 5:51 PM Hongyi Zhao wrote: > Hi, > > In pycharm, when I commented out the following line: > > # type: a > > The pycha

Re: 3 cubes that sum to 42

2019-09-08 Thread אורי
I tried to add one: >>> (-80538738812075975)**3 + 80435758145817515**3 + 12602123297335631**3 -19459465348319378856503251080373909 אורי u...@speedy.net On Sun, Sep 8, 2019 at 3:14 AM Terry Reedy wrote: > >>> (-80538738812075974)**3 + 80435758145817515**3 + > 12

Re: Proper shebang for python3

2019-07-22 Thread אורי
We are using `#!/usr/bin/env python`, for example on https://github.com/speedy-net/speedy-net/blob/master/speedy/core/manage.py For bash we are using `#!/usr/bin/env bash`. I don't know if those are the best but they work. אורי u...@speedy.net On Sat, Jul 20, 2019 at 9:12 PM Michael

Re: super() in Python 3

2019-07-16 Thread אורי
ase\test\models.py", line 35, in build_suite return super().build_suite(test_labels=test_labels, *args, **kwargs) TypeError: build_suite() got multiple values for argument 'test_labels' אורי u...@speedy.net On Tue, Jul 16, 2019 at 3:13 PM Rhodri James wrote: > Hi there! A

super() in Python 3

2019-07-16 Thread אורי
abels=None, extra_tests=None, **kwargs): return super().build_suite(test_labels=test_labels, extra_tests=extra_tests, **kwargs) (Notice there are no *args) Thanks! אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Re: Python-list Digest, Vol 189, Issue 17

2019-06-17 Thread אורי
Please don't reply to digest. אורי u...@speedy.net On Mon, Jun 17, 2019 at 6:01 PM Schachner, Joseph < joseph.schach...@teledyne.com> wrote: > Please see https://docs.python.org/2/library/colorsys.html > > And follow the links in there, read the FAQ. > > You'll

Re: Question :)

2019-05-13 Thread אורי
You can also subscribe to django-us...@googlegroups.com and ask there. I recommend using Python 3 and at least 3.6 or later. Django, you can start with the current version (2.2). אורי u...@speedy.net On Mon, May 13, 2019 at 3:33 PM Milos Vujcic wrote: > Hi, > I’m new into Python and

Re: Errorcode when running scripts in PyCharm

2019-05-02 Thread אורי
Try to contact PyCharm support at supp...@jetbrains.com אורי u...@speedy.net On Thu, May 2, 2019 at 2:11 PM Hampus Sjödin wrote: > Hey guys, so I've managed to ruin PyCharm for myself.. I just finished my > first script in PyCharm and I tried renaming the file, so I closed PyCharm &

Re: DeprecationWarning in Python 3.6 and 3.7

2019-04-02 Thread אורי
אורי u...@speedy.net On Wed, Apr 3, 2019 at 6:12 AM Inada Naoki wrote: > See this log. > > https://travis-ci.org/speedy-net/speedy-net/jobs/514595889 > > 1. In line 172, you *enabled* virtualenv, created by Travis-CI with > old virtualenv library. > 2. In the legacy virt

Re: DeprecationWarning in Python 3.6 and 3.7

2019-04-02 Thread אורי
אורי u...@speedy.net On Wed, Apr 3, 2019 at 2:50 AM Inada Naoki wrote: > The DeprecationWarning is raised for virtualenv's distutils. > It is fixed already. Use latest virtualenv. > That's what I wrote. I tried to upgrade to the latest virtualenv (virtualenv==16.4.3) i

Re: DeprecationWarning in Python 3.6 and 3.7

2019-04-02 Thread אורי
On Tue, Apr 2, 2019 at 6:33 PM Terry Reedy wrote: > On 4/2/2019 6:29 AM, אורי wrote: > > Hi, > > > > Please look at this issue: > > DeprecationWarning in Python 3.6 and 3.7 > > <https://github.com/python-pillow/Pillow/issues/3547> > > > > I tr

DeprecationWarning in Python 3.6 and 3.7

2019-04-02 Thread אורי
Pillow==5.4.1): https://travis-ci.org/speedy-net/speedy-net/builds/514284524 (with Pillow==6.0.0): https://travis-ci.org/speedy-net/speedy-net/builds/514595887 What is the problem? אורי u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Re: Why float('Nan') == float('Nan') is False

2019-02-14 Thread אורי
> Or even better, use None instead of nan. ++ On Thu, Feb 14, 2019 at 3:26 AM Joe Pfeiffer wrote: > u...@speedy.net writes: > > > There are more integers than odd numbers, and more odd numbers than prime > > numbers. An infinite set may be a subset of another infinite set although > > they may

Re: Why float('Nan') == float('Nan') is False

2019-02-13 Thread אורי
אורי u...@speedy.net On Wed, Feb 13, 2019 at 10:20 PM Chris Angelico wrote: > On Thu, Feb 14, 2019 at 7:12 AM Test Bot wrote: > > > > This definition of NaN is much better in mentally visualizing all the so > > called bizarreness of IEEE. This also makes intuitive th

Is distutils deprecated?

2019-01-05 Thread אורי
Is `distutils` deprecated or about to be deprecated? https://github.com/python-pillow/Pillow/issues/3547 אורי (Uri) u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Re: Why doesn't a dictionary work in classes?

2018-12-25 Thread אורי
ual(list1=User.ALL_GENDERS, list2=[User.GENDER_FEMALE_STRING, User.GENDER_MALE_STRING, User.GENDER_OTHER_STRING]) self.assertListEqual(list1=User.ALL_GENDERS, list2=['female', 'male', 'other']) Thanks, אורי (Uri) u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list

Why doesn't a dictionary work in classes?

2018-12-25 Thread אורי
_MALE, _("Male")), (GENDER_OTHER, _("Other")), ) GENDER_VALID_VALUES = [choice[0] for choice in GENDER_CHOICES] GENDERS_DICT = {GENDER_FEMALE: GENDER_FEMALE_STRING, GENDER_MALE: GENDER_MALE_STRING, GENDER_OTHER: GENDER_OTHER_STRING} User.ALL_GENDERS = [User.GENDERS_DICT[gender] for gender in User.GENDER_VALID_VALUES] Thanks, אורי (Uri) u...@speedy.net -- https://mail.python.org/mailman/listinfo/python-list