[issue9073] Tkinter module missing from install on OS X 10.6.4
Ned Deily n...@acm.org added the comment: The Python 2 Tkinter has been renamed to tkinter in Python 3 and the lib-tk no longer exists. See http://docs.python.org/py3k/library/tkinter.html -- assignee: - ronaldoussoren components: +Macintosh nosy: +ned.deily, ronaldoussoren ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9073 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7645] test_distutils fails on Windows XP
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: It's just a data file missing from the .msi installer. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7645 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4047] test_run_abort triggers CrashReporter on MacOS X
Changes by Ned Deily n...@acm.org: -- assignee: - ronaldoussoren components: +Macintosh nosy: +ronaldoussoren versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4047 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9271] Python throws `IOError: [Errno 27] File too large' on long file names
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The file name is only 106 characters long, it's not too long. [Errno 27] File too large probably refers to a big file larger than 2Gb. Does your OS support large files? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9271 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9272] CGIHTTPServer poisons os.environ
New submission from anatoly techtonik techto...@gmail.com: When CGIHTTPServer prepares to start child CGI program it modifies global os.environ. This implicitly changes parents application state if it also relies on some of CGI environment variables. -- messages: 110418 nosy: techtonik priority: normal severity: normal status: open title: CGIHTTPServer poisons os.environ versions: Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9272 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9271] Python throws `IOError: [Errno 27] File too large' on long file names
Georg Brandl ge...@python.org added the comment: In any case, the error message comes from the operating system, not from Python, and I don't think we should introduce special cases here. -- nosy: +georg.brandl resolution: - wont fix status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9271 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9272] CGIHTTPServer poisons os.environ
Changes by anatoly techtonik techto...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file18024/9272.CGIHTTPServer-poisons-os.environ.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9272 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8988] import + coding = failure (3.1.2/win32)
gonegown nomedo...@gmail.com added the comment: @Amaury: error message for my bug was: SyntaxError: None and for your: ImportError: No module named b We've got at least two bugs in one testcase -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8988 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8988] import + coding = failure (3.1.2/win32)
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Then please tell us how to reproduce the SyntaxError case -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8988 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4047] test_run_abort triggers CrashReporter on MacOS X
Ronald Oussoren ronaldousso...@mac.com added the comment: Triggering the crash reporter is unavoidable. What we could do is print a warning that this will happen at the start of the test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4047 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue506100] commands.getstatusoutput(): cmd.exe support
Changes by Matthieu Labbé bugs.python@mattlabbe.com: -- nosy: +matthieu.labbe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue506100 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9269] Cannot pickle self-referencing sets
Antoine Pitrou pit...@free.fr added the comment: The test case in cycle.py tricks set into accepting mutable objects by creating a class with default __hash__. This falls into a category of don't do it. I beg to differ. There is a reason we allow people to define __hash__ and that's to define arbitrary hashable types (not only immutable ones). Furthermore, the default __hash__ (equivalent to id()) is also perfectly useful in some cases. And in object-oriented designs it is very common to have reference cycles. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9269 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5808] Subprocess.getstatusoutput Fails Executing 'dir' Command on Windows
Matthieu Labbé bugs.python@mattlabbe.com added the comment: I think this is a bug: The doc says Availability: UNIX. but it is *available* under Windows and gives an unexpected error message. I see several way to fix this: 1) Fix the doc: Supported only on UNIX. Behavior on other platforms is undefined. 2) Make subprocess.getstatusoutput (and subprocess.getoutput) unavailable on non-supported platforms. (Same behavior as the 'os' module.) 3) Make these convenience functions multiplatform using subprocess.Popen. I think the best thing to do is #3. What do you think? -- nosy: +matthieu.labbe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5808 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4697] Clarification needed for subprocess convenience functions in Python 3.0 documentation
Matthieu Labbé bugs.python@mattlabbe.com added the comment: I think Availability: UNIX is incorrect: it is *available* under Windows and gives an unexpected error message. See http://bugs.python.org/issue5808#msg110424 -- nosy: +matthieu.labbe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4697] Clarification needed for subprocess convenience functions in Python 3.0 documentation
Georg Brandl ge...@python.org added the comment: Well, available in this case can also mean that it doesn't work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4697 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9242] unicodeobject.c: use of uninitialized values
Stefan Krah stefan-use...@bytereef.org added the comment: Here is a minimal example how to reproduce this issue, extracted from UTF32LETest. valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python uninitialized.py It seems that in Lib/codecs.py the equivalent of \x00.decode('utf-32-le') is called (line 477). This leads to: PyUnicodeUCS2_DecodeUTF32Stateful (s=0x5b0fc0c , size=1, errors=0x5add144 strict, byteorder=0x7fefff39c, consumed=0x0) So we have a string of size 1, but s[2] and s[3] will be accessed in the function. -- Added file: http://bugs.python.org/file18025/uninitialized.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9242 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly
Ask Solem a...@opera.com added the comment: but if you make a blocking call such as in the following program, you'll get a hang Yeah, and for that we could use the same approach as for the maps. But, I've just implemented the accept callback approach, which should be superior. Maps/Apply fails instantly as soon as a worker process crashes, but the pool remains fully functional. Patch multiprocessing-tr...@82502-termination-trackjobs.patch added. There seems to be some race conditions left, because some of the tests breaks from time to time. Maybe you can pinpoint it before me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9205 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly
Changes by Ask Solem a...@opera.com: Added file: http://bugs.python.org/file18026/multiprocessing-tr...@82502-termination-trackjobs.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9205 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1475523] gettext breaks on plural-forms header
Mark Lawrence breamore...@yahoo.co.uk added the comment: Point taken I'll settle for PluralFormsTest unless there's a better idea. Assuming patch acceptance could a committer do this please? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1475523 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1100562] deepcopying listlike and dictlike objects
Mark Lawrence breamore...@yahoo.co.uk added the comment: I've made this a feature request as #1099746 title is copy.deepcopy barfs when copying a class derived from dict. Michelle can you confirm that you have run the unit tests and that all passed ok? -- nosy: +BreamoreBoy type: feature request - behavior versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100562 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1149798] hotshot.runctx: builtins missing
Mark Lawrence breamore...@yahoo.co.uk added the comment: I can't see any sense running with this as hotshot is not documented in py3k and is marked as unsupported in py2k docs. -- nosy: +BreamoreBoy status: open - pending versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1149798 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1173475] __slots__ for subclasses of variable length types
Mark Lawrence breamore...@yahoo.co.uk added the comment: How much rework if any is needed to get this patch into py3k? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1173475 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1207589] Right Click Context Menu
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +tjreedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1207589 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1214879] Support non-file source/dest in marshal
Mark Lawrence breamore...@yahoo.co.uk added the comment: Unless anyone expresses an interest I belive that this should be closed. -- nosy: +BreamoreBoy status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1214879 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9265] Incorrect name passed as arg[0] when shell=True and executable specified
Stefan Krah stefan-use...@bytereef.org added the comment: Ok, here's a more comprehensive test. Comments: 1) Instead of emulating 'which' one could use find_executable from distutils.spawn. But this feels wrong. 2) Skip the test if the primary issue cannot be tested. 3) Exercise the test for /bin/sh, if it isn't a symlink. Then this part will be executed on some systems, e.g. FreeBSD. 4) The check os.path.isfile('/bin/sh') isn't necessary, but good practice nonetheless. Should this go into 2.6 and 3.1 as well? -- Added file: http://bugs.python.org/file18027/issue9265-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9265 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1218234] inspect.getsource doesn't update when a module is reloaded
Jean-Paul Calderone exar...@twistedmatrix.com added the comment: Calling linecache.checkcache for every inspect.getsource call sounds like a fairly bad idea to me. linecache.checkcache does a stat() of every single cached file. -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1218234 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1327971] HTTPResponse instance has no attribute 'fileno'
Mark Lawrence breamore...@yahoo.co.uk added the comment: These patches are small and marked as easy, can they be accepted? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1327971 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1218234] inspect.getsource doesn't update when a module is reloaded
Jean-Paul Calderone exar...@twistedmatrix.com added the comment: linecache.checkcache does a stat() of every single cached file. Ah, sorry. I didn't read carefully enough. I see that the patch passes in the filename and checkcache restricts the work it does in that case. Something else to consider, though, is that this change means you'll also get the new source if you *don't* reload the module, too. So, what exactly is inspect.getsource() supposed to be doing? Giving you the current on-disk contents of the relevant source file? Or giving you the actual source corresponding to the object passed to it? If the latter, then this actually needs to be more tightly integrated with module reloading somehow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1218234 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9272] CGIHTTPServer poisons os.environ
Changes by R. David Murray rdmur...@bitdance.com: -- components: +Library (Lib) nosy: +orsenthil, r.david.murray type: - behavior versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9272 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1396946] %ehrntDRT support for time.strptime
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +belopolsky versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1396946 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9272] CGIHTTPServer poisons os.environ
anatoly techtonik techto...@gmail.com added the comment: Patch queue with other minor fixes you may consider useful http://bitbucket.org/techtonik/http.server-patches/qseries -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9272 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1410680] Add 'surgical editing' to ConfigParser
Mark Lawrence breamore...@yahoo.co.uk added the comment: As noone has shown any interest in this for over three years I suggest it is closed as rejected. Note also that #1371075 has been accepted and the OP's comments on msg49354. -- nosy: +BreamoreBoy status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1410680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4499] redefinition of TILDE macro on AIX platform
R. David Murray rdmur...@bitdance.com added the comment: The define in question by that name still exists in token.h in 3.x. I've added srid to nosy since as an AIX user he probably knows if this is a real problem or not, and Benjamin because he's done a lot with the parser. -- nosy: +benjamin.peterson, r.david.murray, srid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4499 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1410680] Add 'surgical editing' to ConfigParser
Éric Araujo mer...@netwok.org added the comment: I want to review and update the patches. I’ll probably have the time to do it in August/September. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1410680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1410680] Add 'surgical editing' to ConfigParser
Changes by Brian Curtin cur...@acm.org: -- assignee: - merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1410680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1410680] Add 'surgical editing' to ConfigParser
Éric Araujo mer...@netwok.org added the comment: Thanks Brian, I’d forgotten I could assign to me. I feel bound now wink -- versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1410680 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8252] add a metadata section in setup.cfg
Éric Araujo mer...@netwok.org added the comment: Update: PEP 390 is made obsolete by PEP 345, so the parts left unspecified are being worked out now. Starting point is proposals collected during PyCon 2010 and published here: http://bitbucket.org/carljm/sample-distutils2-project/src/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8252 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1428655] Use PyOS_snprintf for static buffers
Mark Lawrence breamore...@yahoo.co.uk added the comment: I'm torn by this one. Half of me says it's a good thing trying to be fail safe. The other half says it's work for something that hasn't yet happened. Any other views? -- nosy: +BreamoreBoy type: - feature request versions: -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1428655 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1432343] Description of file-object read() method is wrong.
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- assignee: - d...@python nosy: +d...@python versions: -Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1432343 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1479611] speed up function calls
Mark Lawrence breamore...@yahoo.co.uk added the comment: I'm not sure if this is worth pursuing given the way performance is so often governed by networking and/or IO issues today, bearing in mind comments like msg50163 and msg59872. I'd certainly like to see more comments from core developers. Could someone in the know please put them on the nosy list. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1479611 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1100562] deepcopying listlike and dictlike objects
Michele Orrù maker...@gmail.com added the comment: Yes. Anyway, to be sure, I've just re-checked on py3.2, py3.1 and py2.7 with last svn revision. I'm pretty sure all works well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100562 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1479611] speed up function calls
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I think Raymond might be interested. Since this is not a bug fix, it can only be considered for 3.x. -- nosy: +belopolsky, rhettinger versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1479611 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1498363] Improve super() objects support for implicit method calls
Mark Lawrence breamore...@yahoo.co.uk added the comment: msg50389 asked for this to be discussed on python-dev. I've searched the archives but didn't find anything obvious. Did I simply miss it or was it never discussed? -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1498363 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9272] CGIHTTPServer poisons os.environ
Eric Smith e...@trueblade.com added the comment: The change looks reasonable to me. It needs a test. -- nosy: +eric.smith stage: - unit test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9272 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9267] Update pickle opcode documentation in pickletools for 3.x
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Just a reminder to myself based on Mark's suggestion on IRC. In TUPLEN opcode documentation two-tuple and three-tuple are redundant in summary line. Can be replaced with just tuple without loss of clarity. See r82915. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9267 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1501979] syntax errors on continuation lines
Mark Lawrence breamore...@yahoo.co.uk added the comment: msg84825 asks if this is necessary. Strikes me as being six of one, half a dozen of the other. As few people have shown any interest I'm inclined to close this unless someone pops out of the woodwork. -- nosy: +BreamoreBoy status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1501979 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1726208] SimpleHTTPServer extensions_map
Eli Bendersky eli...@gmail.com added the comment: I would like to submit a patch here. However, a decision has to be reached as for what to do exactly. The most straightforward approach is remove the extension of types_map in the SimpleHTTPServer code. Is this acceptable, or are there hidden problems? -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1726208 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1513299] Clean up usage of map() in the stdlib
Mark Lawrence breamore...@yahoo.co.uk added the comment: msg69981 refers to #3390 which was closed fixed for has_key. As this is similar could this go into 3.2 subject to acceptance? The patch file is really a list of one line changes to get rid of map. -- nosy: +BreamoreBoy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1513299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5673] Add timeout option to subprocess.Popen
Reid Kleckner r...@mit.edu added the comment: I forgot that I had to tweak the test as well as subprocess.py. I did a .replace('\r', ''), but universal newlines is better. Looking at the open questions I had about the Windows threads, I think it'll be OK if the user follows the pattern of: proc = subprocess.Popen(...) try: stdout, stderr = proc.communicate(timeout=...) except subprocess.TimeoutExpired: proc.kill() stdout, stderr = proc.communicate() If the child process is deadlocked and the user doesn't kill it, then the file descriptors will be leaked and the daemon threads will also live on forever. I *think* that's the worst that could happen. Or they could of course wakeup during interpreter shutdown and cause tracebacks, but that's highly unlikely, and already possible currently. Anyway, I would say we can't avoid leaking the fds in that situation, because we can't know if the user will eventually ask us for the data or not. If they want to avoid the leak, they can clean up after themselves. What's the next step for getting this in? Thanks to those who've taken time to look at this so far. -- Added file: http://bugs.python.org/file18028/subprocess-timeout-v5.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9214] Most Set methods of KeysView and ItemsView do not work right
Changes by Eli Bendersky eli...@gmail.com: -- nosy: +eli.bendersky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9214 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1515142] sgmllib should recover from unmatched quotes
Mark Lawrence breamore...@yahoo.co.uk added the comment: sgmllib is deprecated, I'll close unless anybody objects. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1515142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9273] 2to to simultaneously do code AND doctests
New submission from Tiago Antao tiagoan...@gmail.com: Currently 2to3 has to be called twice in order to do a full code conversion: one for the code and another for the doctests. Would it be possible to do both things simultaneously (on passing a flag)? It would be nice if distutils.command.build_py.build_py_2to3 would also have this functionality (ie a single pass for both code and docutils) Thanks -- components: 2to3 (2.x to 3.0 conversion tool) messages: 110457 nosy: tiagoantao priority: normal severity: normal status: open title: 2to to simultaneously do code AND doctests ___ 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
[issue1428655] Use PyOS_snprintf for static buffers
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Most usages of sprintf here cannot cause buffer overruns: the output is bounded in size (%d, %8.8x, %.200s), and the buffer is large enough. Moreover, some of them were already replaced by functions of the _FromFormat() family, which can handle unicode for example. IMO the change is not worth it. -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1428655 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1428655] Use PyOS_snprintf for static buffers
Mark Lawrence breamore...@yahoo.co.uk added the comment: I'll close unless someone puts in a strong bid to keep this open. -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1428655 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1513299] Clean up usage of map() in the stdlib
Georg Brandl ge...@python.org added the comment: I'll have a look. -- assignee: anthonybaxter - georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1513299 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3657] pickle can pickle the wrong function
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Revision 68903 was merged in py3k in r68908. It looks like a similar issue shows up in test_random: == ERROR: test_pickling (test.test_random.MersenneTwister_TestBasicOps) -- Traceback (most recent call last): File /home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/test/test_random.py, line 107, in test_pickling state = pickle.dumps(self.gen) File /home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/pickle.py, line 1358, in dumps Pickler(f, protocol, fix_imports=fix_imports).dump(obj) _pickle.PicklingError: Can't pickle class 'random.Random': it's not the same object as random.Random See http://www.python.org/dev/buildbot/all/builders/amd64%20gentoo%203.1/builds/819/steps/test/logs/stdio -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3657 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue459007] Document sys.path on Windows
Changes by Matthieu Labbé bugs.python@mattlabbe.com: -- nosy: +matthieu.labbe ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue459007 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3657] pickle can pickle the wrong function
Antoine Pitrou pit...@free.fr added the comment: Revision 68903 was merged in py3k in r68908. It looks like a similar issue shows up in test_random: == ERROR: test_pickling (test.test_random.MersenneTwister_TestBasicOps) -- Traceback (most recent call last): File /home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/test/test_random.py, line 107, in test_pickling state = pickle.dumps(self.gen) File /home/buildbot/slave/py-build/3.1.norwitz-amd64/build/Lib/pickle.py, line 1358, in dumps Pickler(f, protocol, fix_imports=fix_imports).dump(obj) _pickle.PicklingError: Can't pickle class 'random.Random': it's not the same object as random.Random Actually, this might have to do with the fix I committed to test_threaded_import in r82885. In order for test_threaded_import to work, we have to unload the Guinea pig module before importing it from several threads at once. For whatever reason, test_threaded_import uses random as its Guinea pig module, which means random gets unloaded and reimported again. But at this point, I must admit I don't even understand the failure message. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3657 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9148] os.execve puts process to background on windows
Eric Smith e...@trueblade.com added the comment: I believe it's true that Windows does not offer process replacement. I'm sure you could perform some tricks by essentially writing your own loader, but the practical answer is no. It might be worth looking into how cygwin implements exec(). -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9148 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function
New submission from Eric Promislow er...@activestate.com: Similar to bug http://bugs.python.org/issue5215 which found a workaround in pdb. Here I want to use code.InteractiveInterpreter to modify code interactively (see Komodo bug http://bugs.activestate.com/show_bug.cgi?id=87405 ) I can do this at the top-level, but not inside a function. The attached file shows the problem: -- components: Interpreter Core files: bug87405a.py messages: 110464 nosy: ericp priority: normal severity: normal status: open title: code.InteractiveInterpreter fails to change locals when invoked in a function type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file18029/bug87405a.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9274 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9275] python 2.7 OS X installer no longer installs /usr/local/bin symlinks by default
New submission from Ned Deily n...@acm.org: For 2.7, the set of default installed packages for the OS installer was changed for some reason to no longer select the UNIX command-line tools package by default so the traditional symlinks in /usr/local/bin are not being created by default. This is a change in behavior from previous installers and the installer README files were not updated to reflect this change. Users are confused by this, see for example: http://stackoverflow.com/questions/3266005/why-arent-the-python-2-7-command-line-tools-located-in-usr-local-bin-on-mac-o/ Suggest reverting the change in behavior so that the symlinks are again installed by default. -- assignee: ronaldoussoren components: Installation, Macintosh messages: 110465 nosy: ned.deily, ronaldoussoren priority: normal severity: normal status: open title: python 2.7 OS X installer no longer installs /usr/local/bin symlinks by default versions: Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9275 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9267] Update pickle opcode documentation in pickletools for 3.x
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: From IRC: Sasha: What's the current status of pickling float inf, nan, -0.0, etc.? Mark: In py3k and release27-maint, there shouldn't be any issues with any of those. Same with release31-maint. In release26-maint, pickling infinities and nans on windows using protocol 0 is problematic. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9267 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9267] Update pickle opcode documentation in pickletools for 3.x
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- dependencies: +cPickle can misread data type ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9267 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9268] Add annotation option to pickletools.dis
Antoine Pitrou pit...@free.fr added the comment: Perhaps the annotations should be wrapped at 78 chars/line, for improved readability? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9268 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function
R. David Murray rdmur...@bitdance.com added the comment: Apparently I can't even see the activestate bug without creating an account there, so posting a link to it is not helpful. Please post more details about how you are calling InteractiveInterpreter and what the problem is that you are observing. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9274 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9268] Add annotation option to pickletools.dis
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Perhaps the annotations should be wrapped at 78 chars/line .. I don't know. With deeply nested pickles, annotations may not even start before column 80. I think further improvement in alignment and layout algorithms will show diminishing returns. If I were to invest an effort into this, I would share it with dis.dis. You can see how larger pickles look by running pickletools -a 27.bench with a pickle from issue5180. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9268 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3657] pickle can pickle the wrong function
Antoine Pitrou pit...@free.fr added the comment: It should be noted that, contrary to Amaury's suggestion, pickling random.seed fails under 3.x: pickle.dumps(random.seed) Traceback (most recent call last): File stdin, line 1, in module File /home/antoine/py3k/__svn__/Lib/pickle.py, line 1314, in dumps Pickler(f, protocol, fix_imports=fix_imports).dump(obj) _pickle.PicklingError: Can't pickle class 'method': attribute lookup builtins.method failed Furthermore, the original problem can also be reproduced under 3.x, using Amaury's trick: pickle.dumps(random.random) b'\x80\x03crandom\nrandom\nq\x00.' list(sys.modules.values())[0].random = random.random pickle.dumps(random.random) b'\x80\x03cheapq\nrandom\nq\x00.' I think a possible heuristic in whichmodule() would be, if __module__ is not found or None, to look for a __module__ attribute on __self__: random.random.__module__ random.random.__self__.__module__ 'random' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3657 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9274] code.InteractiveInterpreter fails to change locals when invoked in a function
Eric Promislow er...@activestate.com added the comment: I've modified the bug status so anyone can read it. You don't need an account to read ActiveState bugs, only to add or comment on one. Please note that I closed bug http://bugs.activestate.com/show_bug.cgi?id=87405, as we're now writing to frame-f_localsplus[] to make sure changes to locals stick. I logged a different bug on Komodo's dependence on this bug at http://bugs.activestate.com/show_bug.cgi?id=87417 - Here's how we run into this bug: In Komodo, while you're debugging, you can push an interactive shell, that uses the current state of the program. We build each block of code the user types in a variable called source, and try executing it like so: code.InteractiveInterpreter(locals()).runsource(source, console) In other words, we're letting the Python core do all the heavy lifting identifying multi-line stmts, indented blocks, etc. We've had problems with modifying local variables in the Python debugger for years (almost a decade now). I got a C extension working using frame-f_localsplus to make sure modifications are persisted, but noticed that changes in the interactive shell weren't being persisted. I distilled the code we use into the attached file, which shows that changes aren't being persisted here. I'm not an expert on core internals, but I suspect that python code locals() maps to C code frame-f_locals, and we still have the problem that inside functions, frame-f_locals is a temporary object that is rebuilt on each access. From what I've observed, frame-f_localsplus points to the actual items, and these are the pointers that need to be changed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9274 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3657] pickle can pickle the wrong function
Mark Dickinson dicki...@gmail.com added the comment: Antoine's fix in r82919 / r82920 fixes the test_random failure for me. (Before the fix, ./python.exe ./Lib/test/regrtest.py test___all__ test_threaded_import test_random was enough to produce the failure.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3657 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9276] pickle should support methods
New submission from Jean-Paul Calderone exar...@twistedmatrix.com: pickle doesn't support methods: class x: ... def y(self): ... pass ... import pickle pickle.dumps(x.y) Traceback (most recent call last): File stdin, line 1, in module File /home/exarkun/Projects/python/branches/py3k/Lib/pickle.py, line 1314, in dumps Pickler(f, protocol, fix_imports=fix_imports).dump(obj) _pickle.PicklingError: Can't pickle class 'function': attribute lookup builtins.function failed It would be easy to fix this, though. Here's a link to some code that implements it: http://twistedmatrix.com/trac/browser/trunk/twisted/persisted/styles.py?rev=1 -- components: Library (Lib) messages: 110473 nosy: exarkun priority: normal severity: normal status: open title: pickle should support methods type: feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9276 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue558238] Pickling bound methods
Antoine Pitrou pit...@free.fr added the comment: See also issue3657. For some reasons, C bound methods aliased as module globals can be pickled, but not similarly aliased Python bound methods: random.random, random.seed (built-in method random of Random object at 0x27abe20, bound method Random.seed of random.Random object at 0x27abe20) pickle.dumps(random.random) b'\x80\x03crandom\nrandom\nq\x00.' pickle.dumps(random.seed) Traceback (most recent call last): File stdin, line 1, in module File /home/antoine/py3k/__svn__/Lib/pickle.py, line 1314, in dumps Pickler(f, protocol, fix_imports=fix_imports).dump(obj) _pickle.PicklingError: Can't pickle class 'method': attribute lookup builtins.method failed -- assignee: loewis - nosy: +belopolsky, pitrou stage: - needs patch versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue558238 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: OK, can someone show me an example of how functions defined in core Python can be made available to extension modules? I thought I could model pytime.h/.c after pymath.h/.c, but the later is not used in extension modules. I must be missing something trivial here. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Antoine Pitrou pit...@free.fr added the comment: OK, can someone show me an example of how functions defined in core Python can be made available to extension modules? I thought I could model pytime.h/.c after pymath.h/.c, but the later is not used in extension modules. I must be missing something trivial here. You should just need to #include pytime.h from Include/Python.h. Actually, pymath.h is already included from there. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1100562] deepcopying listlike and dictlike objects
Mark Lawrence breamore...@yahoo.co.uk added the comment: Michele, thanks for your prompt response. I should of course have said I'm making this a behaviour type, sorry. alexandre, could you please comment on whether the patches are acceptable or not, thanks. -- nosy: +alexandre.vassalotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1100562 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: No it must be something else. Attached issue9079-fail.diff fails with Symbol not found: __PyTime_gettimeofday Referenced from: .../build/lib.macosx-10.4-x86_64-3.2-pydebug/datetime.so even though it is in pytime.o $ nm ./Python/pytime.o 09f0 s EH_frame1 T __PyTime_gettimeofday 0a08 S __PyTime_gettimeofday.eh U _gettimeofday U _time -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Added file: http://bugs.python.org/file18030/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Antoine Pitrou pit...@free.fr added the comment: Le vendredi 16 juillet 2010 à 19:51 +, Alexander Belopolsky a écrit : Alexander Belopolsky belopol...@users.sourceforge.net added the comment: No it must be something else. Attached issue9079-fail.diff fails with Here it fails earlier: gcc -pthread -c -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes-I. -IInclude -I./Include-DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c Python/pytime.c: In function ‘_PyTime_gettimeofday’: Python/pytime.c:37: erreur: storage size of ‘t’ isn’t known Python/pytime.c:38: attention : implicit declaration of function ‘ftime’ Python/pytime.c:37: attention : unused variable ‘t’ make: *** [Python/pytime.o] Erreur 1 make: *** Attente des tâches non terminées -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Antoine, you must be building on Windows. I'll try to guess where ftime is defined and repost the patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue459007] Document sys.path on Windows
Mark Lawrence breamore...@yahoo.co.uk added the comment: Tim, Brian I've added you to the nosy list as I think you could assist. Unless I get a response within the next 10 years I will close this as out of date -- nosy: +BreamoreBoy, brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue459007 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3657] pickle can pickle the wrong function
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: -tjreedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3657 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Georg Brandl ge...@python.org added the comment: I'd like to help diagnose but I don't know what Erreur 1 means. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue459007] Document sys.path on Windows
Éric Araujo mer...@netwok.org added the comment: Out of date seems an inaccurate status to me. Bugs may take weeks to years to be fixed. This one is tagged easy (according to amk in msg73954), so perhaps someone will have a go at it during a Bug Day or a spring, or one of the docs people will just do it (e.g. me after my summer job). -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue459007 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I fixed the ftime issue (I hope), but the build still fails. I did not test on Linux, but I tested on OSX with HAVE_FTIME. Replacing the failing patch. -- Added file: http://bugs.python.org/file18031/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file18030/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9277] test_struct failure on ARM
New submission from Mark Dickinson dicki...@gmail.com: test_struct currently fails on the ARM buildbots; see: http://www.python.org/dev//buildbot/builders/ARMv4%20Debian%203.x/builds/275/steps/test/logs/stdio == FAIL: test_bool (test.test_struct.StructTest) -- Traceback (most recent call last): File /home/pybot/buildarea-armeabi/3.x.klose-linux-armeabi/build/Lib/test/test_struct.py, line 521, in test_bool ExplodingBool()) % (prefix + '?')) AssertionError: Expected IOError: struct.pack('?', ExplodingBool()) -- components: Extension Modules keywords: buildbot messages: 110485 nosy: mark.dickinson priority: normal severity: normal status: open title: test_struct failure on ARM versions: Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9277 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue459007] Document sys.path on Windows
Éric Araujo mer...@netwok.org added the comment: s/spring/sprint/ :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue459007 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5673] Add timeout option to subprocess.Popen
Brian Curtin cur...@acm.org added the comment: The pattern you mention should probably be documented as an example, if that's how we intend for people to use it. Other than that, I've got nothing else here. -- assignee: - rnk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Removing spurious configure change from the fail patch. -- Added file: http://bugs.python.org/file18032/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: Removed file: http://bugs.python.org/file18031/issue9079-fail.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9277] test_struct failure on ARM
Mark Dickinson dicki...@gmail.com added the comment: I don't really know where to start with this. At the point of failure, struct.pack('?', ExplodingBool()) has already been tested (and presumably raised the expected IOError). Moreover, the struct module uses the same function, bp_bool, for packing with both '?' and '?', so it's a bit mystifying that one of these fails while the other passes. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9277 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1524639] Fix Tkinter Tcl-commands memory-leaks
Mark Lawrence breamore...@yahoo.co.uk added the comment: Given the current debate on python-dev regarding IDLE and its dependancy on tkinter, surely something as serious as a memory leak should be looked into. -- assignee: loewis - nosy: +BreamoreBoy, tjreedy type: - behavior versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1524639 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: It looks like my reluctance to add gettimeofday to core without using it there was well founded. Simply adding a dummy call to _PyTime_gettimeofday in main() fixed the build problem. This is a hack, of course, so I am still looking for suggestions on how to make this work. === --- Modules/python.c(revision 82921) +++ Modules/python.c(working copy) @@ -34,6 +34,8 @@ m = fpgetmask(); fpsetmask(m ~FP_X_OFL); #endif +struct timeval tv; +_PyTime_gettimeofday(tv); if (!argv_copy || !argv_copy2) { fprintf(stderr, out of memory\n); return 1; -- Added file: http://bugs.python.org/file18033/issue9079-builds.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1528167] Tweak to make string.Templates more customizable
Mark Lawrence breamore...@yahoo.co.uk added the comment: Anybody interested in this, if not I'll close it. -- nosy: +BreamoreBoy status: open - pending versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1528167 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Antoine Pitrou pit...@free.fr added the comment: It looks like my reluctance to add gettimeofday to core without using it there was well founded. Simply adding a dummy call to _PyTime_gettimeofday in main() fixed the build problem. It's rather strange. I'm sure we have external API functions which never get called in the core. Just a couple of attempts found one candidate: $ grep -r _PyImport_IsScript Modules/ Objects/ Python/ Include/ Python/import.c:1804:PyAPI_FUNC(int) _PyImport_IsScript(struct filedescr * fd) Include/import.h:43:PyAPI_FUNC(int) _PyImport_IsScript(struct filedescr *); -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9222] IDLE: Fix open/saveas 'Files of type' choices
Terry J. Reedy tjre...@udel.edu added the comment: gp, do you see any reason not to commit this? If not, could you do so? -- nosy: +gpolo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9222 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue459007] Document sys.path on Windows
Mark Hammond mhamm...@users.sourceforge.net added the comment: FWIW, I think the rules are fairly well explained in the comments in PC/getpathp.c; last time I looked at this, the only thing I couldn't really decide was where in the official docs these comments should be put (after reformatting and minor rewording etc) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue459007 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Antoine Pitrou pit...@free.fr added the comment: It looks like my reluctance to add gettimeofday to core without using it there was well founded. Simply adding a dummy call to _PyTime_gettimeofday in main() fixed the build problem. It's rather strange. I'm sure we have external API functions which never get called in the core. Just a couple of attempts found one candidate: Hmm, after thinking about it, what happens is that the C object file is not used at all, so it's probably optimized away by the linker. In any case, you could use the new API in Python/thread_pthread.h. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1533105] NetBSD build with --with-pydebug causes SIGSEGV
Mark Lawrence breamore...@yahoo.co.uk added the comment: msg29427 gives an inline patch to code. The patches attached are strictly to docs. Can we please have a staement as to the status of this issue so that we can go forward. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1533105 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9079] Make gettimeofday available in time module
Mark Dickinson dicki...@gmail.com added the comment: Hmm, after thinking about it, what happens is that the C object file is not used at all, so it's probably optimized away by the linker. That sounds right. I recall similar problems with pymath.c at one stage: none of the functions it defined was being used in the core, so it didn't get compiled into the python executable and the build failed similarly. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9079 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1555570] email parser incorrectly breaks headers with a CRLF at 8192
Mark Lawrence breamore...@yahoo.co.uk added the comment: There are repeated statements that this impacts on Django which I understand is high profile. Can we find the resources to review the patches and get things moving, none of the attached patch files are that large? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue170 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com