[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Martin v. Löwis mar...@v.loewis.de added the comment: This change is reasonable for the long term. But it *will* break a lot of code. [If you favor a specific change, please indicate what that is. I'm assuming you support my proposal for the moment :-] I agree it will break a lot of code, but it's also somewhat urgent because we will get 'linux3' if we don't act, which will also break a lot of code (but more subtly, since people testing their code may do so on Linux 2, only to get bug reports that it breaks on some Linux systems). I'm sure Linus Torvalds is fully aware of the possible consequences of the version change, and just accepted the breakage that this would cause. It's important that we set a policy before the Linux distributions do (which may end up choosing different policies). We don't actually have to *release* this change quickly, since Linux distributions who release 3.x kernels will fix their Python packages themselves. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12319] [http.client] HTTPConnection.putrequest not support chunked Transfer-Encodings to send data
Petri Lehtinen pe...@digip.org added the comment: harobed wrote: I use http.client in WebDAV client. Mac OS X Finder WebDAV client perform all his request in chunk mode : PUT and GET. Here, I use http.client to simulate Mac OS X Finder WebDAV client. Now I'm confused. Per the HTTP specification, GET requests don't have a body, so Transfer-Encoding: chunked doesn't apply to them. Are you sure you don't confuse with the response that the server sends? In responses, Transfer-Encoding: chunked is very common. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12319 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10224] Build 3.x documentation using python3.x
Martin v. Löwis mar...@v.loewis.de added the comment: Actually, on Windows, PYTHON is typically not set at all. So the likelihood of it being set to Python 3 is very low, unless you are trying to build Python documentation from time to time. Sye: I fail to see the point of your patch. sphinx-build.py already issues an error message - why do you need more error messages? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10224 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11934] build with --prefix=/dev/null and zlib enabled in Modules/Setup failed
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11934 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The change to sys.platform=='linux' would break code even on current platforms. OTOH, we have sys.platform=='win32' even on Windows 64bit; would this favor keeping 'linux2' on all versions of Linux as well? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Martin v. Löwis mar...@v.loewis.de added the comment: The change to sys.platform=='linux' would break code even on current platforms. Correct. Compared to introducing 'linux3', I consider this the better change - it likely breaks earlier (i.e. when porting to Python 3.3). OTOH, we have sys.platform=='win32' even on Windows 64bit; would this favor keeping 'linux2' on all versions of Linux as well? While this has better compatibility, it's also a constant source of irritation. Introducing 'win64' would have been a worse choice (just as introducing 'linux3' would: incompatibility for no gain, since the distinction between win32 and win64, from a Python POV, is irrelevant). Plus, Microsoft dislikes the term Win64 somewhat, and rather wants people to refer to the Windows API. I personally disliked 'linux2' when it was introduced, for its incompatibilities. Anticipating that, some day, we may have 'Linux 4', and so on, I still claim it is better to fix this now. We could even come up with a 2to3 fixer for people who dual-source their code. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Charles-François Natali neolo...@free.fr added the comment: I'm sure Linus Torvalds is fully aware of the possible consequences of the version change, and just accepted the breakage that this would cause. Any application relying on sys.platform == 'linux2' is already broken. It's exactly the same if an application checks for 'freebsd6' or 'openbsd4' : if you want to check for a specific operating system, there's already POSIX' struct utsname sysname field, i.e. uname()[0]. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10527] multiprocessing.Pipe problem: handle out of range in select()
Dan Kenigsberg dan...@redhat.com added the comment: I would rate this issue as a performance bug, not a mere feature request. If the python process has more than 1023 open file descriptors, multiprocessing.Pipe.poll() becomes unusable. This is a serious barrier to using multiprocessing in a complex server. -- nosy: +danken type: feature request - performance ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12331] lib2to3 tests write into protected directory
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: Some of the tests for lib2to3 write into folders which are protected in an installed Python. This means that regression tests fail when run on an installed Python, even though they run wihtout these errors on a source build. I think writes should be done into temp files, so that you can run regressions on installed Pythons. Example failure: == ERROR: test_refactor_file (lib2to3.tests.test_refactor.TestRefactoringTool) -- Traceback (most recent call last): File /usr/local/lib/python3.3/lib2to3/tests/test_refactor.py, line 190, in check_file_refactoring rt.refactor_file(test_file, True) File /usr/local/lib/python3.3/lib2to3/refactor.py, line 353, in refactor_file write=write, encoding=encoding) File /usr/local/lib/python3.3/lib2to3/refactor.py, line 518, in processed_file self.write_file(new_text, filename, old_text, encoding) File /usr/local/lib/python3.3/lib2to3/refactor.py, line 530, in write_file f = _open_with_encoding(filename, w, encoding=encoding) IOError: [Errno 13] Permission denied: '/usr/local/lib/python3.3/lib2to3/tests/data/fixers/parrot_example.py' During handling of the above exception, another exception occurred: Traceback (most recent call last): File /usr/local/lib/python3.3/lib2to3/tests/test_refactor.py, line 200, in test_refactor_file self.check_file_refactoring(test_file, _DEFAULT_FIXERS) File /usr/local/lib/python3.3/lib2to3/tests/test_refactor.py, line 194, in check_file_refactoring with open(test_file, wb) as fp: IOError: [Errno 13] Permission denied: '/usr/local/lib/python3.3/lib2to3/tests/data/fixers/parrot_example.py' -- components: 2to3 (2.x to 3.0 conversion tool), Tests messages: 138302 nosy: benjamin.peterson, vinay.sajip priority: normal severity: normal status: open title: lib2to3 tests write into protected directory versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12331 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12331] lib2to3 tests write into protected directory
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12331 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12084] os.stat() on windows doesn't consider relative symlink
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I tried issue12084_XP.diff, but os.stat()/os.lstat() always failed with following message because it raises exception on top of it when running on XP. Python 3.2.1rc1+ (default, Jun 14 2011, 16:26:11) [MSC v.1200 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import os [53981 refs] os.stat(src) Traceback (most recent call last): File stdin, line 1, in module WindowsError: [Error 127] 指定されたプロシージャが見つかりません。: 'src' [54014 refs] -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12084] os.stat() on windows doesn't consider relative symlink
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment: I created several patches. quick1.patch: os.stat() traverses junction on Vista/7, and raises error on XP. quick2.patch: os.stat() never traverse junction on all windows. quick3.patch: os.stat() should traverse junction os Vista/7, but doesn't on XP. There are many patches because I don't know how to treat junction on os.stat(). -- Added file: http://bugs.python.org/file22361/quick1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12084] os.stat() on windows doesn't consider relative symlink
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file22362/quick2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12084] os.stat() on windows doesn't consider relative symlink
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp: Added file: http://bugs.python.org/file22363/quick3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10527] multiprocessing.Pipe problem: handle out of range in select()
Erez Sh ere...@gmail.com added the comment: I support this change. Putting an arbitrary limitation on the amount of supported subprocesses is disastrous for complex software. Gergely's patch seems good. I would only like to suggest a small cosmetic refinement to it, which removes some dead code. -- nosy: +Erez.Sh Added file: http://bugs.python.org/file22364/multiproc2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Marc-Andre Lemburg m...@egenix.com added the comment: Martin v. Löwis wrote: Martin v. Löwis mar...@v.loewis.de added the comment: The change to sys.platform=='linux' would break code even on current platforms. Correct. Compared to introducing 'linux3', I consider this the better change - it likely breaks earlier (i.e. when porting to Python 3.3). OTOH, we have sys.platform=='win32' even on Windows 64bit; would this favor keeping 'linux2' on all versions of Linux as well? While this has better compatibility, it's also a constant source of irritation. Introducing 'win64' would have been a worse choice (just as introducing 'linux3' would: incompatibility for no gain, since the distinction between win32 and win64, from a Python POV, is irrelevant). Plus, Microsoft dislikes the term Win64 somewhat, and rather wants people to refer to the Windows API. I personally disliked 'linux2' when it was introduced, for its incompatibilities. Anticipating that, some day, we may have 'Linux 4', and so on, I still claim it is better to fix this now. We could even come up with a 2to3 fixer for people who dual-source their code. I think we should consider adding a better mechanism and just keep the old mechanism for determining sys.platform in place (letting it break on Linux to raise awareness) and add a new better attribute along the lines of what Martin suggested: sys.system == 'linux', 'freebsd', 'openbsd', 'windows', etc. (without version) and a new sys.system_info == system release info (named) tuple similar to sys.version_info to query a specific system version. As already noted, direct sys.platform testing already breaks for OpenBSD, FreeBSD and probably a few other OSes as well with every major OS release, so the Linux breakage is not really new in any way. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10527] multiprocessing.Pipe problem: handle out of range in select()
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo, pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue762963] timemodule.c: Python loses current timezone
Stephen White stephen-python@randomstuff.org.uk added the comment: Debian appear to have applied this patch, and it seems to be causing problems: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593461 -- nosy: +Stephen.White ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue762963 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Antoine Pitrou pit...@free.fr added the comment: The change to sys.platform=='linux' would break code even on current platforms. Correct. Compared to introducing 'linux3', I consider this the better change - it likely breaks earlier (i.e. when porting to Python 3.3). FWIW, I also agree that sys.platform == 'linux' would be the better choice. It seems there's little point having the kernel's major version there. It's both disruptive and useless (because features are introduced at any point, not just at new major versions). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12326 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue762963] timemodule.c: Python loses current timezone
Changes by Jon Siddle j...@corefiling.co.uk: -- nosy: +jonsiddle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue762963 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12331] lib2to3 and packaging tests fail because they write into protected directory
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Some packaging tests also fail, for similar reasons: == ERROR: test_get_distinfo_file (packaging.tests.test_database.TestDistribution) -- Traceback (most recent call last): File /usr/local/lib/python3.3/packaging/tests/test_database.py, line 114, in setUp with open(record_file, 'w') as file: IOError: [Errno 13] Permission denied: '/usr/local/lib/python3.3/packaging/tests/fake_dists/babar-0.1.dist-info/RECORD' -- components: -2to3 (2.x to 3.0 conversion tool) nosy: +eric.araujo title: lib2to3 tests write into protected directory - lib2to3 and packaging tests fail because they write into protected directory ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12331 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10527] multiprocessing.Pipe problem: handle out of range in select()
Antoine Pitrou pit...@free.fr added the comment: This code has changed a lot in Python 3.3 (it is now located in Lib/multiprocessing/connection.py). Can you post a patch against the development tip (default branch)? See http://docs.python.org/devguide/setup.html if you need more information. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11838] IDLE: make interactive code savable as a runnable script
Changes by Tim Lesher tles...@gmail.com: -- nosy: +tlesher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11838 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12319] [http.client] HTTPConnection.putrequest not support chunked Transfer-Encodings to send data
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12319 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10897] UNIX mmap unnecessarily dup() file descriptor
Changes by Facundo Batista facu...@taniquetil.com.ar: -- nosy: -facundobatista ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10897 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12332] Float division
New submission from Carmine Paolino paolino.carm...@alice.it: Trying to run this simple script: for i in range(10): print(i*0.2) when i is 3, the result given is 0.6001. What could the problem be? -- components: Interpreter Core messages: 138311 nosy: cancelliere priority: normal severity: normal status: open title: Float division type: behavior versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12332 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12332] Float division
Carmine Paolino paolino.carm...@alice.it added the comment: When I try to run 3*0.2 in Python shell or using an IDLE document, the result given is 0.6001. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12332 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12332] Float division
Benjamin Peterson benja...@python.org added the comment: Yep. See http://docs.python.org/tutorial/floatingpoint.html -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12332 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11102] configure doesn't find major() on HP-UX v11.31
Oren Held o...@held.org.il added the comment: Any tip on how to make this patch get committed? :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11102 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12333] test_packaging failures under Solaris
New submission from Antoine Pitrou pit...@free.fr: The problem is that tearDown() tries to rmdir() the current directory, which is forbidden under Solaris and returns EINVAL: os.getcwd() '/home/antoine/t/t' os.rmdir(/home/antoine/t/t) Traceback (most recent call last): File stdin, line 1, in module OSError: [Errno 22] Invalid argument: '/home/antoine/t/t' os.chdir('..') os.rmdir(/home/antoine/t/t) Extract of rmdir (2) manpage: EINVAL The directory to be removed is the current directory, or the final component of path is .. See e.g. http://www.python.org/dev/buildbot/all/builders/x86%20OpenIndiana%203.x: == ERROR: test_cfg_to_args (packaging.tests.test_util.UtilTestCase) -- Traceback (most recent call last): File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py, line 147, in tearDown super(UtilTestCase, self).tearDown() File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py, line 225, in tearDown super(EnvironRestorer, self).tearDown() File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py, line 128, in tearDown shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin')) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 278, in rmtree rmtree(fullname, ignore_errors, onerror) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 287, in rmtree onerror(os.rmdir, path, sys.exc_info()) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 285, in rmtree os.rmdir(path) OSError: [Errno 22] Invalid argument: '/tmp/tmpe5bnmg/tmp_41r35' == ERROR: test_change_root (packaging.tests.test_util.UtilTestCase) -- Traceback (most recent call last): File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py, line 147, in tearDown super(UtilTestCase, self).tearDown() File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py, line 225, in tearDown super(EnvironRestorer, self).tearDown() File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py, line 128, in tearDown shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin')) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 278, in rmtree rmtree(fullname, ignore_errors, onerror) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 287, in rmtree onerror(os.rmdir, path, sys.exc_info()) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 285, in rmtree os.rmdir(path) OSError: [Errno 22] Invalid argument: '/tmp/tmptqqcy4/tmp8k_szg' == ERROR: test_convert_path (packaging.tests.test_util.UtilTestCase) -- Traceback (most recent call last): File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py, line 147, in tearDown super(UtilTestCase, self).tearDown() File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py, line 225, in tearDown super(EnvironRestorer, self).tearDown() File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py, line 128, in tearDown shutil.rmtree(self._basetempdir, os.name in ('nt', 'cygwin')) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 278, in rmtree rmtree(fullname, ignore_errors, onerror) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 287, in rmtree onerror(os.rmdir, path, sys.exc_info()) File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/shutil.py, line 285, in rmtree os.rmdir(path) OSError: [Errno 22] Invalid argument: '/tmp/tmpz76w6g/tmpehqobf' == ERROR: test_dont_write_bytecode (packaging.tests.test_util.UtilTestCase) -- Traceback (most recent call last): File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/test_util.py, line 147, in tearDown super(UtilTestCase, self).tearDown() File /export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/packaging/tests/support.py, line 225, in tearDown super(EnvironRestorer, self).tearDown() File
[issue12331] lib2to3 and packaging tests fail because they write into protected directory
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - tarek components: +Distutils2 nosy: +alexis, tarek stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12331 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11934] build with --prefix=/dev/null and zlib enabled in Modules/Setup failed
Antoine Pitrou pit...@free.fr added the comment: Well, using $(prefix)/include to fetch development headers sounds like the wrong strategy anyway. Just because you e.g. install into /usr/local doesn't mean your zlib is inside /usr/local too. And if that makes people use our own zlib headers by mistake, then it's doubly wrong IMO. -- nosy: +loewis, pitrou stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11934 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12329] XHTML entity apos missing in htmlentitydefs
Éric Araujo mer...@netwok.org added the comment: Please join the discussion on the already-opened report #3. -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - html.entities mapping dicts need updating? type: - feature request versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12329 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11113] html.entities mapping dicts need updating?
Éric Araujo mer...@netwok.org added the comment: I just closed #12329 as a duplicate of this bug. It requested the addition of the apos named entity reference. TTBOMK, the html module (or htmlentitydefs in 2.x) doesn’t claim to support XHTML TTBOMK; an XML parser should be used for XHTML. In HTML 4.01, apos is not defined, but it is in HTML5. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases
Éric Araujo mer...@netwok.org added the comment: Path LGTM. Also +1 on keeping distutils and packaging wholly separate, including in tests infrastructure. It’s just one file. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12141 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12333] test_packaging failures under Solaris
Éric Araujo mer...@netwok.org added the comment: I’m going to change directory before removing the temp dir. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12333 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12331] lib2to3 and packaging tests fail because they write into protected directory
Éric Araujo mer...@netwok.org added the comment: This should not be too hard to fix: I’ll move the directory with the mock projects to a temp dir, add that to sys.path, and then we’ll be able to read and write. -- assignee: tarek - eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12331 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12334] Strange sort error
New submission from Reinhard Engel nc-enge...@netcologne.de: # Strange sort error # lst1 and lst 2 produce different results, but should be same # lst1 should sort by length of items, but doesn't, lst2 does! lst0 = ['ab-get-ratings-max', 'ab-get-ratings-min', 'ab-rate-position', 'accum', 'add-cops', 'add-new-dice', 'add-passing-move', 'add-plants', 'add-two', 'add-widget'] print lst0 lst1 = sorted(lst0, lambda x, y: len(y) len(x)) print lst1 lst2 = sorted(lst0, lambda x, y: len(y) - len(x)) print lst2 -- messages: 138322 nosy: rengel priority: normal severity: normal status: open title: Strange sort error type: behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12084] os.stat() on windows doesn't consider relative symlink
Roundup Robot devnull@devnull added the comment: New changeset 23e14af406df by Brian Curtin in branch 'default': Merge 3.2 - update to the fix for #12084 http://hg.python.org/cpython/rev/23e14af406df -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12084] os.stat() on windows doesn't consider relative symlink
Brian Curtin br...@python.org added the comment: I think quick3 is the way to go - checked in, we'll see how the buildbots react. 1524a60016d0 is the changeset for the 3.2 checkin (forgot to mention the issue# there) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7969] shutil.copytree error handling non-standard and partially broken
Éric Araujo mer...@netwok.org added the comment: I think it would be good. -- assignee: tarek - eric.araujo versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7969 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12334] Strange sort error
Reinhard Engel nc-enge...@netcologne.de added the comment: Sorry, oversaw silly error in comparison! -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9273] 2to3 to simultaneously do code and doctests
Éric Araujo mer...@netwok.org added the comment: For the 2to3 support in the new packaging module (successor of distutils), we even do three passes: code, docstrings and doctest files. -- nosy: +eric.araujo stage: - needs patch title: 2to3 to simultaneously do code AND doctests - 2to3 to simultaneously do code and doctests versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9273 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9363] data_files are not installed relative to sys.prefix
Éric Araujo mer...@netwok.org added the comment: Thanks for the report. Do you have a script or test to reproduce the bug? Otherwise I’ll try to write one. -- assignee: tarek - eric.araujo nosy: +eric.araujo stage: - test needed versions: +Python 2.7, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9363 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12334] Strange sort error
Mark Dickinson dicki...@gmail.com added the comment: ... and you probably want sorted(lst0, key=len, reverse=True) anyway. :-) -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12334 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12207] Document ast.PyCF_ONLY_AST
Éric Araujo mer...@netwok.org added the comment: Another bug requesting documentation for a compiler flag exposed by a module: #1612012. If possible, I would have the index point to the first current sentence, which also mentions .parse() as an alternative. This should be possible: http://sphinx.pocoo.org/markup/para.html#directive-index -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12207 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8933] Invalid detection of metadata version
Éric Araujo mer...@netwok.org added the comment: I’ll look into this shortly. -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8933 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12084] os.stat() on windows doesn't consider relative symlink
Brian Curtin br...@python.org added the comment: Just had a successful XP buildbot run: http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.2/builds/304 -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1222585] C++ compilation support for distutils
Changes by Éric Araujo mer...@netwok.org: -- type: compile error - feature request versions: +Python 3.3 -3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1222585 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11218] pattern=None when following documentation for load_tests and unittest.main()
Changes by Éric Araujo mer...@netwok.org: -- assignee: docs@python - components: -Documentation nosy: +eric.araujo, ezio.melotti, michael.foord -docs@python stage: - test needed type: feature request - behavior versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11218 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10530] distutils2 should allow the installing of python files with invalid syntax
Éric Araujo mer...@netwok.org added the comment: A --strict option could be provided to allow these to remain an error. Or a config option could let you list the files that should not be byte-compiled. -- stage: - needs patch versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10530 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10514] configure does not create accurate Makefile on AIX
Changes by Éric Araujo mer...@netwok.org: -- title: configure does not create accurate Makefile - configure does not create accurate Makefile on AIX ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10457] Related help topics shown outside pager
Éric Araujo mer...@netwok.org added the comment: Thanks for your message. There was already a report for this bug, so I’m closing this one. -- resolution: - duplicate stage: needs patch - committed/rejected status: open - closed superseder: - pydoc.Helper.help() ignores input/output init parameters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10457 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8255] Packaging step-by-step tutorial
Éric Araujo mer...@netwok.org added the comment: I think the official documentation is less opinionated than the Hitchhiker’s Guide. -- title: step-by-step tutorial - Packaging step-by-step tutorial versions: +Python 3.3 -3rd party ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8255 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9741] msgfmt.py generates invalid mo because msgfmt.make() does not clear dictionary
Éric Araujo mer...@netwok.org added the comment: Thanks for the report and patch. Can you write a test? -- nosy: +eric.araujo stage: patch review - test needed versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9741 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8534] multiprocessing not working from egg
Éric Araujo mer...@netwok.org added the comment: I’m not sure this belongs on the Python tracker. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8534 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11493] Add python.exe-gdb.py to .hgignore
Éric Araujo mer...@netwok.org added the comment: What is python.exe-gdb.py? -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11493 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10530] distutils2 should allow the installing of python files with invalid syntax
Michael Foord mich...@voidspace.org.uk added the comment: Config options are for when developers can't make decisions. Given that there are valid use cases please just allow it. A --strict option is fine... (but no-one will use it I suspect) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10530 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5575] Add env vars for controlling building sqlite, hashlib and ssl
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 3.3 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5575 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue762963] timemodule.c: Python loses current timezone
Stephen White stephen-python@randomstuff.org.uk added the comment: The patch, issue762963.diff, is broken. It is calling mktime on a struct tm that is initialized to zeros. This means that it should be filling in the missing fields based on their correct values for the date 1st Jan 1900, which is incorrect behaviour as the whole method should be choosing appropriate values based on the date provided by the user. However in practice this call to mktime is effectively a no-op on 32bit systems. The reason for this is: The mktime(p) call is at the top of the method, straight after the memset(p, '\0', ...) call. This means p-tm_year is zero. According to the definition of struct tm a zero in the year field means 1900. On a 32bit system the earliest date handled by libc is 2**31 seconds before the Epoch (1st Jan 1970); time.strftime(%Y-%m-%d %H:%M:%S %Z, time.localtime(-2**31))'1901-12-13 20:45:52 GMT' So dates in the year 1900 cannot be handled by libc, and in this situation the mktime(p) call makes no attempt to normalise the provided data (or fill in missing values). The situation is different on 64bit systems. Here there is no problem with a much wider range of dates. This means that dates during 1900 *are* handled by libc, and so it does attempt to normalise the data and fill in missing values. For most of the fields in the structure whether or not mktime fills in or alters their value is of little consequence, as they're immediately overwritten by the call to PyArg_Parse. However the contents of the tm_gmtoff tm_zone fields are not overwritten. If the mktime call does nothing (as on a 32bit system) then tm_zone remains NULL throughout. If the mktime call does fill in missing values (as on 64bit systems) then tm_zone is set to the appropriate timezone for the zero time (the beginning of the year 1900). In our case this is always GMT, because the beginning of the year is in winter (when we use GMT). If tm_zone is set when the structure is passed into strftime then it is honoured. So if it has been set by mktime to be GMT then strftime will output GMT, regardless of the correct timezone string for the actual time provided. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue762963 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11218] pattern=None when following documentation for load_tests and unittest.main()
Changes by Michael Foord mich...@voidspace.org.uk: -- assignee: - michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11218 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7594] shlex refactoring
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 3.3 -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7594 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10530] distutils2 should allow the installing of python files with invalid syntax
Éric Araujo mer...@netwok.org added the comment: Config options are for when developers can't make decisions. I don’t understand. In packaging, a config file is central, as it contains the whole metadata, manifest and command options. Given that there are valid use cases please just allow it. If this was not clear: I agree with the feature request. Or maybe you meant allowing it by default? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10530 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10530] distutils2 should allow the installing of python files with invalid syntax
Michael Foord mich...@voidspace.org.uk added the comment: Yes, allowing it by default. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10530 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1612012] builtin compile() doc needs PyCF_DONT_IMPLY_DEDENT
Terry J. Reedy tjre...@udel.edu added the comment: Is this something that would actually be useful to someone using compile()? See #12207 also -- nosy: +terry.reedy versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1612012 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12332] Float division
Carmine Paolino paolino.carm...@alice.it added the comment: Thank you for your help. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12332 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10527] multiprocessing.Pipe problem: handle out of range in select()
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10527] multiprocessing.Pipe problem: handle out of range in select()
Dave Malcolm dmalc...@redhat.com added the comment: The analogous code within Modules/selectmodule.c uses #ifdef HAVE_POLL to guard the poll-using code, to support non-Windows platforms that don't have poll. Presumably a patch for this should do the same. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10527] multiprocessing.Pipe problem: handle out of range in select()
Dave Malcolm dmalc...@redhat.com added the comment: Also, I see that Modules/selectmodule.c has some painful-looking workarounds involving HAVE_BROKEN_POLL, which presumably would also be applicable here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6717] Some problem with recursion handling
Dino Viehland di...@microsoft.com added the comment: I ran into a similar issue and believe I have a simpler repro. I think the issue here might be that when you take a stack overflow inside of a sys.settrace handler that you can then later violate the stack depth. The attached test.py has no dependencies and crashes 3.x but works on 2.x. -- nosy: +dino.viehland Added file: http://bugs.python.org/file22365/test.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12335] pysetup create will clobber an existing setup.cfg
New submission from Barry A. Warsaw ba...@python.org: I have both a setup.py and a setup.cfg in my package. I wanted to use `pysetup create` to add the new packaging stanzas to my setup.cfg, but instead, pysetup clobbered everything. I think it should instead append (or prepend) the new stuff to the existing file. -- components: Library (Lib) messages: 138348 nosy: barry priority: normal severity: normal status: open title: pysetup create will clobber an existing setup.cfg versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11113] html.entities mapping dicts need updating?
Hans Peter de Koning h...@xs4all.nl added the comment: The reason I raised #12329 was that the v2.7.1 documentation in http://docs.python.org/library/htmllib.html#module-htmlentitydefs says: ... The definition provided here contains all the entities defined by XHTML 1.0 ... The only diff between the 252 HTML 4.01 and 253 XHTML 1.0 entities is apos. See http://www.w3.org/TR/html401/sgml/entities.html and http://www.w3.org/TR/xhtml1/dtds.html . -- nosy: +hp.dekoning ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12335] pysetup create will clobber an existing setup.cfg
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12335 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12313] make install misses packaging module
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11797] 2to3 does not correct reload
Torsten Landschoff t.landsch...@gmx.net added the comment: The other use case I see is to reload a module during debugging after changing the code. This is especially useful for big GUI applications. -- nosy: +torsten ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11797 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11113] html.entities mapping dicts need updating?
Hans Peter de Koning h...@xs4all.nl added the comment: BTW, the HTMLParser module (as well as html.parser in 3.x) does claim to parse both HTML and XHTML, see http://docs.python.org/library/htmlparser.html#module-HTMLParser . -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12313] make install misses packaging module
Barry A. Warsaw ba...@python.org added the comment: Nice to see my search didn't find this bug. ;) I already committed a change to install packaging, but you may want to revert that and commit the patch in this issue. I'll leave that for you to decide! -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12313 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12336] tkinter.test.test_ttk.test_widgets.test_select() failure on FreeBSD 6.4 3.x
New submission from STINNER Victor victor.stin...@haypocalc.com: test test_ttk_guionly failed -- Traceback (most recent call last): File /usr/home/db3l/buildarea/3.x.bolen-freebsd/build/Lib/tkinter/test/test_ttk/test_widgets.py, line 674, in test_select self.assertTrue(success) AssertionError: [] is not true http://www.python.org/dev/buildbot/all/builders/x86%20FreeBSD%206.4%203.x/builds/1579/steps/test/logs/stdio This buildbot is very slow. See also #11925 and #10736. -- components: Tests, Tkinter keywords: buildbot messages: 138353 nosy: haypo priority: normal severity: normal status: open title: tkinter.test.test_ttk.test_widgets.test_select() failure on FreeBSD 6.4 3.x versions: Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12336 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue762963] timemodule.c: Python loses current timezone
Paul Boddie p...@boddie.org.uk added the comment: I don't understand how this bug and its patches are still active. It's difficult for me to remember what I was doing in early 2007 when I started working on issue #1667546, but I can well imagine that it was in response to this and a number of related bugs. Looking at #1667546, it's clear that the work required to handle time zones is not at all as trivial as the patches attached to this issue appear to be. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue762963 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12328] multiprocessing's overlapped PipeConnection on Windows
sbt shibt...@gmail.com added the comment: Also, what is the rationale for the following change: -elif timeout == 0.0: +elif timeout == 0.0 and nleft != 0: return False If PeekNamedPipe() returns (navail, nleft) there are 3 cases: 1) navail 0: just return True 2) navail = nleft = 0: either pipe is empty or next message is empty so fall through to slow path to find out which. 3) navail = 0, nleft 0: a non-empty message is coming, but nothing is available yet. The check is a shortcut for case 3, although it probably never occurs. I've removed that check in the new patch, and added the unit tests to test_multiprocessing. There is infrastructure in _multiprocessing to handle Ctrl-C. Look for sigint_event in Modules/_multiprocessing/*. This could be the topic of a separate issue and patch. I will look in to it. -- Added file: http://bugs.python.org/file22366/pipe_poll_2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12328 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11113] html.entities mapping dicts need updating?
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1669539] Fix bug in os.path.join
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: -jongfoster ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1669539 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12337] Need real TextIOWrapper for stdin/stdout
New submission from Fan Decheng fandech...@gmail.com: Since -u is made default and binary stdio implemented in 3.2, many of my scripts cannot run directly in Python 3.2, because they expect \n from stdin, but on Windows \r\n is got. Since that binary stdio being default is necessary for features like CGI, what I am expecting is to get a real TextIOWrapper for stdin, so that I can still use my old code. Besides, type(sys.stdio) should no longer say TextIOWrapper, because TextIOWrapper implies the conversion from \r\n to \n. Steps to reproduce: In Python 3.2: import sys type(sys.stdin) class '_io.TextIOWrapper' sys.stdin.readline() a 'a\r\n' type(sys.stdout) class '_io.TextIOWrapper' Expected result: There should be some form of text support, such as textstream(sys.stdin).readline(). Also type(sys.stdin) should not say something like TextIOWrapper. Same for sys.stdout. -- components: IO messages: 138356 nosy: r_mosaic priority: normal severity: normal status: open title: Need real TextIOWrapper for stdin/stdout type: behavior versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12337 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com