New submission from Vajrasky Kok: $ sudo adduser --no-create-home cutecat Adding user `cutecat' ... Adding new group `cutecat' (1007) ... Adding new user `cutecat' (1005) with group `cutecat' ... Not creating home directory `/home/cutecat'. Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for cutecat Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] Y
$ su cutecat Password: $ ./python Python 3.4.0b1 (default:1f1498fe50e5, Dec 5 2013, 09:48:25) [GCC 4.7.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> Error in atexit._run_exitfuncs: FileNotFoundError: [Errno 2] No such file or directory $ Python 2.7 and 3.3 do not throw error. $ ./python Python 3.3.3+ (3.3:07425df887b5+, Dec 2 2013, 12:27:06) [GCC 4.7.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> [60778 refs] [41580 refs] $ $ ./python Python 2.7.6+ (2.7:181ced5bf0be, Dec 4 2013, 11:23:42) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> $ ---------- components: Extension Modules messages: 205273 nosy: vajrasky priority: normal severity: normal status: open title: Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs type: behavior versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19891> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com