[issue46175] Zero argument super() does not function properly inside generator expressions
New submission from Alex Walters : When zero argument super is used inside a generator expression, it raises 'TypeError: super(type, obj): obj must be an instance or subtype of type'. I can find no information on if this is working as intended, a bug, or a known issue, and the error isn't helping. Attached is a minimal example of the error. -- files: superbug.py messages: 409166 nosy: tritium priority: normal severity: normal status: open title: Zero argument super() does not function properly inside generator expressions versions: Python 3.9 Added file: https://bugs.python.org/file50518/superbug.py ___ Python tracker <https://bugs.python.org/issue46175> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38526] zipfile.Path has the wrong method name
New submission from Alex Walters : https://docs.python.org/3.8/library/zipfile.html#zipfile.Path.listdir The docs for zipfile.Path list a method named 'listdir', the closest approximation to the functionality described in the actual code is a method named 'iterdir' -- assignee: docs@python components: Documentation messages: 354936 nosy: docs@python, tritium priority: normal severity: normal status: open title: zipfile.Path has the wrong method name versions: Python 3.8 ___ Python tracker <https://bugs.python.org/issue38526> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33598] ActiveState Recipes links in docs, and the apparent closure of Recipes
Alex Walters <tritium-l...@sdamon.com> added the comment: All recipes are MIT licensed unless otherwise noted on the recipe itself. However, AFAICT, all the recipes that are linked to in the docs are written by Raymond Hettinger, so I don't think licensing will be that big of an issue. We know where he is, we can ask him, and he has signed a CLA. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33598> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33598] ActiveState Recipes links in docs, and the apparent closure of Recipes
New submission from Alex Walters <tritium-l...@sdamon.com>: ActiveState has stopped accepting new recipes on their website, and migrated all current recipes to a Github repo. I have seen no official announcement of a shutdown date for the code.activestate.com website, but it's future has to be in question considering the migration. I propose we go through the docs for all the recipes, and either rescue them to a section of the docs (perhaps to a new "Code Examples" section), incorporate the recipes into the doc pages where appropriate, or excise them entirely. Another option would be to update the links to the GitHub repo, but I am less enthusiastic about that option - GitHub repos come and go, and mutate structure easily. I don't think it would be a good idea to deep link into a repository not controlled by the Python project. It would stink to have a bunch of suddenly dead links in the docs. -- assignee: docs@python components: Documentation messages: 317265 nosy: docs@python, rhettinger, tritium priority: normal severity: normal status: open title: ActiveState Recipes links in docs, and the apparent closure of Recipes ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33598> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27546] Integrate tkinter and asyncio (and async)
Change by Alex Walters <tritium-l...@sdamon.com>: -- nosy: +tritium ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27546> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
RE: [Python-Dev] [RELEASE] Python 2.7.15
I've gotten some mixed signals on the status of this release, notably from the BDFL: https://twitter.com/gvanrossum/status/991170064417153025 "Python 2.7.15 released -- the last 2.7 release!" (and a link to this thread) I was under the impression that 2.7 was being supported until 2020. If this is the final release of 2.7, what would "support" constitute? My assumption was that the final release of 2.7 would be sometime in 2020 (or much closer to 2020 than 19 months). > -Original Message- > From: Python-Devlist=sdamon@python.org> On Behalf Of Benjamin Peterson > Sent: Tuesday, May 1, 2018 12:10 AM > To: python-list@python.org; python-annou...@python.org; python- > d...@python.org > Subject: [Python-Dev] [RELEASE] Python 2.7.15 > > Greetings, > I'm pleased to announce the immediate availability of Python 2.7.15, the > latest bug fix release in the senescent Python 2.7 series. > > Source and binary downloads may be found on python.org: > > https://www.python.org/downloads/release/python-2715/ > > Bugs should be reported to https://bugs.python.org/ > > The source tarball contains a complete changelog in the Misc/NEWS file. The > only change since the release candidate is a fix for undefined C behavior that > newer compilers (including GCC 8) have started to exploit. > > Users of the macOS binaries should note that all python.org macOS installers > now ship with a builtin copy of OpenSSL. Additionally, there is a new > additional installer variant for macOS 10.9+ that includes a built-in version of > Tcl/Tk 8.6. See the installer README for more information. > > Happy May, > Benjamin > 2.7 release manager > ___ > Python-Dev mailing list > python-...@python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: https://mail.python.org/mailman/options/python-dev/tritium- > list%40sdamon.com -- https://mail.python.org/mailman/listinfo/python-list
[issue33351] Support compiling with clang-cl on Windows
Alex Walters <tritium-l...@sdamon.com> added the comment: When supporting platforms comes up, there's a usual list of questions, especially for windows. I can remember two of them off the top of my head: * Are you suggesting that CPython's build system move away from MSVC as the platform compiler for Windows? * Are you able to provide a machine to run buildbots on? -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33351> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33351] Support compiling with clang-cl on Windows
Alex Walters <tritium-l...@sdamon.com> added the comment: Is this the same as the clang/llvm C1 that you can enable from inside Visual Studio? -- nosy: +tritium ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33351> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
RE: concurrent-log-handler 0.9.6 released
Pypiwin32 exists to allow pywin32 to be installed through pip (thanks to Glyph and the Twisted project for supporting that) > -Original Message- > From: Python-announce-list [mailto:python-announce-list-bounces+tritium- > list=sdamon@python.org] On Behalf Of Preston Landers > Sent: Sunday, July 30, 2017 11:24 AM > To: python-announce-l...@python.org > Subject: concurrent-log-handler 0.9.6 released > > concurrent-log-handler > == > > RotatingFileHandler replacement with concurrency, gzip and Windows > support > -- > > This package provides an additional log handler for Python's standard logging > package (PEP 282). This handler will write log events to a log file which is > rotated when the log file reaches a certain size. Multiple processes can > safely write to the same log file concurrently. Rotated logs can be gzipped > if desired. Windows and POSIX systems are supported. An optional threaded > queue logging handler is provided to perform logging in the background. > > This is a fork of Lowell Alleman's ConcurrentLogHandler 0.9.1 with additional > enhancements: > > * Renamed package to `concurrent_log_handler` > * Provide `use_gzip` option to compress rotated logs > * Support for Windows > * Note: PyWin32 is required on Windows, but can't be installed as an > automatic dependency because it's not currently installable through pip. > * Fix deadlocking problem with ConcurrentLogHandler under newer Python > * More secure generation of random numbers for temporary filenames > * Change the name of the lockfile to have .__ in front of it (hide it on Posix) > * Provide a QueueListener / QueueHandler implementation for > handling log events in a background thread. Optional: requires Python 3. > > > Download > > > `pip install concurrent-log-handler` > > https://github.com/Preston-Landers/concurrent-log-handler > > https://pypi.python.org/pypi/concurrent-log-handler > > > > News / Changes > == > > - 0.9.7/0.9.6: Fix platform specifier for PyPi > > - 0.9.5: Add `use_gzip` option to compress rotated logs. Add an > optional threaded > logging queue handler based on the standard library's > `logging.QueueHandler`. > > - 0.9.4: Fix setup.py to not include tests in distribution. > > - 0.9.3: Refactoring release >* For publishing fork on pypi as `concurrent-log-handler` under new > package name. >* NOTE: PyWin32 is required on Windows but is not an explicit > dependency because >the PyWin32 package is not currently installable through pip. >* Fix lock behavior / race condition > > - 0.9.2: Initial release of fork by Preston Landers based on a fork of > Lowell Alleman's > ConcurrentLogHandler 0.9.1 >* Fixes deadlocking issue with recent versions of Python >* Puts `.__` prefix in front of lock file name >* Use `secrets` or `SystemRandom` if available. >* Add/fix Windows support > > > > thanks, > Preston > -- > https://mail.python.org/mailman/listinfo/python-announce-list > > Support the Python Software Foundation: > http://www.python.org/psf/donations/ -- https://mail.python.org/mailman/listinfo/python-list
[issue26580] Documentation for ftplib still references ftpmirror.py
New submission from Alex Walters: in #23130 ftpmirror.py was removed from the python source distribution. The documentation still references this, and sends people looking for the file (ostensibly as an example of how to use ftplib). -- assignee: docs@python components: Documentation messages: 261908 nosy: docs@python, tritium priority: normal severity: normal status: open title: Documentation for ftplib still references ftpmirror.py versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26580> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19853] Add support for Bitrig to 2.7
Alex Walters added the comment: The vast majority of the patch is adding || Defined('bitrig') after Defined('openbsd'). I don't know if that is an argument for or against, but on its face, its just working around an issue of an openbsd fork not identifying as openbsd. -- nosy: +tritium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19853 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24642] Will there be an MSI installer?
Changes by Alex Walters tritium-l...@sdamon.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23496] Steps for Android Native Build of Python 3.4.2
Changes by Alex Walters tritium-l...@sdamon.com: -- nosy: +tritium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23496 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10716] Modernize pydoc to use better HTML and separate CSS
Alex Walters added the comment: Isn't this whats sphinx's apidoc is for? -- nosy: +tritium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10716 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24642] Will there be an MSI installer?
Alex Walters added the comment: Having now worked with the new installer, there is nothing wrong with it, and provides sufficient scritpability, if that is a word. I only have two (and a half) thoughts on it: 1. This should be more prominently documented. The addition of the new web installer is listed in What's New, but not that the change to the new installer, and lack of the old msi installer. This is noteworthy for anyone who does scripted installs of python. 2. passing /? should list the available kay-value arguments. 2.5. The help should really be to stdout... If you are running /? on an installer executable, you are in the command prompt - no one creates a shortcut to an installer exe then modifies that shortcut to add the /? argument. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24642] Will there be an MSI installer?
Alex Walters added the comment: on 2.5, I figured the answer would be along those lines. for 2, Linking to the documentation at least would be helpful (or otherwise indicating that there are arguments that are not listed and are in the docs) if the arguments cant be listed reasonably easily. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24642] Will there be an MSI installer?
New submission from Alex Walters: I use the *.msi installers for python to automate deployment of... an absurd number of python installations. I have been able to do this relatively easily, as the Windows installer didn't change much between 2.6 and 3.4 (possibly much longer than that, but I don't know about 2.5 or earlier). 3.5 added a new installer (the web installer), and apparently dropped the old standby *.msi installers, for the beta versions. Will there be *.msi installers for 3.5? -- components: Windows messages: 246796 nosy: paul.moore, steve.dower, tim.golden, tritium, zach.ware priority: normal severity: normal status: open title: Will there be an MSI installer? versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24642] Will there be an MSI installer?
Alex Walters added the comment: Related to the exe installer... /? lists only 4 options, none of which are useful in restricting the installation, or changing its location. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue24642] Will there be an MSI installer?
Alex Walters added the comment: and...you already addressed that. Ignore previous. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24642 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23938] Deprecation of windows xp support missing from whats new
New submission from Alex Walters: the Whats New in Python 3.5 lacks an indication that cpython is dropping support for that platform due to Microsoft dropping continuing support for it (see PEP 11). -- files: docs_unsupported_xp_35.patch keywords: patch messages: 240727 nosy: tritium priority: normal severity: normal status: open title: Deprecation of windows xp support missing from whats new versions: Python 3.5 Added file: http://bugs.python.org/file38951/docs_unsupported_xp_35.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23938 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23938] Deprecation of windows xp support missing from whats new
Changes by Alex Walters tritium-l...@sdamon.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23938 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com