[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Fix verified for 3.1 and py3k(3.2). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8067 ___ ___

[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

2010-03-09 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8067 ___ ___

[issue8094] Multiprocessing infinite loop

2010-03-09 Thread Benjamin VENELLE
New submission from Benjamin VENELLE kai...@gmail.com: Hi, The following code results in an infinite loop -- # import multiprocessing def f(m): print(m) p = multiprocessing.Process(target=f, args=('pouet',)) p.start() # I've firstly think about an issue in my code when

[issue8095] test_urllib2 crashes on OS X 10.3 attempting to retrieve network proxy configuration

2010-03-09 Thread Ned Deily
New submission from Ned Deily n...@acm.org: The current mechanism for urllib and urllib2 on OS X to retrieve network proxy information is to call _scproxy.c to query the OS X SystemConfiguration Framework. _scproxy.c uses a schema key, kSCPropNetProxiesExcludeSimpleHostnames, that was

[issue8095] test_urllib2 crashes on OS X 10.3 attempting to retrieve network proxy configuration

2010-03-09 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Added file: http://bugs.python.org/file16508/Python.crash.log ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8095 ___

[issue8096] locale.format_string fails on mapping keys

2010-03-09 Thread Marcel Tschopp
New submission from Marcel Tschopp m...@polynorm.ch: locale.format_string doesn't return same result as a normal string % format directive, but raises a TypeError. locale.format_string('%(key)s', {'key': 'Test'}) Traceback (most recent call last): File stdin, line 1, in module File

[issue8095] test_urllib2 crashes on OS X 10.3 attempting to retrieve network proxy configuration

2010-03-09 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I don't have a 10.3 system to test on, and definitely don't want to spent effort on enabling compiles on 10.3 The patch below would probably fix the crash when running a binary created on 10.4 or later on osx 10.3: Index:

[issue8097] bug in modulefinder: import_hook() got an unexpected keyword argument 'level'

2010-03-09 Thread Andreas Pfeiffer
New submission from Andreas Pfeiffer andreas.pfeif...@cern.ch: Hi, the attached file (moduleFinderBug.py) crashes in python 2.6 on linux (RedHat EL 5) and Mac OS X (10.6) with the traceback below. A possible fix for this would be in modulefinder.py: 323c323

[issue8091] TypeError at the end of 'make test'

2010-03-09 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8091 ___ ___

[issue8094] Multiprocessing infinite loop

2010-03-09 Thread Benjamin VENELLE
Benjamin VENELLE kai...@gmail.com added the comment: Sorry I've not made clear my working platform. Yes, I'm running Python 3.1.1 32 bit on a Windows 7 x64. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8094

[issue8083] urllib proxy interface is too limited

2010-03-09 Thread Dominique Leuenberger
Dominique Leuenberger dominique.leuenber...@gmail.com added the comment: I like the idea of having the proxy handler expanded. In fact I suggest to base the idea on libproxy ( http://code.google.com/p/libproxy ) which is available on Linux / openSolaris / Windows and Mac (currently). Libproxy

[issue8098] PyImport_ImportModuleNoBlock() may solve problems but causes others.

2010-03-09 Thread Graham Dumpleton
New submission from Graham Dumpleton graham.dumple...@gmail.com: Back in time, the function PyImport_ImportModuleNoBlock() was introduced and used in modules such as the time module to supposedly avoid deadlocks when using threads. It may well have solved that problem, but only served to cause

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

2010-03-09 Thread Asheesh Laroia
Asheesh Laroia ashe...@asheesh.org added the comment: Er, ignore my comment then! If this is reviewed, can it get committed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6538 ___

[issue7755] copyright clarification for audiotest.au

2010-03-09 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Hi Martin, Conventional wisdom on #python-dev is that you have a Solaris machine that you could test this on. Can you do that? I'd like to get this patch into 2.6.6 if it works. -- assignee: - loewis keywords: +needs review nosy:

[issue6656] locale.format_string fails on escaped percentage

2010-03-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I meant issue 8096. -- nosy: +mtschopp ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6656 ___

[issue6656] locale.format_string fails on escaped percentage

2010-03-09 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6656 ___ ___ Python-bugs-list mailing list

[issue8056] Piped parent's multiprocessing.Process children cannot write to stdout

2010-03-09 Thread Vilnis Termanis
Vilnis Termanis vilnis.terma...@googlemail.com added the comment: I tried to reproduce / narrow-down the cause of this with a debug build in a VM but couldn't reproduce the behaviour (neither with debug nor with standard 2.6.4 binary). I have to conclude that there is something perculiar with

[issue6656] locale.format_string fails on escaped percentage

2010-03-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Eric, the patch for this issue contains a fix for issue 8094. The only reason I haven't applied it is the fear of breaking existing correct behavior because there aren't enough tests. Maybe you can see an easy way to reuse the % test

[issue8094] Multiprocessing infinite loop

2010-03-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Are you running this on windows? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8094 ___

[issue7755] copyright clarification for audiotest.au

2010-03-09 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Or maybe this one :) -- Added file: http://bugs.python.org/file16510/guido.au ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7755 ___

[issue8096] locale.format_string fails on mapping keys

2010-03-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See issue 6656. This bug isn't a quite a duplicate of that bug, but I did discover (and fix) the bug this one reports in the process of creating a patch for that one, so I'm closing this one as a duplicate anyway. -- nosy:

[issue6656] locale.format_string fails on escaped percentage

2010-03-09 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6656 ___ ___ Python-bugs-list

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2010-03-09 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@divmod.com added the comment: Why is the Microsoft CRT argument error handler no longer disabled? -- nosy: +exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8036

[issue8097] bug in modulefinder: import_hook() got an unexpected keyword argument 'level'

2010-03-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Unless I'm missing something, this appears to be a bug in your code. You redefine import_hook in your subclass, but you don't give it a level parameter. -- components: +Library (Lib) -Extension Modules nosy: +r.david.murray

[issue6656] locale.format_string fails on escaped percentage

2010-03-09 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6656 ___ ___ Python-bugs-list mailing list

[issue6656] locale.format_string fails on escaped percentage

2010-03-09 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Eric, the patch for this issue contains a fix for issue 8096. The only reason I haven't applied it is the fear of breaking existing correct behavior because there aren't enough tests. Maybe you can see an easy way to reuse the % test

[issue5099] subprocess.POpen.__del__() AttributeError (os module == None!)

2010-03-09 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox versions: +Python 3.2 -Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5099 ___

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-09 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Thanks for the fix guys. I believe this means it's no longer a blocker for 2.6.5rc2, right? -- priority: release blocker - high versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org

[issue8094] Multiprocessing infinite loop

2010-03-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The restriction that imposes the __name__= '__main__' idiom also applies when multiprocessing is not used in the main module. Actually the main module is always reloaded in the subprocess. The docs should be more explicit about it.

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2010-03-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: 2.6 and 3.0.1 used to disable the Microsoft CRT argument error handler: they return EINVAL, but newer versions don't, and should check their arguments before calling _spawnv. FWIW, the checks are:: pathname != NULL *pathname

[issue8036] Interpreter crashes on invalid arg to spawnl on Windows

2010-03-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Because this is a global setting for the whole process. This was discussed with issue4804. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8036

[issue8092] utf8, backslashreplace and surrogates

2010-03-09 Thread Walter Dörwald
Walter Dörwald wal...@livinglogic.de added the comment: After the patch the comment: /* Implementation limitations: only support error handler that return bytes, and only support up to four replacement bytes. */ no longer applies. Also I would like to see a version of this patch where the

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-09 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've commited a fix for 2.6 in r78813. I will port that fix to 3.1 later today, but don't have time to test right now. My fix is simular to the patch by Ned. -- ___ Python tracker

[issue8096] locale.format_string fails on mapping keys

2010-03-09 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: There's definitely some weirdness going on with handling mapping keys. I'll look at it. -- assignee: - eric.smith keywords: +easy nosy: +eric.smith priority: - normal stage: - needs patch ___

[issue8091] TypeError at the end of 'make test'

2010-03-09 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- resolution: - duplicate status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8091 ___

[issue8091] TypeError at the end of 'make test'

2010-03-09 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- stage: - committed/rejected status: open - pending superseder: - subprocess.POpen.__del__() AttributeError (os module == None!) type: - behavior ___ Python tracker rep...@bugs.python.org

[issue8094] Multiprocessing infinite loop

2010-03-09 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +Documentation -Library (Lib) priority: - normal stage: - needs patch type: crash - behavior versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue8099] IDLE(Python GUI) Doesn't open

2010-03-09 Thread Estroms
New submission from Estroms tuomas.engst...@gmail.com: I downloaded Python 3.1 yesterday. I can open the Python command line, but when i press IDLE(Python GUI)shortcut no window or program opens. i typed to command promt C:\Python31\lib\idlelib\idle.py and got an error message. It's too long

[issue8090] PEP 4 should say something about the standard library

2010-03-09 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- priority: - low stage: - needs patch type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8090 ___

[issue8093] IDLE processes don't close

2010-03-09 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I reproduced this with 3.1.1 on xp. It took a while to get the shell menu to restart as the calculation process is hogging the cpu 99%. KeyboardInterrupt (^C) would not stop the runaway process. There may have been other issues about this.

[issue8100] `configure` incorrectly handles empty OPT variable

2010-03-09 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: The comment in configure.in says that some changes aren't applied to OPT variable when OPT variable has been set by the user, but they are applied when empty OPT has been explicitly set. The attached patch fixes

[issue6943] setup.py fails to find headers of system libffi

2010-03-09 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: I noticed suboptimal output of `configure`: checking for --with-libs... no checking for --with-system-expat... yes checking for --with-system-ffi... checking for x86_64-pc-linux-gnu-pkg-config... no checking for

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Almost! There's a small but significant typo that needs to be fixed in the change (r78813) that was committed for 2.6: - UNIVERSAL_ARCH64_FLAGS=-arch x86_64 -arch x86_64 + UNIVERSAL_ARCH64_FLAGS=-arch x86_64 -arch ppc64 --

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Ned Batchelder
New submission from Ned Batchelder ned...@users.sourceforge.net: 2.6.4 had been working fine for me. Today, though, it will not stay up. I run the Django development server on Windows 7, and 2.6.4 is repeatedly crashing on me: This application has requested the Runtime to terminate it in an

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-09 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- priority: high - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___ ___

[issue7772] test_py3kwarn fails when running the whole test suite

2010-03-09 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Fixed with r78815. Issue #7092 should silence py3k warnings (soon). Next step is to activate -3 on some buildbot. -- assignee: - flox dependencies: -Test suite emits many DeprecationWarnings when -3 is enabled priority: -

[issue8099] IDLE(Python GUI) Doesn't open

2010-03-09 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: What should I do? Unset the the TCL_LIBRARY and TK_LIBRARY environment variables, and report whether it helped. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Where did you get your copy of Python from? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8101 ___

[issue8102] test_distutils fails on 2.6.5rc1: No module named setuptools_build_ext

2010-03-09 Thread Ned Deily
New submission from Ned Deily n...@acm.org: Current 2.6.5rc1+ building on OS X: == ERROR: test_setuptools_compat (distutils.tests.test_build_ext.BuildExtTestCase)

[issue8102] test_distutils fails on 2.6.5rc1: No module named setuptools_build_ext

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: (I should add that this appears to be simply a missing test file. There is no indication that distutils itself has a problem.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8102

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Ned Batchelder
Ned Batchelder ned...@users.sourceforge.net added the comment: I got it from python.org, the .msi Windows installer: 03/02/10 05:27:37p 14,890,496 \kit\python-2.6.4.msi -- ___ Python tracker rep...@bugs.python.org

[issue8100] `configure` incorrectly handles empty OPT variable

2010-03-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: - low stage: - patch review type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8100 ___

[issue8102] test_distutils fails on 2.6.5rc1: No module named setuptools_build_ext

2010-03-09 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: This file was added in r75256. Are you sure you miss that test file ? -- priority: - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8102

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Ned Batchelder
Ned Batchelder ned...@users.sourceforge.net added the comment: I tried rebooting my PC, but the problem persists. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8101 ___

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: That's very strange. I'm fairly certain there is no GCC code whatsoever in my Python msi distribution. So you must be picking up some other code. Are you sure you are not running a Cygwin copy of Python or some such? --

[issue8103] threading.start() : unable to restart thread

2010-03-09 Thread Benjamin VENELLE
New submission from Benjamin VENELLE kai...@gmail.com: Hi, I've found a bug in threading module. self._started event is never cleared when thread terminates. So, at line 452, in start() function, the test if self._started.is_set(): prevents any restart. PS: I saw this bug in Python 3.1.1 32

[issue7037] test_asynchat fails on os x 10.6

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Still failing as of 2.6.5rc1. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7037 ___ ___

[issue7040] test_smtplib fails on os x 10.6

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Still failing as of 2.6.5rc1. -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7040 ___ ___

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Perhaps this is an issue in a 3rd-party extension module? (Given that you're running Django, do you have a 3rd-party database connection module?; the last message in the log is Validating models, does that require Django to go to the db to

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Dave: it's indeed entirely possible that this is caused by an extension module. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8101

[issue8102] test_distutils fails on 2.6.5rc1: No module named setuptools_build_ext

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: The file is the source tree but it doesn't seem to get installed in the framework which is where the tests are being run from: /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/tests$ ls -l setuptools* -rw-rw-r-- 1 root admin

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread Ned Batchelder
Ned Batchelder ned...@users.sourceforge.net added the comment: Yup, you're both right! I had a C extension (for coverage.py) built for 2.5 in the 2.6 path. Sorry for the false alarm. -- status: open - closed ___ Python tracker

[issue8103] threading.start() : unable to restart thread

2010-03-09 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +easy nosy: +jnoller priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8103 ___

[issue8101] w32-shared-ptr.c assertion on Windows 7 with 2.6.4

2010-03-09 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: - normal resolution: - invalid stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8101 ___

[issue8103] threading.start() : unable to restart thread

2010-03-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: By design, a thread object can be started only once: http://docs.python.org/library/threading.html#threading.Thread.start You should create another threading.Thread object. -- nosy: +amaury.forgeotdarc resolution: - invalid

[issue6953] readline documenation needs work

2010-03-09 Thread stefanholek
stefanholek ste...@epy.co.at added the comment: To be zero-based, get_history_item would need to look like: diff --git a/rl/readline.c b/rl/readline.c index 33e9905..800bc00 100644 --- a/rl/readline.c +++ b/rl/readline.c @@ -559,7 +559,7 @@ get_history_item(PyObject *self, PyObject *args)

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-09 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Ned: I fixed the typo in r78816 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___

[issue6953] readline documenation needs work

2010-03-09 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: On Tue, Mar 9, 2010 at 4:24 PM, stefanholek rep...@bugs.python.org wrote: .. To be zero-based, get_history_item would need to look like: .. +       if ((hist_ent = history_get(history_base + idx))) Did you test this with

[issue8100] `configure` incorrectly handles empty OPT variable

2010-03-09 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- versions: -Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8100 ___

[issue6943] setup.py fails to find headers of system libffi

2010-03-09 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Applied in r78819. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6943 ___ ___

[issue8100] `configure` incorrectly handles empty OPT variable

2010-03-09 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8100 ___

[issue6953] readline documenation needs work

2010-03-09 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Changing get_history_item to be 0-based would be a backward incompatible change. The point of my report is that the documentation of the readline documentation should mention how the APIs actually behave, you currently have to hunt down

[issue8095] test_urllib2 crashes on OS X 10.3 attempting to retrieve network proxy configuration

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: OK, I tried the patch. Reversing the default sense causes the proxy tests in test_urllib2 to fail on 10.6 et al. So I changed the sense of the tests in the patch to match previous behavior; the modified patch is attached. Unfortunately, it didn't

[issue8065] Memory leak in readline.get_current_history_length

2010-03-09 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I my experience, reporting bugs in open source components of OSX to bugreport.apple.com is a waste of time. Such reports are largely ignored and they are not visible to upstream developers. I believe the upstream for

[issue8089] 2.6/3.1 32-bit/64-bit universal builds always run in 64-bit on 10.6

2010-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Looks good for 2.6.5 (with 10.6 'intel' build). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8089 ___

[issue8065] Memory leak in readline.get_current_history_length

2010-03-09 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file16480/smime.p7s ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8065 ___

[issue8065] Memory leak in readline.get_current_history_length

2010-03-09 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Without filing a bug Apple won't know that something is wrong and they will definitly not fix the issue. If you file an issue and post the radar number I'll ping the Python maintainer inside Apple. There's little change that this will

[issue8065] Memory leak in readline.get_current_history_length

2010-03-09 Thread Alexander Belopolsky
Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I submitted two bug reports: 7734961 libedit history_truncate_file () fails to preserve magic line Mac OS X Other Bug 09-Mar-2010 05:48 PM Open 7734839 libedit read_history() does not update history_length Mac OS X Other

[issue7300] Unicode arguments in str.format()

2010-03-09 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: PyString_Format() uses a goto unicode; if a '%c' or '%s' argument is unicode. The unicode label converts the partial formatted result (byte string) to unicode, and use PyUnicode_Format() to finish to formatting. I don't think that

[issue7300] Unicode arguments in str.format()

2010-03-09 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: *Draft* patch fixing the issue: render_field() raises an error if the argument is an unicode argument, string_format() catchs this error and converts self to unicode and call unicode.format(*args, **kw). Pseudo-code: try: #

[issue7300] Unicode arguments in str.format()

2010-03-09 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: My patch converts the format string to unicode using the default encoding. It's inconsistent with str%args: str%args converts str to unicode using the ASCII charset (if a least one argument is an unicode string), not the default

[issue7267] format method: c presentation type broken

2010-03-09 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: u'{0:c}'.format(256) formatter in implemented in Objects/stringlib/formatter.h and this C template is instanciated in... Python/formatter_string.c (and not Python/formatter_unicode.c). Extract of formatter_unicode.c comment: /*

[issue8104] socket.recv_into doesn't support a memoryview as an argument

2010-03-09 Thread Matt Gattis
New submission from Matt Gattis gat...@gmail.com: view = memoryview(bytearray(bufsize)) while len(view): ...view = view[sock.recv_into(view,1024):] ... Traceback (most recent call last): File stdin, line 2, in module TypeError: recv_into() argument 1 must be pinned buffer, not memoryview

[issue8105] mmap crash on Windows with out of range file descriptor

2010-03-09 Thread Brian Curtin
New submission from Brian Curtin cur...@acm.org: Creating an mmap object can crash the interpreter on Windows if a file descriptor is passed in which is outside of the range for _get_osfhandle. I noticed the crash possibility while reviewing the Modules/mmapmodule.c code for work on another

[issue8105] mmap crash on Windows with out of range file descriptor

2010-03-09 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: Removed file: http://bugs.python.org/file16515/mmap_crash.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8105 ___

[issue8105] mmap crash on Windows with out of range file descriptor

2010-03-09 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: Added file: http://bugs.python.org/file16516/mmap_crash.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8105 ___

[issue8105] mmap crash on Windows with out of range file descriptor

2010-03-09 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: I should add that I tried the same thing on linux and no crash occured, it properly raised an exception. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8105

[issue4473] POP3 missing support for starttls

2010-03-09 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Ping... Any hope for 2.7/3.2? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___ ___

[issue8106] SSL session management

2010-03-09 Thread Jesús Cea Avión
New submission from Jesús Cea Avión j...@jcea.es: Current SSL module doesn't manage SSL sessions, so any connection must do the full SSL handshake. SSL/TLS support session restarting, when an old SSL context is used in a new connection, so you don't need to do the full SSL handshake. This is

[issue8106] SSL session management

2010-03-09 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +janssen priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8106 ___ ___

[issue2001] Pydoc interactive browsing enhancement

2010-03-09 Thread Ron Adam
Changes by Ron Adam ron_a...@users.sourceforge.net: Removed file: http://bugs.python.org/file16411/pydoc_gui.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2001 ___

[issue2001] Pydoc interactive browsing enhancement

2010-03-09 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: Missed a buffer write in the gettopic() method. Fixed. Plus some minor doc string changes. Can someone change the stage to patch review. I can't do that myself. Or is there something else I need to do first? -- Added file: