Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-29442: Replace optparse with argparse in setup.py #139

Merged
merged 1 commit into from
Jul 11, 2018
Merged

bpo-29442: Replace optparse with argparse in setup.py #139

merged 1 commit into from
Jul 11, 2018

Conversation

yan12125
Copy link
Contributor

@yan12125 yan12125 commented Feb 16, 2017

https://bugs.python.org/issue29442

PS: This patch has conflicts with #1372

Update: depends on #1269

https://bugs.python.org/issue29442

@yan12125
Copy link
Contributor Author

See the traceback in http://bugs.python.org/issue29442#msg287702 for why the change in gettext.py is necessary

@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label Feb 18, 2017
@methane methane closed this Jul 9, 2018
@methane methane reopened this Jul 9, 2018
@methane methane merged commit 09b2bec into python:master Jul 11, 2018
@yan12125 yan12125 deleted the setup-py-argparse branch July 11, 2018 14:29
yan12125 added a commit to yan12125/python3-android that referenced this pull request Jul 11, 2018
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request Jul 14, 2018
* master: (2633 commits)
  bpo-34087: Fix buffer overflow in int(s) and similar functions (pythonGH-8274)
  bpo-34108: Fix double carriage return in 2to3 on Windows (python#8271)
  bpo-4260: Document that ctypes.xFUNCTYPE are decorators (pythonGH-7924)
  bpo-33723: Fix test_time.test_thread_time() (pythonGH-8267)
  bpo-33967: Remove use of deprecated assertRaisesRegexp() (pythonGH-8261)
  bpo-34080: Fix a memory leak in the compiler. (pythonGH-8222)
  Enable GUI testing on Travis Linux builds via Xvfb (pythonGH-7887)
  bpo-23927: Make getargs.c skipitem() skipping 'w*'. (pythonGH-8192)
  bpo-33648: Remove PY_WARN_ON_C_LOCALE (pythonGH-7114)
  bpo-34092, test_logging: increase SMTPHandlerTest timeout (pythonGH-8245)
  Simplify __all__ in multiprocessing (pythonGH-6856)
  bpo-34083: Update dict order in Functional HOWTO (pythonGH-8230)
  Doc: Point to Simple statements section instead of PEP (pythonGH-8238)
  bpo-29442: Replace optparse with argparse in setup.py (pythonGH-139)
  bpo-33597: Add What's New for PyGC_Head (pythonGH-8236)
  Dataclasses: Fix example on 30.6.8, add method should receive a list rather than an integer. (pythonGH-8038)
  Fix documentation for input and output tutorial (pythonGH-8231)
  bpo-34009: Expand on platform support changes (pythonGH-8022)
  Factor-out two substantially identical code blocks. (pythonGH-8219)
  bpo-34031: fix incorrect usage of self.fail in two tests (pythonGH-8091)
  ...
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request Jul 15, 2018
* master: (1159 commits)
  bpo-34087: Fix buffer overflow in int(s) and similar functions (pythonGH-8274)
  bpo-34108: Fix double carriage return in 2to3 on Windows (python#8271)
  bpo-4260: Document that ctypes.xFUNCTYPE are decorators (pythonGH-7924)
  bpo-33723: Fix test_time.test_thread_time() (pythonGH-8267)
  bpo-33967: Remove use of deprecated assertRaisesRegexp() (pythonGH-8261)
  bpo-34080: Fix a memory leak in the compiler. (pythonGH-8222)
  Enable GUI testing on Travis Linux builds via Xvfb (pythonGH-7887)
  bpo-23927: Make getargs.c skipitem() skipping 'w*'. (pythonGH-8192)
  bpo-33648: Remove PY_WARN_ON_C_LOCALE (pythonGH-7114)
  bpo-34092, test_logging: increase SMTPHandlerTest timeout (pythonGH-8245)
  Simplify __all__ in multiprocessing (pythonGH-6856)
  bpo-34083: Update dict order in Functional HOWTO (pythonGH-8230)
  Doc: Point to Simple statements section instead of PEP (pythonGH-8238)
  bpo-29442: Replace optparse with argparse in setup.py (pythonGH-139)
  bpo-33597: Add What's New for PyGC_Head (pythonGH-8236)
  Dataclasses: Fix example on 30.6.8, add method should receive a list rather than an integer. (pythonGH-8038)
  Fix documentation for input and output tutorial (pythonGH-8231)
  bpo-34009: Expand on platform support changes (pythonGH-8022)
  Factor-out two substantially identical code blocks. (pythonGH-8219)
  bpo-34031: fix incorrect usage of self.fail in two tests (pythonGH-8091)
  ...
CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request Jul 21, 2018
…ssue-33014

* 'master' of github.com:CuriousLearner/cpython: (722 commits)
  bpo-34087: Fix buffer overflow in int(s) and similar functions (pythonGH-8274)
  bpo-34108: Fix double carriage return in 2to3 on Windows (python#8271)
  bpo-4260: Document that ctypes.xFUNCTYPE are decorators (pythonGH-7924)
  bpo-33723: Fix test_time.test_thread_time() (pythonGH-8267)
  bpo-33967: Remove use of deprecated assertRaisesRegexp() (pythonGH-8261)
  bpo-34080: Fix a memory leak in the compiler. (pythonGH-8222)
  Enable GUI testing on Travis Linux builds via Xvfb (pythonGH-7887)
  bpo-23927: Make getargs.c skipitem() skipping 'w*'. (pythonGH-8192)
  bpo-33648: Remove PY_WARN_ON_C_LOCALE (pythonGH-7114)
  bpo-34092, test_logging: increase SMTPHandlerTest timeout (pythonGH-8245)
  Simplify __all__ in multiprocessing (pythonGH-6856)
  bpo-34083: Update dict order in Functional HOWTO (pythonGH-8230)
  Doc: Point to Simple statements section instead of PEP (pythonGH-8238)
  bpo-29442: Replace optparse with argparse in setup.py (pythonGH-139)
  bpo-33597: Add What's New for PyGC_Head (pythonGH-8236)
  Dataclasses: Fix example on 30.6.8, add method should receive a list rather than an integer. (pythonGH-8038)
  Fix documentation for input and output tutorial (pythonGH-8231)
  bpo-34009: Expand on platform support changes (pythonGH-8022)
  Factor-out two substantially identical code blocks. (pythonGH-8219)
  bpo-34031: fix incorrect usage of self.fail in two tests (pythonGH-8091)
  ...
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 3, 2018
The outcome of this merge does not compile.
Stackless issue python#139 will fix this.
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 3, 2018
…tines

Since upstream commit fc2f407 (bpo-32591) the memory layout of
generators and coroutines differs. Therefore it is no longer feasible to
share the pickling code.
This refactor the common parts of the reduce/setstate implementation
into support methods and support the new coroutine attribute cr_origin.
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 3, 2018
The new function compute_cr_origin(int origin_depth) inspects stack
frames. Modify it to ignore C-frames.
This fixes a segfault in test.test_asyncio.test_events.EPollEventLoopTests.test_sock_client_ops
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 10, 2018
Add the new attribute "cr_origin" to the copy-test.
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 10, 2018
…InterpreterState

Resize flags and reorder them to avoid padding. This is a preparation
for adding another flag field for pickle related flags.
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 10, 2018
Add the flags and methods stackless.pickle_flags() and
stackless.pickle_flags_default() to get or set them. Currently only one
flag is defined in prickelpit.h. It will be used by the next commit.
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 10, 2018
Update the documentation regarding pickling. More to come.
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 10, 2018
Stackless now pickles asynchronous generators. Read the documentation
about Stackless pickling for details.
akruis pushed a commit to akruis/cpython that referenced this pull request Nov 10, 2018
Stackless now pickles awaitable objects of type PyAsyncGenASend or
PyAsyncGenAThrow (see PEP 525).
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 5, 2019
Add the global variable gen_exhausted_asyncgen to the list of ignored
globals. It is a constant singleton.
jaraco pushed a commit that referenced this pull request Dec 2, 2022
itamaro pushed a commit to itamaro/cpython that referenced this pull request Jun 7, 2024
The internal and external repositories are out of sync. This Pull Request attempts to brings them back in sync by patching the GitHub repository. Please carefully review this patch. You must disable ShipIt for your project in order to merge this pull request. DO NOT IMPORT this pull request. Instead, merge it directly on GitHub using the MERGE BUTTON. Re-enable ShipIt after merging.

Co-authored-by: Facebook Community Bot <6422482+facebook-github-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants