[issue46127] Missing HTML span element in exceptions.html

2021-12-18 Thread Vivek Vashist
New submission from Vivek Vashist : Link: https://docs.python.org/3/library/exceptions.html#exception-hierarchy Looking at EncodingWarning under exception-hierarchy is displaying BLACK color instead of RED. Digging into HTML looks like it is missing the appropriate span class element.

[issue33567] Explicitly mention bytes and other buffers in the documentation for float()

2021-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: jaraco -> p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28415 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30194 ___ Python tracker ___

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: After some investigation (and tracing calls through a dozen or more layers), I found that Python's own regression tests can disable this behavior thus: ``` diff --git a/Lib/test/support/testresult.py b/Lib/test/support/testresult.py index

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: It looks like that 'descriptions' attribute is passed through from TextTestRunner, which sets it to True by default (https://github.com/python/cpython/blob/9b52920173735ac609664c6a3a3021d24a95a092/Lib/unittest/runner.py#L163). It seems that behavior isn't

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: Looks like the code, I believe here's where the reporting happens: https://github.com/python/cpython/blob/9b52920173735ac609664c6a3a3021d24a95a092/Lib/unittest/runner.py#L48-L51 I see a "description" property there that may already provide the feature.

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: My guess is the tests were run with something like this: ``` ./python.exe -E -We -m test -v test_importlib | grep '... ERROR' Entry points should only be exposed for the first package ... ERROR test test_importlib failed ``` In that case, the location of

[issue45609] Specialize STORE_SUBSCR

2021-12-18 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +28414 pull_request: https://github.com/python/cpython/pull/30193 ___ Python tracker ___

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: I created this diff: ```diff diff --git a/Lib/test/test_importlib/test_metadata_api.py b/Lib/test/test_importlib/test_metadata_api.py index e16773a7e8..92aacd5ad5 100644 --- a/Lib/test/test_importlib/test_metadata_api.py +++

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: Absolutely. I was thinking to do just that. -- ___ Python tracker ___ ___ Python-bugs-list

[issue46125] Test the preferred API instead of relying on legacy for coverage

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 9b52920173735ac609664c6a3a3021d24a95a092 by Jason R. Coombs in branch 'main': bpo-46125: Refactor tests to test traversable API directly. Includes changes from importlib_resources 5.4.0. (GH-30189)

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Ethan Furman
Ethan Furman added the comment: Could you give a couple examples for those of us not familiar with the problem? -- nosy: +ethan.furman ___ Python tracker ___

[issue33449] Documentation for email.charset confusing about the location of constants

2021-12-18 Thread Alex Waygood
Change by Alex Waygood : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.7, Python 3.8 ___ Python tracker ___

[issue33567] Explicitly mention bytes and other buffers in the documentation for float()

2021-12-18 Thread Alex Waygood
Change by Alex Waygood : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: -> needs patch type: -> enhancement versions: +Python 3.10, Python 3.11, Python 3.9 ___ Python tracker

[issue31914] Document Pool.(star)map return type

2021-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +28413 pull_request: https://github.com/python/cpython/pull/30192 ___ Python tracker ___

[issue31914] Document Pool.(star)map return type

2021-12-18 Thread miss-islington
Change by miss-islington : -- keywords: +patch, patch nosy: +miss-islington, miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28411, 28412 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/30191 ___

[issue31914] Document Pool.(star)map return type

2021-12-18 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28411 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/30191 ___ Python tracker

[issue31914] Document Pool.(star)map return type

2021-12-18 Thread Alex Waygood
Alex Waygood added the comment: PR 30191 and PR 30192 are backports -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28410 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30190 ___ Python tracker ___

[issue46125] Test the preferred API instead of relying on legacy for coverage

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +28409 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30189 ___ Python tracker ___

[issue46126] Unittest output drives developers to avoid docstrings

2021-12-18 Thread Jason R. Coombs
New submission from Jason R. Coombs : In https://github.com/python/importlib_metadata/issues/302, I learned that the way unittest reports failures in tests is incentivizing the replacement of docstrings with comments in order not to make resolution of the relevant failing test more difficult

[issue46094] Missing unit test on unittest.TestResult to check for required arguments

2021-12-18 Thread dhruv
dhruv added the comment: "Required" meaning that we cannot remove them from the constructor signature even though they aren't used within it. Hope that clears it up! -- ___ Python tracker

[issue45978] deepfreeze opaquely fails on Windows when building from Visual Studio

2021-12-18 Thread Dennis Sweeney
Dennis Sweeney added the comment: This was fixed by https://github.com/python/cpython/pull/30143 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: I filed issue46125 to track that issue separately. -- ___ Python tracker ___ ___

[issue46125] Test the preferred API instead of relying on legacy for coverage

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46125] Test the preferred API instead of relying on legacy for coverage

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- components: +Library (Lib) versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list

[issue46125] Test the preferred API instead of relying on legacy for coverage

2021-12-18 Thread Jason R. Coombs
New submission from Jason R. Coombs : importlib_resources 5.4 did some refactoring to ensure that the preferred traversable API was tested (https://github.com/python/importlib_resources/pull/239). Let's incorporate those changes for importlib.resources. -- messages: 408872 nosy:

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: I just confirmed, and `normalize_path` has been moved to the _legacy module for importlib_resources, so I'd expect that change to land in CPython soon too. -- ___ Python tracker

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: I would hope that normalize_path would not be needed. It might be for drop-in compatibility. If it's needed for zoneinfo, I'd like to consider why and what implications that has for the deprecation of the legacy API. --

[issue46119] Update bundled pip to 21.3.1 and setuptools to 59.7.0

2021-12-18 Thread Éric Araujo
Change by Éric Araujo : -- components: +Library (Lib) -Distutils nosy: +ncoghlan, pradyunsg -eric.araujo type: -> enhancement ___ Python tracker ___

[issue45321] Module xml.parsers.expat.errors misses error code constants of libexpat >=2.0

2021-12-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +28408 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30188 ___ Python tracker

[issue46044] Update distutils documentation to say PyPI only accepts tar.gz and zip.

2021-12-18 Thread miss-islington
miss-islington added the comment: New changeset fe68486197cb26a69ecce9353271d91adf885cb5 by Matthias Bussonnier in branch 'main': bpo-46044: Fix doc typo introduced in GH-30043 (GH-30171) https://github.com/python/cpython/commit/fe68486197cb26a69ecce9353271d91adf885cb5 --

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
Change by Vivek Vashist : -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
Vivek Vashist added the comment: Thanks Ken. You are right I'm using 3.10.0b4. I just tested it on 3.10.0 and it works fine. >>> import types >>> isinstance(int | str, types.UnionType) True -- status: pending -> open ___ Python tracker

[issue37295] Possible optimizations for math.comb()

2021-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: For the small cases (say n < 50), we can get faster code by using a small (3Kb) table of factorial logarithms: double lf[50] = [log2(factorial(n)) for n in range(50)]; Then comb() and perm() function can be computed quickly and in constant time using

[issue37295] Possible optimizations for math.comb()

2021-12-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- Removed message: https://bugs.python.org/msg408865 ___ Python tracker ___ ___ Python-bugs-list

[issue26577] inspect.getclosurevars returns incorrect variable when using class member with the same name as other variable

2021-12-18 Thread Ryan Fox
Ryan Fox added the comment: If you change the class member 'x' to a different name like 'y', then cv doesn't include 'x', but does include an unbound 'y'. In both cases, the function isn't referring to a global variable, just the class member of that name. Besides the function itself, no

[issue37295] Possible optimizations for math.comb()

2021-12-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: For the small cases (say n < 50), we can get faster code by using a small (3Kb) table of factorial logarithms: double lf[50] = [log2(factorial(n)) for n in range(50)]; Then comb() and perm() can be computed quickly and in constant time using the C99

[issue34643] How to build Release Version of Python in Windows?

2021-12-18 Thread Alex Waygood
Alex Waygood added the comment: Given that there has been no activity on this issue for over three years, I am closing this as "rejected". -- nosy: +AlexWaygood resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue46068] Change use of warnings.warn to logging.warning in a few places

2021-12-18 Thread Andrei Kulakov
Andrei Kulakov added the comment: https://discuss.python.org/t/logging-warning-vs-warnings-warn/12625/2 -- ___ Python tracker ___

[issue31914] Document Pool.(star)map return type

2021-12-18 Thread Alex Waygood
Alex Waygood added the comment: This appears to have been fixed in PR 26560 in the main branch, but it might be nice to backport it to 3.10 and 3.9 -- nosy: +AlexWaygood, mdk stage: -> backport needed type: enhancement -> behavior versions: +Python 3.10, Python 3.9 -Python 3.6

[issue46106] OpenSSL 1.1.1m is now available

2021-12-18 Thread Ned Deily
Ned Deily added the comment: >From the release notes, there didn’t seem to be anything super critical. I >wasn’t contemplating any special releases: just update for the next scheduled >releases. -- ___ Python tracker

[issue917120] imaplib: incorrect quoting in commands

2021-12-18 Thread Charalampos Tsimpouris
Charalampos Tsimpouris added the comment: As far as I can see I have the same problem from a different perspective. Selecting folders that include a space result in broken use of API, as server responds with "folder is not dound" (which is valid as part of the folder name is never sent). To

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-18 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue15443] datetime module has no support for nanoseconds

2021-12-18 Thread Gareth Rees
Gareth Rees added the comment: I also have a use case that would benefit from nanosecond resolution in Python's datetime objects, that is, representing and querying the results of clock_gettime() in a program trace. On modern Linuxes with a vDSO, clock_gettime() does not require a system

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset a328ad7f9a9b6cd624da5efcc76daf88e0d22312 by Miss Islington (bot) in branch '3.9': bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140) (#30184) https://github.com/python/cpython/commit/a328ad7f9a9b6cd624da5efcc76daf88e0d22312

[issue39320] Handle unpacking of */** arguments and rvalues in the compiler

2021-12-18 Thread Bar Harel
Bar Harel added the comment: Does this count as a regression or as an unintended bugfix for evaluation order? https://stackoverflow.com/a/70404659/1658617 -- nosy: +bar.harel ___ Python tracker

[issue26577] inspect.getclosurevars returns incorrect variable when using class member with the same name as other variable

2021-12-18 Thread hongweipeng
hongweipeng added the comment: Why is expected that 'x' would not exist in cv.globals? I think it works normally, you can see `x` in `func.__globals__`. -- nosy: +hongweipeng ___ Python tracker

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-12-18 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.9 ___ Python tracker ___

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-12-18 Thread Christian Heimes
Christian Heimes added the comment: New changeset 0339434835aa74dc78a38ae12ea7d2973c144eb1 by Christian Heimes in branch 'main': bpo-40280: Add Tools/wasm with helpers for cross building (GH-29984) https://github.com/python/cpython/commit/0339434835aa74dc78a38ae12ea7d2973c144eb1 --

[issue46113] Typos and minor fixes in built in types documentation

2021-12-18 Thread Ken Jin
Change by Ken Jin : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46113] Typos and minor fixes in built in types documentation

2021-12-18 Thread Ken Jin
Ken Jin added the comment: New changeset 0da17eb06943a66fcd826ff591d47c22c2c0595a by Miss Islington (bot) in branch '3.9': bpo-46113: Minor fixes in stdtypes documentation (GH-30167) (GH-30187) https://github.com/python/cpython/commit/0da17eb06943a66fcd826ff591d47c22c2c0595a --

[issue37578] Change Glob: Allow Recursion for Hidden Files

2021-12-18 Thread miss-islington
miss-islington added the comment: New changeset ae36cd1e792db9d6db4c6847ec2a7d50a71f2b68 by andrei kulakov in branch 'main': bpo-37578: glob.glob -- added include_hidden parameter (GH-30153) https://github.com/python/cpython/commit/ae36cd1e792db9d6db4c6847ec2a7d50a71f2b68 -- nosy:

[issue46113] Typos and minor fixes in built in types documentation

2021-12-18 Thread Ken Jin
Ken Jin added the comment: New changeset bb286d45afa6740384bab97d0da68fe571efb6ec by Miss Islington (bot) in branch '3.10': bpo-46113: Minor fixes in stdtypes documentation (GH-30167) (GH-30186) https://github.com/python/cpython/commit/bb286d45afa6740384bab97d0da68fe571efb6ec --

[issue46118] Migrate importlib.resources into a package

2021-12-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46124] Deprecation warning in zoneinfo module

2021-12-18 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : zoneinfo module currently emits deprecation warnings due to API changes in importlib.resources ./python -Wonce -m test test_zoneinfo 0:00:00 load avg: 0.73 Run tests sequentially 0:00:00 load avg: 0.73 [1/1] test_zoneinfo

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Ken Jin
Ken Jin added the comment: Thanks for the PR Vivek. Can you please tell me the exact 3.10 version you're running? In earlier 3.10 versions (alpha, beta etc.) types.Union existed, but somewhere later (rc1,rc2) it became types.UnionType. The final 3.10.0 release has types.UnionType, not

[issue46113] Typos and minor fixes in built in types documentation

2021-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +28406 pull_request: https://github.com/python/cpython/pull/30186 ___ Python tracker

[issue46113] Typos and minor fixes in built in types documentation

2021-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +28407 pull_request: https://github.com/python/cpython/pull/30187 ___ Python tracker ___

[issue46113] Typos and minor fixes in built in types documentation

2021-12-18 Thread Ken Jin
Ken Jin added the comment: New changeset 6f2df4295123f8b961d49474b7668f7564a534a4 by Vivek Vashist in branch 'main': bpo-46113: Minor fixes in stdtypes documentation (GH-30167) https://github.com/python/cpython/commit/6f2df4295123f8b961d49474b7668f7564a534a4 -- nosy: +kj

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4f945ad7a510ad6dde13353784e45239edcdc14e by Miss Islington (bot) in branch '3.10': bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140) (GH-30183) https://github.com/python/cpython/commit/4f945ad7a510ad6dde13353784e45239edcdc14e

[issue45496] Tkinter: test_winfo_rgb failure

2021-12-18 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +28405 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30185 ___ Python tracker ___

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 427a490c495cde8a152e938c6f02be65620e3e59 by Jakub Kulík in branch 'main': bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140) https://github.com/python/cpython/commit/427a490c495cde8a152e938c6f02be65620e3e59 -- nosy:

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +28404 pull_request: https://github.com/python/cpython/pull/30184 ___ Python tracker ___

[issue46099] Solaris: Fix pthread_getcpuclockid test

2021-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +28403 pull_request: https://github.com/python/cpython/pull/30183 ___ Python tracker

[issue46106] OpenSSL 1.1.1m is now available

2021-12-18 Thread Steve Dower
Steve Dower added the comment: Are we going to have to rush security releases for this one? Or can it wait (for me) until Monday? -- ___ Python tracker ___

[issue46088] Build hangs under Visual Studio in deepfreeze stage

2021-12-18 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46088] Build hangs under Visual Studio in deepfreeze stage

2021-12-18 Thread Steve Dower
Steve Dower added the comment: New changeset 6fc91daf730c60b08b4b32cdce28ff26505a0622 by Steve Dower in branch 'main': bpo-46088: Automatically detect or install bootstrap Python runtime when building from Visual Studio (GH-30143)

[issue40915] multiple problems with mmap.resize() in Windows

2021-12-18 Thread Steve Dower
Steve Dower added the comment: New changeset 6214caafbe66e34e84c1809abf0b7aab6791956b by neonene in branch 'main': bpo-40915: Avoid compiler warnings by fixing mmapmodule conversion from LARGE_INTEGER to Py_ssize_t (GH-30175)

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
Change by Vivek Vashist : -- keywords: +patch pull_requests: +28401 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30182 ___ Python tracker ___

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-18 Thread Alex Waygood
Change by Alex Waygood : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-18 Thread miss-islington
miss-islington added the comment: New changeset a66be9185c6e0299293a06e21a6f599dfe6c3f60 by Miss Islington (bot) in branch '3.10': [3.10] bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) (GH-30179)

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-18 Thread miss-islington
miss-islington added the comment: New changeset 43cb8f483b9f815abf9801e05ec70ae55ca3c5a5 by Miss Islington (bot) in branch '3.9': [3.9] bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) (GH-30180)

[issue46123] _freeze_module on Windows can be built faster with no optimization

2021-12-18 Thread neonene
Change by neonene : -- keywords: +patch pull_requests: +28400 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30181 ___ Python tracker ___

[issue46123] _freeze_module on Windows can be built faster with no optimization

2021-12-18 Thread neonene
New submission from neonene : In Makefile.pre.in, LTO is disabled when building _freeze_module. MSVC can also cut the build time of _freeze_module.exe in half without the optimization. -- components: Build, Windows messages: 408841 nosy: neonene, paul.moore, steve.dower, tim.golden,

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +28399 pull_request: https://github.com/python/cpython/pull/30180 ___ Python tracker ___

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +28398 pull_request: https://github.com/python/cpython/pull/30179 ___ Python tracker

[issue46104] Reduce use of old-style syntax in typing docs

2021-12-18 Thread Ken Jin
Ken Jin added the comment: New changeset 6ada013df170b0afb6b61a0d942388c6fd81cbc9 by Alex Waygood in branch 'main': bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148) https://github.com/python/cpython/commit/6ada013df170b0afb6b61a0d942388c6fd81cbc9 --

[issue46122] Update/fix types.UnionType to types.Union in Built-in Types documentation

2021-12-18 Thread Vivek Vashist
New submission from Vivek Vashist : There is an error in https://docs.python.org/3/library/stdtypes.html#types-union example. Looks like there is no types.UnionType BROKEN: >>> import types >>> isinstance(int | str, types.UnionType) Traceback (most recent call last): File "", line 1, in

[issue46106] OpenSSL 1.1.1m is now available

2021-12-18 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46121] Add a note to QueueListener documentation saying that SimpleQueue instances can't be used in multiprocessing scenarios

2021-12-18 Thread dmitry-bychkov
New submission from dmitry-bychkov : Currently, documentation for QueueListener (https://docs.python.org/3/library/logging.handlers.html#queuelistener) says: """ supports receiving logging messages from a queue, such as those implemented in the queue or multiprocessing modules. """ While

[issue28206] signal.Signals not documented

2021-12-18 Thread Hinrich Mahler
Hinrich Mahler added the comment: I think this can be closed now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-18 Thread Nikita Sobolev
Change by Nikita Sobolev : -- nosy: +asvetlov, kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46120] Add note to `typing.Union` that it is recommended to use `|` instead

2021-12-18 Thread Nikita Sobolev
New submission from Nikita Sobolev : As discussed in https://mail.python.org/archives/list/typing-...@python.org/thread/TW5M6XDN7DO346RXMADKBAAGNSZPC4ZQ/ > we could probably stick a huge notice in the typing.Union docs saying `|` is > preferred for readability in most cases, and not