This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: deprecate RISCOS "support"
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.4, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, christian.heimes, jcea, loewis, pitrou, python-dev, vstinner
Priority: normal Keywords:

Created on 2012-11-18 17:15 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (10)
msg175889 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-11-18 17:15
There are a couple of places in our code with references to RISCOS (mostly as #ifdef's). I propose we record this platform as deprecated in 3.4 and removed in 3.5. This needs PEP 11 to be updated.

Wikipedia mentions the existence of two operating systems named "RISC OS". I conjecture we are talking about this one: http://en.wikipedia.org/wiki/RISC_OS
In any case, there hasn't been any report of people actually running Python on that OS for years, so it's unlikely to work at all.
msg175930 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-11-18 23:26
Note that 3e3bc84122d7 claims that RISCOS support was removed in 3.0. Skip removed some in 4d2aa4bfb2d6, and more in a2859ae89da9 and 4d2aa4bfb2d6. So I don't think that a deprecation release is necessary. Updating PEP 11 is still a good thing.
msg175931 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-11-18 23:27
The third rev should have bee 48a31b0bf501. These hg revision numbers are too error prone :-(
msg175932 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-11-18 23:44
New changeset ceb0184c7f44 by Christian Heimes in branch 'default':
RISCOS support has been removed a long time ago. Remove last remains in sys.flags code. #16501 can be closed, too.
http://hg.python.org/cpython/rev/ceb0184c7f44
msg175934 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-11-19 00:00
New changeset 6b74a93a2b8a by Christian Heimes in branch 'default':
Remove sys.platform == 'riscos' checks from some Python and test files. #16501
http://hg.python.org/cpython/rev/6b74a93a2b8a
msg175936 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2012-11-19 00:05
I've removed the remaining ifdef from the sys.flags code, site.py and tests. The remaining code lines are 3rd party code. I'm not sure about the last two lines.

$ find -name '*.[ch]' -or -name '*.py' | xargs grep -i riscos
./Modules/zlib/zutil.h:#if defined(_BEOS_) || defined(RISCOS)
./Modules/zlib/example.c:#if defined(VMS) || defined(RISCOS)
./Modules/zlib/minigzip.c:#ifdef RISCOS
./Objects/floatobject.c:     * systems raise an exception then (RISCOS was mentioned as one,
./Lib/test/test_email/test_email.py:        eq(part2.get_content_type(), 'application/riscos')
./Mac/Tools/bundlebuilder.py:    'org.python.core', 'riscos', 'riscosenviron', 'riscospath'
msg175937 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-11-19 00:08
application/riscos remains a valid MIME type, see

http://www.iana.org/assignments/media-types/application/riscos

I believe it's safe to remove the riscos modules from the Mac build process...
msg176263 - (view) Author: Jesús Cea Avión (jcea) * (Python committer) Date: 2012-11-24 00:32
Please, update PEP 11.
msg177554 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-12-15 19:51
PEP 11 updated in 3abdc6b075fb.
msg240908 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2015-04-14 15:29
Nothing left to do for this ticket; closing.
History
Date User Action Args
2022-04-11 14:57:38adminsetgithub: 60705
2015-04-14 15:29:30akuchlingsetstatus: open -> closed

nosy: + akuchling
messages: + msg240908

resolution: fixed
stage: resolved
2012-12-15 19:51:03pitrousetmessages: + msg177554
2012-11-24 00:32:32jceasetmessages: + msg176263
2012-11-24 00:31:02jceasetnosy: + jcea
2012-11-19 00:08:47loewissetmessages: + msg175937
2012-11-19 00:05:32christian.heimessetnosy: + christian.heimes
messages: + msg175936
2012-11-19 00:00:14python-devsetmessages: + msg175934
2012-11-18 23:44:52python-devsetnosy: + python-dev
messages: + msg175932
2012-11-18 23:27:57loewissetmessages: + msg175931
2012-11-18 23:26:26loewissetmessages: + msg175930
2012-11-18 17:15:07pitroucreate