[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread John Levon
Changes by John Levon : -- nosy: +movement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue8237] multiprocessing.Queue() blocks program

2010-03-25 Thread Erdem U. Altinyurt
New submission from Erdem U. Altinyurt : multiprocessing.Queue() blocking program on my computer after adding 1400 entry (depending addition size). Tested with 2.6.2 and 2.6.5(compiled from source with gcc 4.4.1) Using 64 bit OpenSUSE 11.2. Output is: --- 1398 done 1399 done --

[issue8236] ./configure: ImportError: No module named asdl

2010-03-25 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : Added file: http://bugs.python.org/file16665/pyconfig.h ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue8236] ./configure: ImportError: No module named asdl

2010-03-25 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : Added file: http://bugs.python.org/file16664/config.log ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue6538] MatchObject is not a hyperlink in the 're' module documentation

2010-03-25 Thread Brian Curtin
Brian Curtin added the comment: Fixed in trunk (r79430), release26-maint (r79631), py3k (r79434), and release31-maint (r79435). Thanks for the patch. -- assignee: georg.brandl -> brian.curtin resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed type: -

[issue8236] ./configure: ImportError: No module named asdl

2010-03-25 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : I'm seeing this error with 2.6 and 3.1 maint branches (not sure about 2.7) on both Linux & Mac 32-bit builds. Does not happen on Linux 64-bit though. Also this is possibly caused by a recent commit, as we never saw this issue before. [...] creating Make

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Nir Aides added the comment: Uploaded an updated bfs.patch The latency problem was related to the --with-computed-gotos flag. I fixed it and it seems to work fine now. I also switched to gettimeofday() so it should work now on all Posix with high resolution timer. -- Added file: ht

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Changes by Nir Aides : Removed file: http://bugs.python.org/file16644/bfs.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue8235] Support FreeBSD's SO_SETFIB in socketmodule.c

2010-03-25 Thread Kyle VanderBeek
New submission from Kyle VanderBeek : FreeBSD has a [gs]etsockopt() constant used to cause a given socket to use an alternate routing table (FIB); it appeared in FreeBSD 7.1. It would be useful to have this exposed as a constant in the socket module to allow special routing rules in complex e

[issue3851] IDLE: Pressing "Home" on Windows places cursor before ">>>" instead of after. Solution offered.

2010-03-25 Thread Roger Serwy
Changes by Roger Serwy : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2010-03-25 Thread Roger Serwy
Roger Serwy added the comment: Rather than change the core code of IDLE, I've attached an extension to achieve terminal-like behavior. It provides a toggle to enable/disable. However, this extension as-is only works on the 2.x series, although it can be modified slightly to work on 3.x.

[issue8222] enabling SSL_MODE_AUTO_RETRY on SSL sockets

2010-03-25 Thread Bill Janssen
Bill Janssen added the comment: Looks like a good idea. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue8234] Spelling and text in howto/webservers

2010-03-25 Thread Yuv Gre
New submission from Yuv Gre : A spelling mistake ("recommentation") and a bit rephrasing for clarity. I think better can be done, but more text would have to be moved around. -- assignee: georg.brandl components: Documentation files: webservers_spelling.patch keywords: patch messages: 1

[issue8232] webbrowser.open incomplete on Windows

2010-03-25 Thread Brian Curtin
Brian Curtin added the comment: Minor correction: BackgroundBrowser gets used in this case, but it still lacks in the same area and causes what you are seeing. -- ___ Python tracker ___

[issue8229] Interpreter crash on application shutdown

2010-03-25 Thread tb220
tb220 added the comment: The application consists of three processes: Process A provides a web interface to the remote user and watchdog services for process B, which A creates by using the multiprocessing module. Process B does the real work and provides a GUI to the local user. Process A co

[issue8233] extend py_compile to compile files from stdin

2010-03-25 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- assignee: -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8233] extend py_compile to compile files from stdin

2010-03-25 Thread Piotr Ożarowski
Changes by Piotr Ożarowski : Added file: http://bugs.python.org/file16659/py_compile.py.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue8233] extend py_compile to compile files from stdin

2010-03-25 Thread Piotr Ożarowski
New submission from Piotr Ożarowski : Following issue 8140 - attached patches add functionality to take file names to be compiled from standard input in py_compile module (if '-' is the only parameter in args) -- components: Library (Lib) files: py_compile.py.diff keywords: patch messa

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Ok, I've finally been able to reproduce the issue by installing OpenSSL 0.9.8m on my Ubuntu box. By doing some debugging I'm starting to think that maybe there's something wrong with the shutdown() method implementation itself because no matter what, soone

[issue8232] webbrowser.open incomplete on Windows

2010-03-25 Thread Brian Curtin
Changes by Brian Curtin : -- title: webbrowser open(), open_new(), and open_new_tab() Broken Functionality -> webbrowser.open incomplete on Windows ___ Python tracker ___ ___

[issue8232] webbrowser open(), open_new(), and open_new_tab() Broken Functionality

2010-03-25 Thread Brian Curtin
Brian Curtin added the comment: On Windows, the WindowsDefault class gets used and it doesn't make use of anything other than the URL (no 'new' or 'autoraise'). All it does is pass the URL onto os.startfile. It should make a better attempt at running the URL. Patches welcome, or I'll try to

[issue7992] Backport capsule object

2010-03-25 Thread Brian Curtin
Brian Curtin added the comment: (adding myself to the nosy list as a Windows dev) -- nosy: +brian.curtin ___ Python tracker ___ ___ Py

[issue7992] Backport capsule object

2010-03-25 Thread Larry Hastings
Larry Hastings added the comment: Florent: that's because the Windows build projects don't build capsule.c. I don't have an appropriate Windows development environment; I'll try to fix them by hand tonight, but if that doesn't work we'll have to call for help from some Windows core developer

[issue8232] webbrowser open(), open_new(), and open_new_tab() Broken Functionality

2010-03-25 Thread Jonathan Chao
New submission from Jonathan Chao : webbrowser.open(), webbrowser.open_new(), and webbrowser.open_new_tab() all do the exact same thing, regardless of the flags that I set. In Firefox, open('www.google.com', new=0), open_new('www.google.com'), and open_new_tab('www.google.com') all open either

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Nir Aides added the comment: Well, on initial check the scheduler seems to work well with regular gettimeofday() wall clock instead of clock_gettime(). :) /* Return thread running time in seconds (with nsec precision). */ static inline long double get_thread_timestamp(void) { return get_t

[issue7992] Backport capsule object

2010-03-25 Thread Larry Hastings
Larry Hastings added the comment: This is also (naturally) being discussed on python-dev. I've posted a long message there about it; you can find that message here: http://mail.python.org/pipermail/python-dev/2010-March/098904.html I don't know whether it's best to conduct such a discussion

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-03-25 Thread Jeffrey Yasskin
Changes by Jeffrey Yasskin : -- nosy: +jyasskin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-03-25 Thread Jim Duchek
Jim Duchek added the comment: This is happening 'in the wild' to me fairly regularly. Since it's not hanging in python, I can't watchdog/kill the thread it's happening in. matejcik seems correct on fixing this, there's no need to unset the timeout here. -- nosy: +Jim.Duchek ___

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-03-25 Thread Dave Malcolm
Dave Malcolm added the comment: (adding diff from v3 to v4, for ease of review) -- Added file: http://bugs.python.org/file16657/diff-of-gdb7-hooks-v4-relative-to-v3.diff ___ Python tracker

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-03-25 Thread Dave Malcolm
Dave Malcolm added the comment: I'm attaching a new version of the patch (v4), against svn trunk (r79422) Changes since v3: * added support for PySetObject (set/frozenset) * added support for PyBaseExceptionObject (BaseException) * fixed a signed vs unsigned char issue that led to excepti

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2010-03-25 Thread Neil Muller
Neil Muller added the comment: More fleshed out doc patch. Mention caveats about using file descriptors directly, add note to ftruncate similar to that for other dangerous methods. -- Added file: http://bugs.python.org/file16655/fileno_doc.diff ___

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2010-03-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> georg.brandl components: +Documentation -Extension Modules nosy: +georg.brandl ___ Python tracker ___

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2010-03-25 Thread Neil Muller
Neil Muller added the comment: Fair enough. Possible doc patch attached. -- Added file: http://bugs.python.org/file16654/fileno_doc.diff ___ Python tracker ___ _

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-03-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-03-25 Thread Neil Muller
Neil Muller added the comment: And a py3k version (although the conversion can be improved). -- Added file: http://bugs.python.org/file16653/BaseHTTPServer_continue_3_py3k.patch ___ Python tracker

[issue8231] Unable to run IDLE without write-access to config directory

2010-03-25 Thread Brian Curtin
Brian Curtin added the comment: I just reproduced this by removing write access from my user for my home directory. It seems odd that you wouldn't have write access to your home directory in the first place, but that's tangent to the issue. I'll see if there are other acceptable locations to

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > What distribution and version of GNU/Linux are you using? $ cat /etc/mandriva-release Mandriva Linux release 2010.0 (Official) for x86_64 $ rpm -qv glibc glibc-2.10.1-6.2mnb2 $ uname -a Linux localhost 2.6.31.5-desktop-1mnb #1 SMP Fri Oct 23 00:05:22 EDT 2

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Nir Aides added the comment: > It's a dual-core Linux x86-64 system. But, looking at the patch again, the > reason is obvious: > > #define CHECK_SLICE_DEPLETION(tstate) (bfs_check_depleted || (tstate > >tick_counter % 1000 == 0)) > > `tstate->tick_counter % 1000` is replicating the behaviour of

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2010-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, I'm not sure it's a good idea. For example, calling os.ftruncate(fobj) on a py3k file object will bypass the object's internal buffering, ignoring any pending buffered data; the right thing to do is to call fobj.truncate() instead. It may be better

[issue1491] BaseHTTPServer incorrectly implements response code 100

2010-03-25 Thread Neil Muller
Neil Muller added the comment: Poking the issue with an updated patch for trunk. -- Added file: http://bugs.python.org/file16652/BaseHTTPServer_continue_3.patch ___ Python tracker __

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Please specify system and test details so I can try to look into it. It's a dual-core Linux x86-64 system. But, looking at the patch again, the reason is obvious: #define CHECK_SLICE_DEPLETION(tstate) (bfs_check_depleted || (tstate->tick_counter % 1000 == 0

[issue6544] Fix refleak in kqueue implementation

2010-03-25 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: This issue seems to have been fixed in r78386 (trunk), r79223 (2.6) and r78958 (py3k). It should be still backported to 3.1. -- nosy: +Arfrever ___ Python tracker

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2010-03-25 Thread Neil Muller
Changes by Neil Muller : Added file: http://bugs.python.org/file16651/posixmodule_comb.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue2768] os.fstat and other os.f* methods should use PyObject_AsFileDescriptor

2010-03-25 Thread Neil Muller
Neil Muller added the comment: Poking this issue with updated patches. Patch against py3k. -- Added file: http://bugs.python.org/file16650/posixmodule_comb_py3k.patch ___ Python tracker ___

[issue8231] Subprocess Startup Error - unable to create user config directory

2010-03-25 Thread cane
New submission from cane : When trying to run Python 2.6.5 & 3.1 IDLE GUI on Windows 7, I receive the following error that the "IDLE's subprocess didnt make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection." I've researched this error a

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Nir Aides added the comment: > Ouch. CLOCK_THREAD_CPUTIME_ID is not a required part of the standard. Only > CLOCK_REALTIME is guaranteed to exist. Right, however the man page at kernel.org says the following on CLOCK_THREAD_CPUTIME_ID: "Sufficiently recent versions of glibc and the Linux ker

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: Giampaolo, IMHO you need 0.9.8m to reproduce the issue. I installed it from the Debian testing repo (I'm on debian). ~ $ apt-cache policy openssl openssl: Installed : 0.9.8m-2 Candidate : 0.9.8m-2 Table de version : *** 0.9.8m-2 0 400 ftp://ftp.l

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: Patch ftplib/test_ftplib updated. It is as before (0.9.8k): SSL_ERROR_WANT_READ is ignored on connection unwrap(). -- Added file: http://bugs.python.org/file16648/issue8108_ftplib_ssl_098m_v2.diff ___ Python tracker

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Florent can you give me a clue on how to make python use OpenSSL 0.9.8k on Ubuntu? Despite I compiled and installed 0.9.8k from sources the system version keeps being 0.9.8g and I guess that Python is using that one. Do I have to recompile Python by using a

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Changes by Florent Xicluna : Removed file: http://bugs.python.org/file16641/issue8108_ftplib_ssl_098m.diff ___ Python tracker ___ ___ Python-bu

[issue6231] ElementInclude may drop text

2010-03-25 Thread Neil Muller
Neil Muller added the comment: Similiarly updated patch against current trunk -- Added file: http://bugs.python.org/file16647/ElementInclude.diff ___ Python tracker ___ _

[issue6231] ElementInclude may drop text

2010-03-25 Thread Neil Muller
Neil Muller added the comment: It looks like this issue was missed in the recent ElementTree update. Attached is an updated diff for py3k. -- nosy: +flox Added file: http://bugs.python.org/file16646/ElementInclude_py3k.diff ___ Python tracker

[issue8229] Interpreter crash on application shutdown

2010-03-25 Thread Brian Curtin
Brian Curtin added the comment: Are you running a service? I can't say I'm too familiar with the file you uploaded, but the file contains a few things that lead me to believe you may be. As David said, it would be helpful to know what you were doing. -- nosy: +brian.curtin __

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I use clock_gettime() to get the thread running time to calculate slice > depletion. Ouch. CLOCK_THREAD_CPUTIME_ID is not a required part of the standard. Only CLOCK_REALTIME is guaranteed to exist. By the way, it's not obvious cpued tests anything meaning

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: You're right, there's no need to catch the socket error in "ftplib" module. Here is the result of the "debugging" patch in the console: $ ./python -m test.regrtest -uall test_ftplib test_ftplib success success success success success success success success 2

[issue7992] Backport capsule object

2010-03-25 Thread STINNER Victor
STINNER Victor added the comment: PyCapsule comes from issues #5630 and #5872. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-

[issue5872] New C API for declaring Python types

2010-03-25 Thread Gerhard Häring
Changes by Gerhard Häring : -- nosy: +ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue8032] Add gdb7 hooks to make it easier to debug Python

2010-03-25 Thread David Fraser
Changes by David Fraser : -- nosy: +davidfraser ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Changes by Nir Aides : Removed file: http://bugs.python.org/file16567/linux-7946.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Changes by Nir Aides : Removed file: http://bugs.python.org/file16634/bfs.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-25 Thread Nir Aides
Nir Aides added the comment: I upload an updated bfs.patch. Apply to updated py32 and ignore the error with: $ patch -fp1 < bfs.patch $ ./configure > Please give understandable benchmark numbers, including an explicit > comparison with baseline 3.2, and patched 3.2 (e.g. gilinter.patch) Bel

[issue7992] Backport capsule object

2010-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: (if you want to be perfectionist, you can have those modules provide both a PyCObject and a PyCapsule interface...) -- ___ Python tracker ___ _

[issue7992] Backport capsule object

2010-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: As Marc-André pointed out, you shouldn't have converted old uses of PyCObject. It breaks compatibility, and I don't think there's any point since 2.7 will probably be the last in the 2.x line. -- nosy: +lemburg, pitrou ___

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Florent, you shouldn't need to silence socket.error at this level. I think what needs to happen is that, when unwrap() fails in SSLConnection.close(), handle_read() and handle_write() retry the unwrap() call. That's what I gather from the explanation of the n

[issue8230] Lib/test/sortperf.py fails to run

2010-03-25 Thread Patrick Sabin
New submission from Patrick Sabin : There is a test file Lib/test/sortperf.py, which isn't properly updated to python3, because it considers map and range returning a list instead of an iterator and therefore throwing an exception when run. I have attached a patch to fix it. -- compone

[issue6081] str.format_from_mapping()

2010-03-25 Thread Eric Smith
Eric Smith added the comment: It occurs to me that Raymond's use case could be satisfied using existing Python, by slightly changing the format string. After all, str.format() supports mapping lookup already: $ ./python.exe Python 2.6.5+ (release26-maint:79421, Mar 25 2010, 08:51:39) [GCC 4.2

[issue7992] Backport capsule object

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: All windows buildbots fail to compile: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%20trunk http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%20trunk http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%20trunk -- keyw

[issue8229] Interpreter crash on application shutdown

2010-03-25 Thread R. David Murray
R. David Murray added the comment: A recipe for reproducing the problem would be the most useful thing. I suspect the windows error report is pretty much useless in this context. -- nosy: +r.david.murray priority: -> normal stage: -> test needed

[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

2010-03-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > > MaL> The patch you checked in still unconditionally overrides the > MaL> CFLAGS setting applied by AC_PROG_CC in case no CFLAGS variable > MaL> is set. > MaL> > MaL> The issue now is: AC_PROG

[issue8224] subprocess.Popen raises WindowsError if there is a dot in program name

2010-03-25 Thread Eric Smith
Eric Smith added the comment: I agree with David that this is a Windows problem. I copied xcopy.exe into a local directory as xcopy.exe and xcopy.a.exe. When running this VBScript, the first line runs, the second gives me an error 0x8007002, "The system could not find the file specified". WS

[issue8214] Add exception logging function to syslog module

2010-03-25 Thread Eric Smith
Eric Smith added the comment: Here's a version that would be more analogous to what the C implementation would look like. It uses a class instead of a closure to capture the "chain" value. The 2 exposed functions syslog_exception and enable_exception_logging are the new APIs in this proposal,

[issue8214] Add exception logging function to syslog module

2010-03-25 Thread Eric Smith
Eric Smith added the comment: Ah, I see. Yes, logexceptions needs a better name. Maybe enable_exception_logging. -- ___ Python tracker ___ __

[issue8214] Add exception logging function to syslog module

2010-03-25 Thread STINNER Victor
STINNER Victor added the comment: > I'm not sure which second function you mean. "logexceptions" which replaces sys.excepthook. "log_exception" and "log_exceptions" are very close. cgitb has a function "enable" which sets sys.excepthook. -- ___ Py

[issue8229] Interpreter crash on application shutdown

2010-03-25 Thread tb220
tb220 added the comment: Please let me know how I can provide you with additional information. -- ___ Python tracker ___ ___ Python-bu

[issue8214] Add exception logging function to syslog module

2010-03-25 Thread Eric Smith
Eric Smith added the comment: >> Once it's moved into syslog, maybe syslog_exception named >> syslog.log_exception. That's "should be named", of course. Although on second thought maybe syslog.syslog_exception really is the right name, to mirror syslog.syslog. > In that case, how would be ca

[issue8214] Add exception logging function to syslog module

2010-03-25 Thread STINNER Victor
STINNER Victor added the comment: > Once it's moved into syslog, maybe syslog_exception named > syslog.log_exception. In that case, how would be called the second function? Can write a patch with an unit test? -- ___ Python tracker

[issue8214] Add exception logging function to syslog module

2010-03-25 Thread Eric Smith
Eric Smith added the comment: Good point. So that makes the implementation more like: import traceback import syslog import sys def syslog_exception(etype, evalue, etb): # The result of traceback.format_exception might contain # embedded newlines, so we have the nested loops. for l

[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

2010-03-25 Thread STINNER Victor
STINNER Victor added the comment: MaL> The patch you checked in still unconditionally overrides the MaL> CFLAGS setting applied by AC_PROG_CC in case no CFLAGS variable MaL> is set. MaL> MaL> The issue now is: AC_PROG_CC no longer initializes CFLAGS MaL> if not set. Sorry, but I don't understa

[issue8229] Interpreter crash on application shutdown

2010-03-25 Thread tb220
Changes by tb220 : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue8229] Interpreter crash on application shutdown

2010-03-25 Thread tb220
New submission from tb220 : Attached the error report generated by Windows. The problem occurs in 1 out of 10 shutdowns. -- components: Interpreter Core, Windows files: cabb_appcompat.txt messages: 101679 nosy: tb220 severity: normal status: open title: Interpreter crash on application

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Florent Xicluna
Florent Xicluna added the comment: I don't know if it is better to fix it in the ftplib or the ssl module. The previous patch fixes it at the SSL level (stdlib only). This patch implements the fix at the ftplib level (stdlib + test). -- Added file: http://bugs.python.org/file16641/issu

[issue8108] test_ftplib fails with OpenSSL 0.9.8m

2010-03-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: @Antoine Pitrou: ok, I think I'll have to be able to replicate the error in order to try to fix this. I'm gonna try on FreeBSD and another Linux box later today. -- ___ Python tracker

[issue6543] traceback presented in wrong encoding

2010-03-25 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Storing unicode in c_filename would not solve the problem: "surrogateescape" characters are not printable. There is no need to support non-decodable filenames in the import mechanism. -- ___ Python tracker

[issue8228] pprint, single/multiple items per line parameter

2010-03-25 Thread Dmitry Chichkov
Dmitry Chichkov added the comment: Quick, dirty and utterly incorrect patch that works for me. Includes issue_5131.patch (defaultdict support, etc). Targets trunk (2.6), revision 77310. -- keywords: +patch Added file: http://bugs.python.org/file16640/issue_8228.dirty.patch __

[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

2010-03-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > >> I commited my patch: r79392 (trunk). I'm waiting for the buildbots before >> porting to other branches :-) > > The buildbots look happy => r79401 (py3k), blocked in 2.6 and 3.1 > > The is

[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

2010-03-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > STINNER Victor added the comment: > > MaL> It unconditionally overrides CFLAGS - even if it is not > MaL> set and defined by AC_PROG_CC as "-g -O2". That would need > MaL> to be corrected. > MaL> > MaL> Other than that it does