[PATCH stable] doc: inspect.getargspec has been removed in Python 3.11

2022-02-05 Thread Mads Kiilerich
# HG changeset patch
# User Mads Kiilerich 
# Date 1644066813 -3600
#  Sat Feb 05 14:13:33 2022 +0100
# Branch stable
# Node ID e3c50cc1facafbd13120b7693155add1af9f94ed
# Parent  01fde63b4eded708802bfd0d0d4cb4ecc5ff6e1c
doc: inspect.getargspec has been removed in Python 3.11

Fix problem left over from 646002338365.

Reported for Fedora on https://bugzilla.redhat.com/show_bug.cgi?id=2022252#c2 .

diff --git a/doc/hgmanpage.py b/doc/hgmanpage.py
--- a/doc/hgmanpage.py
+++ b/doc/hgmanpage.py
@@ -177,7 +177,11 @@ class Translator(nodes.NodeVisitor):
 nodes.NodeVisitor.__init__(self, document)
 self.settings = settings = document.settings
 lcode = settings.language_code
-arglen = len(inspect.getargspec(languages.get_language)[0])
+try:
+getfullargspec = inspect.getfullargspec
+except:  # Python 2
+getfullargspec = inspect.getargspec
+arglen = len(getfullargspec(languages.get_language)[0])
 if arglen == 2:
 self.language = languages.get_language(
 lcode, self.document.reporter

___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


[Bug 6641] New: How To Get A Referral Code On Cash App And Earn A Referral Amount?

2022-02-05 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6641

Bug ID: 6641
   Summary: How To Get A Referral Code On Cash App And Earn A
Referral Amount?
   Product: Mercurial
   Version: unspecified
  Hardware: PC
OS: Windows
Status: UNCONFIRMED
  Severity: feature
  Priority: wish
 Component: acl
  Assignee: bugzi...@mercurial-scm.org
  Reporter: tobycarte...@gmail.com
CC: mercurial-devel@mercurial-scm.org
Python Version: ---

Do you want to get a referral code on Cash App but you don’t know How To Get A
Referral Code On Cash App? For fetching the feasible source of information and
the best possible technical assistance, you have to place a call at the
official helpline number which will help to approach the specialists.
https://www.emailsupport-contact.com/blog/find-my-referral-code-for-cash-app/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel