GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. by methane · Pull Request #20927 · python/cpython

Conversation

@methane

@methane methane commented Jun 17, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Emit DeprecationWarning when PyArg_Parse*() is called with 'u', 'Z' format.

See PEP 623.

https://bugs.python.org/issue36346

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Jun 17, 2020
@bedevere-bot bedevere-bot added the awaiting core review label Jun 17, 2020
@methane methane added the DO-NOT-MERGE label Jun 17, 2020
@methane

methane commented Jun 17, 2020

Copy link
Copy Markdown
Member Author

Argument Clinic should be updated before this pull request.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@methane methane changed the title bpo-36346: Raise DeprecationWarning in deprecated usages. bpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z' Jun 17, 2020
methane
methane commented Jun 30, 2020
View reviewed changes
Comment thread Modules/overlapped.c Resolved

Uh oh!

There was an error while loading. Please reload this page.

@methane methane changed the title bpo-36346: Raise DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z' Feb 22, 2021
@methane methane changed the title bpo-36346: Emt DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emit DeprecationWarning for getargs with 'u', 'Z' Feb 22, 2021
@methane
methane force-pushed the pep393-deprecate2 branch 4 times, most recently from 722268d to 4b9927a Compare February 22, 2021 10:01
@methane
bpo-36346: Raise DeprecationWarning in deprecated usages.
8352afa
Raise DeprecationWarning when:

* PyArg_ParseTuple with 'u', 'Z' format.
* PyUnicode_FromStringAndSize(NULL, size)

We can not use C level deprecation because these API will be not
removed.
@methane
methane force-pushed the pep393-deprecate2 branch from 4b9927a to 11cf478 Compare February 22, 2021 10:02
@methane methane removed the DO-NOT-MERGE label Feb 22, 2021
@methane
Supress warnings in test
c621da0
@methane
methane force-pushed the pep393-deprecate2 branch from 41b9add to c621da0 Compare February 22, 2021 11:11
@methane
Update 2021-02-22-19-00-00.bpo-36346.uAoni0.rst
5d45675
@methane methane changed the title bpo-36346: Emit DeprecationWarning for getargs with 'u', 'Z' bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. Feb 22, 2021
@methane
methane merged commit 91a639a into python:master Feb 22, 2021
@methane
methane deleted the pep393-deprecate2 branch February 22, 2021 13:11
@bedevere-bot bedevere-bot removed the awaiting core review label Feb 22, 2021
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
@methane @adorilson
bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. (…
25fb3b6
…pythonGH-20927)

Emit DeprecationWarning when PyArg_Parse*() is called with 'u', 'Z' format.

See PEP 623.
@bedevere-bot bedevere-bot mentioned this pull request Apr 10, 2022
Prepare for removing the legacy Unicode C API #80527
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@methane @the-knights-who-say-ni @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.