[issue9581] PosixGroupsTester fails as root
George Yoshida added the comment: > Under 2.6, there's another failure: As for 2.6/2.7 issues, changing 'assertListEqual' to 'assertEqual' should suffice. -- keywords: +patch nosy: +quiver Added file: http://bugs.python.org/file18496/2.6.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9581] PosixGroupsTester fails as root
George Yoshida added the comment: test_initgroups fails only if the test is invoked by a root and the user is assigned to only one group. If I understand test_initgroups correctly, it (1)looks for an unused gid, (2)inits process user's group with that gid, (3)checks if initgroups worked. Attached patch simplifies step #1 "max(self.saved_groups) + 1" is used. test_initgroups passed when root's groups are as follows:: * [0] * [0, 3, 5] * [0, 1, 2] -- Added file: http://bugs.python.org/file18498/test_setgroups.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9581] PosixGroupsTester fails as root
Changes by George Yoshida : Removed file: http://bugs.python.org/file18498/test_setgroups.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9581] PosixGroupsTester fails as root
Changes by George Yoshida : Added file: http://bugs.python.org/file18499/test_setgroups.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9581] PosixGroupsTester fails as root
George Yoshida added the comment: > FAIL: test_setgroups (test.test_posix.PosixGroupsTester) > -- > Traceback (most recent call last): > File "/home/antoine/py3k/__svn__/Lib/test/test_posix.py", line 428, in > test_setgroups > self.assertListEqual(groups, posix.getgroups()) > AssertionError: First sequence is not a list: range(0, 16) This one is just a list/range data type issue. patch for test_initgroups/test_setgroups against py3k attached -- ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9581] PosixGroupsTester fails as root
Changes by George Yoshida : Added file: http://bugs.python.org/file18500/py3k.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4734] broken link for 2.5.3 doc download
New submission from George Yoshida : Download page for 2.5.3 documantation is not ready. --- Go to Documentation top page: http://docs.python.org/ click "Previous versions" click "Python 2.5.3" click "Download all these documents" But this URL, http://www.python.org/doc/2.5.3/download/ , gives 404 NOT FOUND ERROR. -- assignee: georg.brandl components: Documentation messages: 78252 nosy: georg.brandl, quiver severity: normal status: open title: broken link for 2.5.3 doc download versions: Python 2.5 ___ Python tracker <http://bugs.python.org/issue4734> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16371] typo in ctypes
New submission from George Yoshida: In the following sentence: http://docs.python.org/3.3/library/ctypes.html > 16.17.1.19. Surprises > There are some edges in ctypes where you may be expect something else than > what actually happens. "you may be expect" should read "you may expect" -- assignee: docs@python components: Documentation messages: 174276 nosy: docs@python, quiver priority: low severity: normal status: open title: typo in ctypes ___ Python tracker <http://bugs.python.org/issue16371> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16530] documentation of os.wait3
New submission from George Yoshida: Documentation defines os.wait3 function as : > os.wait3([options]) but, this argument is required(no default options are set), so > os.wait3(options) is the correct definition. http://docs.python.org/3.3/library/os.html#os.wait3 -- assignee: docs@python components: Documentation keywords: easy messages: 176112 nosy: docs@python, quiver priority: low severity: normal status: open title: documentation of os.wait3 type: behavior versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 ___ Python tracker <http://bugs.python.org/issue16530> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5344] typo in what's new in 2.6
New submission from George Yoshida : In "What's new in 2.6" PEP 343 section, the following sentence lacks a closing parenthesis: > The expression is evaluated, and it should result in an object that supports the context management protocol (that is, has __enter__() and __exit__() methods. http://docs.python.org/whatsnew/2.6.html#pep-343-the-with-statement Patch attached -- assignee: georg.brandl components: Documentation files: whatsnew.diff keywords: patch, patch messages: 82593 nosy: georg.brandl, quiver priority: low severity: normal status: open title: typo in what's new in 2.6 versions: Python 2.6 Added file: http://bugs.python.org/file13148/whatsnew.diff ___ Python tracker <http://bugs.python.org/issue5344> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5662] py3k interpreter leak
New submission from George Yoshida : In py3k interpreter, every time you hit enter, refcount is incremented one by one. It looks like r70823 is the culprit. (tested with py3k:70823 and release30-maint:70831) Python 3.1a1+ (py3k:70823, Apr 2 2009, 10:21:55) [GCC 4.3.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> [36297 refs] >>> [36298 refs] >>> [36299 refs] >>> [36300 refs] >>> [36301 refs] >>> [36302 refs] >>> [36303 refs] -- messages: 85129 nosy: quiver severity: normal status: open title: py3k interpreter leak versions: Python 3.0, Python 3.1 ___ Python tracker <http://bugs.python.org/issue5662> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5744] multiprocessing.managers.BaseManager.connect example typos
George Yoshida added the comment: > The example ... has *2* typos I guess the reporter wants to point out - extra parenthesis(fixed in r71544) - closing quote is missing for authkey argument -- nosy: +quiver status: closed -> open ___ Python tracker <http://bugs.python.org/issue5744> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com