[issue41165] [Python 3.10] Remove APIs deprecated since Python 3.3

2020-07-02 Thread Inada Naoki


Change by Inada Naoki :


--
pull_requests: +20425
pull_request: https://github.com/python/cpython/pull/21276

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41165] [Python 3.10] Remove APIs deprecated since Python 3.3

2020-07-02 Thread Inada Naoki


Change by Inada Naoki :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41165] [Python 3.10] Remove APIs deprecated since Python 3.3

2020-07-02 Thread Inada Naoki


Inada Naoki  added the comment:

Unittest aliases are deprecated in #9424.
Can we remove them in Python 3.10?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41165] [Python 3.10] Remove APIs deprecated since Python 3.3

2020-07-01 Thread Inada Naoki


Change by Inada Naoki :


--
keywords: +patch
pull_requests: +20423
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21273

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41165] [Python 3.10] Remove APIs deprecated since Python 3.3

2020-06-29 Thread Inada Naoki


Inada Naoki  added the comment:

PyModule_GetFilename, PyEval_AcquireLock, PyEval_ReleaseLock.
Are they part of stable ABI?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41165] [Python 3.10] Remove APIs deprecated since Python 3.3

2020-06-29 Thread Inada Naoki


New submission from Inada Naoki :

I don't think we need to remove them all at onece. But we can remove some of 
them for code health.

c-api/module.rst

.. c:function:: const char* PyModule_GetFilename(PyObject *module)
   .. deprecated:: 3.2

c-api/init.rst

.. c:function:: void PyEval_AcquireLock()
   .. deprecated:: 3.2

.. c:function:: void PyEval_ReleaseLock()
   .. deprecated:: 3.2

unittest:

   .. deprecated:: 3.1
 The fail* aliases listed in the second column have been deprecated.
   .. deprecated:: 3.2
 The assert* aliases listed in the third column have been deprecated.
   .. deprecated:: 3.2
 ``assertRegexpMatches`` and ``assertRaisesRegexp`` have been renamed to
 :meth:`.assertRegex` and :meth:`.assertRaisesRegex`.

urllib.request:

.. class:: URLopener(proxies=None, **x509)
   .. deprecated:: 3.3
.. class:: FancyURLopener(...)
   .. deprecated:: 3.3

turtle:
.. function:: settiltangle(angle)
   .. deprecated:: 3.1

imp:
.. function:: get_suffixes()
.. function:: find_module(name[, path])
.. function:: load_module(name, file, pathname, description)
.. data:: PY_SOURCE
.. data:: PY_COMPILED
.. data:: C_EXTENSION
.. data:: PKG_DIRECTORY
.. data:: C_BUILTIN
.. data:: PY_FROZEN

configparser:
   .. method:: readfp(fp, filename=None)
  .. deprecated:: 3.2

email.errors:

* :class:`MalformedHeaderDefect` -- A header was found that was missing a colon,
  or was otherwise malformed.

  .. deprecated:: 3.3

pkgutil:
.. class:: ImpImporter(dirname=None)
   .. deprecated:: 3.3
.. class:: ImpLoader(fullname, file, filename, etc)
   .. deprecated:: 3.3

zipfile:
.. exception:: BadZipfile

   Alias of :exc:`BadZipFile`, for compatibility with older Python versions.

   .. deprecated:: 3.2

inspect:
.. function:: getargspec(func)
   .. deprecated:: 3.0

asyncore:
  .. deprecated:: 3.2

importlib:
.. class:: Finder
   .. deprecated:: 3.3

.. method:: path_mtime(path)
.. deprecated:: 3.3

--
components: Library (Lib)
messages: 372653
nosy: inada.naoki
priority: normal
severity: normal
status: open
title: [Python 3.10] Remove APIs deprecated since Python 3.3
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com