[issue15731] Mechanism for inheriting docstrings and signatures

2012-08-20 Thread Ben Finney
Ben Finney added the comment: Attached is a patch which is more comprehensive (covering the additional locations pointed out to me by ncoghlan), and also consolidating the details into the library documentation so they're not verbosely repeated in so many places. I agree with Nick's position

[issue15731] Mechanism for inheriting docstrings and signatures

2012-08-20 Thread Ben Finney
Ben Finney added the comment: Apologies, my previous comment and patch was sent to the wrong issue (should have gone to #8810). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15731 ___

[issue8810] TZ offset description is unclear in docs

2012-08-20 Thread Ben Finney
Ben Finney added the comment: Attached is a patch which is more comprehensive (covering the additional locations pointed out to me by ncoghlan), and also consolidating the details into the library documentation so they're not verbosely repeated in so many places. I agree with Nick's position

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-08-20 Thread Kevin Chen
Kevin Chen added the comment: Hi I made the following patch for this issue. It addresses the #2051 security bug. So the .pyc and .pyo files are created using the same permission as .py The MS_WINDOWS version will chmod the permission of .pyc and .pyo files to write accessible before deleting

[issue5765] stack overflow evaluating eval(() * 30000)

2012-08-20 Thread Andrea Griffini
Andrea Griffini added the comment: I missed all the macrology present :-( ... the following is a patch that takes it into account (also defines a VISIT_QUIT macro to make more visible the exit points). The handling has been also extended to visit_stmt because the macros are shared. Of course

[issue15724] Add versionchanged to memoryview docs

2012-08-20 Thread Nick Coghlan
Nick Coghlan added the comment: Just a heads up that I'm about to check in a fairly major change to the sequence docs layout. I'm leaving the memoryview block alone, so hopefully this won't cause you any problems, but there's going to be a merge in your future :) -- nosy: +ncoghlan

[issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.

2012-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: I still can't reproduce it. I'm attaching client and server scripts that communicate over 127.0.0.1. This works just fine. -- Added file: http://bugs.python.org/file26914/server.py ___ Python tracker

[issue4966] Improving Lib Doc Sequence Types Section

2012-08-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: - ncoghlan versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4966 ___

[issue11631] Python 2.7.1 64bit, Win7 64bit problem to read and write with UDP.

2012-08-20 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: Added file: http://bugs.python.org/file26915/client.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11631 ___

[issue5765] stack overflow evaluating eval(() * 30000)

2012-08-20 Thread Andrea Griffini
Andrea Griffini added the comment: On Mon, Aug 20, 2012 at 12:27 AM, Antoine Pitrou rep...@bugs.python.org wrote: Indeed I don't like the introduction of COMPILER_STACK_FRAME_SCALE. Re-using the existing infrastructure would be much easier to maintain. The default recursion limit is 1000,

[issue15645] 2to3 Grammar pickles not created when upgrading to 3.3.0b2

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I'm pretty sure this is a generic Makefile bug. I could reproduce this problem with a clean install into a new prefix, after cleaning up the source tree: 'make clean' won't remove the generated file when srcdir != builddir. This line in the Makefile seems

[issue4966] Improving Lib Doc Sequence Types Section

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 463f52d20314 by Nick Coghlan in branch 'default': Close #4966: revamp the sequence docs in order to better explain the state of modern Python http://hg.python.org/cpython/rev/463f52d20314 -- nosy: +python-dev resolution: - fixed stage:

[issue8943] Bug in InteractiveConsole

2012-08-20 Thread Michael Dorman
Michael Dorman added the comment: I'd suggest this is an issue in the doc for the InteractiveInterpreter class. Try locals=global() and your problem goes away. (namespace == __main__)... -- keywords: +patch nosy: +mjdorma Added file: http://bugs.python.org/file26917/issue8943.diff

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2012-08-20 Thread danblack
danblack added the comment: Antoine, I copied off your http example for all the other protocols. tested with: import smtplib a = smtplib.SMTP_SSL('gmail-smtp-in.l.google.com.') a.starttls() a = smtplib.SMTP_SSL('mail.internode.on.net') a = smtplib.SMTP_SSL('smtp.gmail.com') import ftplib #

[issue15732] Crash (constructed) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
New submission from Stefan Krah: Coverity found an unchecked return value in _PySequence_BytesToCharpArray(). Patch attached. A demonstration: import _posixsubprocess class Z(object): def __len__(self): return 1 _posixsubprocess.fork_exec(1,Z(),3,[1,

[issue15732] Crash (constructed) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM. Please apply to all affected branches. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15732 ___

[issue12643] code.InteractiveConsole ignores sys.excepthook

2012-08-20 Thread aliles
aliles added the comment: Submitted patch. Patch creates a new unit test suite with basic unit tests for InteractiveConsole. Enhances InteractiveConsole to call sys.excepthook instead of it's own handler if the user has overridden the excepthook. The unit tests use the new unittest.mock

[issue8943] Bug in InteractiveConsole

2012-08-20 Thread Michael Dorman
Changes by Michael Dorman mjdo...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8943 ___ ___ Python-bugs-list

[issue13799] Base 16 should be hexadecimal in Unicode HOWTO

2012-08-20 Thread Sandro Tosi
Sandro Tosi added the comment: I tend to agree with Terry that this report can be closed: base 16 is quite known and it's high likely that if you know what hexadecimal is, you also aware of the concept of base X and viceversa. If no-one objects, I'd just close it. --

[issue13370] test_ctypes fails when building python with clang

2012-08-20 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- keywords: +needs review, patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13370 ___ ___

[issue15732] Crash (constructed) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset cfddcf964ff0 by Stefan Krah in branch '3.2': Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray(). http://hg.python.org/cpython/rev/cfddcf964ff0 -- nosy: +python-dev ___ Python

[issue15732] Crash (constructed) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: Thanks for reviewing! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15732

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2012-08-20 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the winapi module! -- components: Extension Modules files: _winapi_pep3121-384_v0.patch keywords: patch messages: 168639 nosy: Robin.Schreiber, astrand, effbot, loewis priority: normal

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2012-08-20 Thread Robin Schreiber
Robin Schreiber added the comment: Forgot to change the macro definition... -- Added file: http://bugs.python.org/file26922/_winapi_pep3121-384_v1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15733

[issue15734] PEP 3121, 384 Refactoring applied to spwd module

2012-08-20 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the spwd module! -- components: Extension Modules files: spwd_pep3121-384_v0.patch keywords: patch messages: 168641 nosy: Robin.Schreiber priority: normal severity: normal status: open

[issue15735] PEP 3121, 384 Refactoring applied to ossaudio module

2012-08-20 Thread Robin Schreiber
New submission from Robin Schreiber: Changes proposed in PEP3121 and PEP384 have now been applied to the ossaudio module! -- components: Extension Modules files: ossaudiodev_pep3121-384_v0.patch keywords: patch messages: 168642 nosy: Robin.Schreiber priority: normal severity: normal

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
New submission from Stefan Krah: A Py_ssize_t overflow can be constructed in _PySequence_BytesToCharpArray(). Patch attached. Demonstration (requires revision = 2af78f8a98e1): Python 3.3.0b2+ (default:2af78f8a98e1, Aug 20 2012, 11:38:54) [GCC 4.4.3] on linux Type help, copyright, credits or

[issue12643] code.InteractiveConsole ignores sys.excepthook

2012-08-20 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12643 ___ ___

[issue15731] Mechanism for inheriting docstrings and signatures

2012-08-20 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15731 ___ ___

[issue15737] NULL dereference in zipimport.c

2012-08-20 Thread Stefan Krah
New submission from Stefan Krah: There's a use of an unchecked return value in zipimport.c. Patch attached. -- components: Extension Modules files: zipimport_null_dereference.diff keywords: patch messages: 168644 nosy: skrah priority: normal severity: normal stage: patch review status:

[issue15721] PEP 3121, 384 Refactoring applied to tkinter module

2012-08-20 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15721 ___ ___

[issue15731] Mechanism for inheriting docstrings and signatures

2012-08-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- Removed message: http://bugs.python.org/msg168621 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15731 ___

[issue15731] Mechanism for inheriting docstrings and signatures

2012-08-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- Removed message: http://bugs.python.org/msg168622 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15731 ___

[issue15731] Mechanism for inheriting docstrings and signatures

2012-08-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: Removed file: http://bugs.python.org/file26910/issue8810_reconcile_docs.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15731 ___

[issue15738] Crash (constructed) in subprocess_fork_exec()

2012-08-20 Thread Stefan Krah
New submission from Stefan Krah: Coverity found a missing NULL check in subprocess_fork_exec(). Patch attached. Demonstration: import _posixsubprocess class Z(object): def __len__(self): return 1 _posixsubprocess.fork_exec(Z(),[b'1'],3,[1, 2],5,6,7,8,9,10,11,12,13,14,15,16,17)

[issue6749] Support for encrypted zipfiles when interpreting zipfile as script

2012-08-20 Thread Nick Coghlan
Nick Coghlan added the comment: Rejecting - if anyone really wants this. they can do it as their own custom import hook. -- resolution: - wont fix stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue15730] Silence unused value warnings under Mac OS X 10.8/clang

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Patch looks good to me. I've added 3.3 to the list of python versions because it might be worthwhile to apply this to 3.3 as well (after 3.3.0 is released). -- keywords: +needs review versions: +Python 3.3 ___

[issue15737] NULL dereference in zipimport.c

2012-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: LGTM. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15737 ___ ___ Python-bugs-list mailing

[issue14329] proxy_bypass_macosx_sysconf does not handle singel ip addresses correctly

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: Patch seems to be present in the current maintenance and development releases (2.7, 3.2 and 3.3). Can you confirm that this issue is no longer present in python 2.7 and later? -- ___ Python tracker

[issue15737] NULL dereference in zipimport.c

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset c89fe7dc22ee by Stefan Krah in branch 'default': Closes #15737: Fix potential NULL dereference in zipimport.c. http://hg.python.org/cpython/rev/c89fe7dc22ee -- nosy: +python-dev resolution: - fixed stage: patch review - committed/rejected

[issue15738] Crash (constructed) in subprocess_fork_exec()

2012-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: That's fine, please apply -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15738 ___ ___

[issue12643] code.InteractiveConsole ignores sys.excepthook

2012-08-20 Thread aliles
aliles added the comment: New patch to address comments provide by Nick Coghlan in person at PyCon-AU 2012. -- Added file: http://bugs.python.org/file26928/issue12643_2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12643

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's fine if the Rietveld comments are addressed. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15736 ___

[issue14406] Race condition in concurrent.futures

2012-08-20 Thread Ralf Schmitt
Changes by Ralf Schmitt python-b...@systemexit.de: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14406 ___ ___ Python-bugs-list

[issue15738] Crash (constructed) in subprocess_fork_exec()

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 03c98d05b140 by Stefan Krah in branch '3.2': Issue #15738: Fix a missing NULL check in subprocess_fork_exec(). http://hg.python.org/cpython/rev/03c98d05b140 -- nosy: +python-dev ___ Python tracker

[issue15738] Crash (constructed) in subprocess_fork_exec()

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: Thanks again! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15738

[issue12643] code.InteractiveConsole ignores sys.excepthook

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset a812de69b493 by Nick Coghlan in branch 'default': Issue #12643: Respect sys.excepthook in code.InteractiveConsole http://hg.python.org/cpython/rev/a812de69b493 -- nosy: +python-dev ___ Python tracker

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-08-20 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: - ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6074 ___ ___ Python-bugs-list

[issue14406] Race condition in concurrent.futures

2012-08-20 Thread Ralf Schmitt
Ralf Schmitt added the comment: I think having a lock here is unnecessary. The following code should work: def _decrement_pending_calls(self): if self.num_pending_calls == len(self.finished_futures): self.event.set() (well, maybe the method should also be renamed then) --

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2012-08-20 Thread Richard Oudkerk
Richard Oudkerk added the comment: I don't see why you made has_CancelIoEx part of the module state. Availability of CancelIoEx only depends on the version of Windows you have, so it will not change if you reload the module. BTW, I think you forgot to delete the has_CancelIoEx global, and to

[issue14649] doctest.DocTestSuite error misleading when module has no docstrings

2012-08-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ok, I'm +0 for that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14649 ___ ___ Python-bugs-list mailing

[issue15739] Python crashes with Bus error: 10

2012-08-20 Thread Apple Grew
New submission from Apple Grew: Python crashes when I try to access (by sending http request from borwser) my Django application. OS: Mac OSX Lion Python version: 2.7.1 (This was pre-bundled with OS and not a MacPort). There isn't a simple test case but I do have an open source app which

[issue15740] test_ssl failure when cacert.org CA cert in system keychain on OSX

2012-08-20 Thread Ronald Oussoren
New submission from Ronald Oussoren: On my laptop (running OSX 10.8, but I have noticed the same on earlier OSX releases) test_ssl fails: == FAIL: test_connect (test.test_ssl.NetworkedTests)

[issue15740] test_ssl failure when cacert.org CA cert in system keychain on OSX

2012-08-20 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: ronaldoussoren - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15740 ___ ___

[issue12643] code.InteractiveConsole ignores sys.excepthook

2012-08-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: Is it finished or not? Also looks like patch applied to 3.3 while issue marked for 2.7 and 3.2 also. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12643

[issue15739] Python crashes with Bus error: 10

2012-08-20 Thread Ross Lagerwall
Ross Lagerwall added the comment: Well the app has an infinite recursion. This shows on Fedora Linux 17: Request Method: GET Request URL:http://127.0.0.1:8000/ Django Version: 1.4 Exception Type: RuntimeError Exception Value: maximum recursion depth

[issue15741] NULL dereference in builtin_compile()

2012-08-20 Thread Stefan Krah
New submission from Stefan Krah: Coverity found a missing NULL check in builtin_compile(). Patch attached. -- components: Interpreter Core files: builtin-compile-check-null.diff keywords: patch messages: 168664 nosy: skrah priority: normal severity: normal stage: patch review status:

[issue12643] code.InteractiveConsole ignores sys.excepthook

2012-08-20 Thread Nick Coghlan
Nick Coghlan added the comment: The patch also adds a test suite for the code module, in order to demonstrate that the issue is actually fixed. However, due to the interactive nature of the component, the new tests rely on unittest.mock. Backporting the test suite would mean eliminating that

[issue14873] Windows devguide: clarification for build errors due to missing optional dependencies

2012-08-20 Thread Patrick Welche
Changes by Patrick Welche pr...@cam.ac.uk: -- nosy: +prlw1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14873 ___ ___ Python-bugs-list mailing

[issue13789] _tkinter does not build on Windows 7

2012-08-20 Thread Patrick Welche
Changes by Patrick Welche pr...@cam.ac.uk: -- nosy: +prlw1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13789 ___ ___ Python-bugs-list mailing

[issue13210] Support Visual Studio 2010

2012-08-20 Thread Patrick Welche
Changes by Patrick Welche pr...@cam.ac.uk: -- nosy: +prlw1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13210 ___ ___ Python-bugs-list mailing

[issue13461] Error on test_issue_1395_5 with Python 2.7 and VS2010

2012-08-20 Thread Patrick Welche
Changes by Patrick Welche pr...@cam.ac.uk: -- nosy: +prlw1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13461 ___ ___ Python-bugs-list mailing

[issue12643] code.InteractiveConsole ignores sys.excepthook

2012-08-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: I'm ok with current status. Thanks for clarification. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12643 ___

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2012-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: In addition, I plan to actively drop Windows 2000 support post 3.3, so CancelIO can be presumed to be present. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15733

[issue15741] NULL dereference in builtin_compile()

2012-08-20 Thread Martin v . Löwis
Martin v. Löwis added the comment: That's fine, please apply. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15741 ___ ___

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: issue15736.diff shows what I meant in the comments. I find this slightly more readable than casting the big RHS expression. -- Added file: http://bugs.python.org/file26931/issue15632.diff ___ Python tracker

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: Removed file: http://bugs.python.org/file26931/issue15632.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15736 ___

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: Sorry, the right diff this time. -- Added file: http://bugs.python.org/file26932/issue15736.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15736 ___

[issue13370] test_ctypes fails when building python with clang

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've tested the patch on OSX 10.5 with GCC and all tests pass. I'd like to get this into 3.3rc1 as the test failure indicate a problem that could cause very vague problems for users of the ctypes library that use clang on OSX to build python (which includes

[issue15741] NULL dereference in builtin_compile()

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5ee1a06101f by Stefan Krah in branch '3.2': Issue #15741: Fix potential NULL dereference. Found by Coverity. http://hg.python.org/cpython/rev/d5ee1a06101f New changeset 2b4f6770877e by Stefan Krah in branch '2.7': Issue #15741: Fix potential NULL

[issue15741] NULL dereference in builtin_compile()

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: Thanks, done. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15741

[issue15724] Add versionchanged to memoryview docs

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: Thanks for the warning. I see you've already committed, so my natural inertia has protected me from additional merge work. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15724

[issue13370] test_ctypes fails when building python with clang

2012-08-20 Thread Stan Seibert
Stan Seibert added the comment: I can also confirm that the patch applied to the current tip (663de4dbb88a) passes test_ctypes now with Clang 4.0 on OS X 10.8. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13370

[issue15645] 2to3 Grammar pickles not created when upgrading to 3.3.0b2

2012-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I had the impression that there *were* problems with compiling 3.3 on the new OSX and Xcode or something. If that is wrong or all fixed, great. Sorry for the noise. -- ___ Python tracker rep...@bugs.python.org

[issue15645] 2to3 Grammar pickles not created when upgrading to 3.3.0b2

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: There were some problems building using llvm-gcc, those have been resolved by detecting falling back to clang when llvm-gcc is detected. That's the only real problem I know of. -- ___ Python tracker

[issue15645] 2to3 Grammar pickles not created when upgrading to 3.3.0b2

2012-08-20 Thread Ronald Oussoren
Ronald Oussoren added the comment: BTW. I wouldn't mind a patch review, particularly by someone that can easily test on Linux. I'm not too keen on checking in this patch without a test on Linux, not this close to 3.3rc1. -- ___ Python tracker

[issue1065427] sre_parse group limit check missing with 'python -O'

2012-08-20 Thread Eugene Voytitsky
Eugene Voytitsky added the comment: Hi all, does someone can answer the questions asked by Keith Briggs in 2004: What is the reason for this limit? Can it easily be removed? It is causing me many problems. I also stuck into the problem with this limitation. Details you can read here -

[issue15742] SQLite3 documentation changes

2012-08-20 Thread Mike Hoy
New submission from Mike Hoy: In Core-Mentorship we discussed this and decided on the following patch. -- assignee: docs@python components: Documentation files: sqlite3-docs-changes.diff keywords: patch messages: 168681 nosy: docs@python, mikehoy, r.david.murray priority: normal

[issue15726] PyState_FindModule false length-comparison fix

2012-08-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - invalid stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15726 ___

[issue15726] PyState_FindModule false length-comparison fix

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset b96a4b1e7ecb by Antoine Pitrou in branch '3.2': Issue #15726: Fix incorrect bounds checking in PyState_FindModule. http://hg.python.org/cpython/rev/b96a4b1e7ecb New changeset 7789111afe05 by Antoine Pitrou in branch 'default': Issue #15726: Fix

[issue15742] SQLite3 documentation changes

2012-08-20 Thread Petri Lehtinen
Petri Lehtinen added the comment: + print(c.fetchone()) I don't think this line should be added because it's not there after the first select. -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15742

[issue15742] SQLite3 documentation changes

2012-08-20 Thread Mike Hoy
Mike Hoy added the comment: Removed print function in this patch. -- Added file: http://bugs.python.org/file26934/sqlite3-docs-remove-print.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15742

[issue15739] Python crashes with Bus error: 10

2012-08-20 Thread Apple Grew
Apple Grew added the comment: Well I tried with Python2.6 (MacPort) now. It too crashes with Bus error. I guess this has something to do with OSX ports. Please investigate. Whatever it maybe, but the process must not crash like that. -- ___ Python

[issue15742] SQLite3 documentation changes

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80b15cf2611e by R David Murray in branch '3.2': #15742: clarify sqlite parameter substitution example. http://hg.python.org/cpython/rev/80b15cf2611e New changeset 2eafe04cb6ed by R David Murray in branch 'default': Merge #15742: clarify sqlite

[issue15739] Python crashes with Bus error: 10

2012-08-20 Thread Apple Grew
Apple Grew added the comment: If you believe this is impossible then possibly there could be a memory overflow issue which triggers this error in OSX builds. In other builds it may not cause that problem or don't share the same faulty code. -- assignee: - ronaldoussoren components:

[issue15742] SQLite3 documentation changes

2012-08-20 Thread R. David Murray
R. David Murray added the comment: Thanks, Mike. -- resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15742

[issue15199] Default mimetype for javascript should be application/javascript

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 20985f52b65e by Petri Lehtinen in branch '2.7': #15199: Fix JavaScript's default MIME type to application/javascript http://hg.python.org/cpython/rev/20985f52b65e New changeset b64947b6f947 by Petri Lehtinen in branch '3.2': #15199: Fix

[issue15199] Default mimetype for javascript should be application/javascript

2012-08-20 Thread Petri Lehtinen
Petri Lehtinen added the comment: Fixed, thanks for the patch. -- nosy: +petri.lehtinen resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15199

[issue15736] Crash #2 (constructed overflow) in _PySequence_BytesToCharpArray()

2012-08-20 Thread Stefan Krah
Stefan Krah added the comment: Bad news: gcc-4.6.3 needs the size_t cast, otherwise it warns with both the assert() and the (argc 0) version. So I suggest using the size_t cast and a comment. -- ___ Python tracker rep...@bugs.python.org

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Jeff Knupp
New submission from Jeff Knupp: urllib was updated to deprecate a number of Request methods for 3.3. The test_urllib2 and test_urllib tests still use some of the deprecated methods. -- components: Tests messages: 168692 nosy: Jeff.Knupp priority: normal severity: normal status: open

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Jeff Knupp
Jeff Knupp added the comment: Attaching patch. -- keywords: +patch Added file: http://bugs.python.org/file26935/test_urllib.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15743 ___

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- assignee: - orsenthil nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15743 ___

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: The patch looks good to me. Thanks Jeff. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15743 ___ ___

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Jeff Knupp
Changes by Jeff Knupp jkn...@gmail.com: Removed file: http://bugs.python.org/file26935/test_urllib.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15743 ___

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Jeff Knupp
Jeff Knupp added the comment: Updated with correct patch file. -- Added file: http://bugs.python.org/file26936/test_urllib.patch.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15743 ___

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Jeff Knupp
Jeff Knupp added the comment: Senthil, sorry, missed your comment and hadn't realized anyone had seen the patch yet. I replaced it with an updated version (had missed a few places deprecated functions were used). Could you review the new patch instead? --

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Senthil Kumaran
Senthil Kumaran added the comment: One change. get_method has only been changed not deprecated. Those test cases should not change and moreover the current change to assert against .method results in a failure too. get_method would return GET when .method is None or empty. --

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Jeff Knupp
Jeff Knupp added the comment: Yes, that was part of the original patch which was incorrectly uploaded. The current patch (2) should be correct wrt get_method. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15743

[issue15739] Python crashes with Bus error: 10

2012-08-20 Thread Ross Lagerwall
Ross Lagerwall added the comment: Sorry, I didn't mean that it's impossible; I meant that it shouldn't happen and it should be fixed :-) Unfortunately I don't have access to an OS X box to test. -- ___ Python tracker rep...@bugs.python.org

[issue15743] test_urllib2/test_urllib use deprecated urllib.Request methods

2012-08-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b28dff66ac3 by Senthil Kumaran in branch 'default': Fix Issue 15743 - improve urllib tests by removing deprecated method usages. Patch by Jeff Knupp. http://hg.python.org/cpython/rev/9b28dff66ac3 -- nosy: +python-dev

  1   2   >