[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: The patch is fine. -- nosy: +amaury.forgeotdarc resolution: - accepted ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3664 ___

[issue4137] update SIG web pages

2008-10-17 Thread anatoly techtonik
New submission from anatoly techtonik [EMAIL PROTECTED]: Distutils SIG pages contain largely outdated information. http://www.python.org/community/sigs/current/distutils-sig/ It would be good to replace CVS instructions with SVN, add wiki link, mark download page as archived version and add

[issue4125] runtests.sh: use -bb flag of Python

2008-10-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Barry, did you *really* apply this change? I can't find it anywhere. r66950 does not contains runtests.sh: http://mail.python.org/pipermail/python-3000-checkins/2008-October/004752.html -- nosy: +amaury.forgeotdarc status:

[issue4027] wrong page index number in reference book of python documentation

2008-10-17 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Should be fixed now in r66955. Thanks for your patience! -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4027

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-17 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: Amaury, please apply the patch and close the issue. Thanks! -- priority: deferred blocker - release blocker ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3664

[issue4125] runtests.sh: use -bb flag of Python

2008-10-17 Thread Barry A. Warsaw
Barry A. Warsaw [EMAIL PROTECTED] added the comment: r66957. really. fer sher. -- status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4125 ___

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2008-10-17 Thread Matthew Barnett
Matthew Barnett [EMAIL PROTECTED] added the comment: Further to msg74203, I can see no reason why we can't allow duplicate capture group names if the groups are on different branches are are thus mutually exclusive. For example: (?Pnamea)|(?Pnameb) Apart from this I think that duplicate

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I think cygwin_badprintf.patch needs to consider the case r==PATH_MAX; this happens when the conversion would need more than PATH_MAX bytes for the target buffer. In that case, I think it would be good enough to write file name too long into

[issue4128] Performance regression in long division in 2.6

2008-10-17 Thread Antoine Pitrou
Antoine Pitrou [EMAIL PROTECTED] added the comment: It may be that one of the builds was done with profile-guided optimization and the other was not. If you are interested in long division performance, you may also take a look at #3451. -- nosy: +loewis, pitrou

[issue4091] python dll not installed in windows system directory

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Committed as r66958, r66959, and r66960. -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4091 ___

[issue4027] wrong page index number in reference book of python documentation

2008-10-17 Thread Winfried Plappert
Winfried Plappert [EMAIL PROTECTED] added the comment: Hi Georg, I tried to rebuilt the documentation from scratch (2.6 as well as 3.0rc1) and make fails with the command \tableofcontents, which is part of the generated *.tex file. I will include the typescript output of the make command. The

[issue2642] MSVCRT packing in Windows Installer (3.0a4)

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: I'm closing this issue as out-of-date. Static linking is out of the question, as that will duplicate CRT global various in confusing and risky ways. Installing the CRTs into the Python directory is what Python 2.6 does, and it does not work

[issue4027] wrong page index number in reference book of python documentation

2008-10-17 Thread Winfried Plappert
Winfried Plappert [EMAIL PROTECTED] added the comment: Interesting: I reran the build of PDFs under Windows (XP) and it works like a charm! Everything is there, the TOC, the Index and the Contents. I have no idea why Ubuntus pdflatex decided to go on strike. Thanks a lot for all your work!

[issue3717] Py_InitModule* is still referenced in docs

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Here is a patch that makes Demo/embed compile and run successfully. -- keywords: +needs review, patch nosy: +loewis Added file: http://bugs.python.org/file11816/embed.diff ___ Python tracker [EMAIL

[issue3717] Py_InitModule* is still referenced in docs

2008-10-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Looks good to me. -- keywords: -needs review nosy: +benjamin.peterson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3717 ___

[issue4128] Performance regression in long division in 2.6

2008-10-17 Thread STINNER Victor
STINNER Victor [EMAIL PROTECTED] added the comment: I propose to close this as won't fix I agree. I'm not interested in 150ms speed differences when dividing 10 digit numbers. I'm ok to close the ticket, but I'm also interrested to optimize Python. But the compiler option is not the

[issue1068268] subprocess is not EINTR-safe

2008-10-17 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: Factorized try-except code, merged r65475 from 25-maint. Protetect std[in|out|err] read and write too. Added file: http://bugs.python.org/file11818/subprocess-retry-on-EINTR-std-in-out-err.diff ___ Python

[issue4139] Major error in cmath routines

2008-10-17 Thread thor222
New submission from thor222 [EMAIL PROTECTED]: There's an error in the way cmath computes the inverse sine, cosine and tangent functions. Example: In 2.6: cmath.asin(2) returns 1.5707963267948966+1.3169578969248166j However, the answer should be 1.5707963267948966-1.3169578969248166j

[issue4139] Major error in cmath routines

2008-10-17 Thread thor222
Changes by thor222 [EMAIL PROTECTED]: -- type: - behavior ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4139 ___ ___ Python-bugs-list mailing list

[issue4139] Major error in cmath routines

2008-10-17 Thread Benjamin Peterson
Changes by Benjamin Peterson [EMAIL PROTECTED]: -- nosy: +christian.heimes, marketdickinson ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4139 ___ ___

[issue4139] Major error in cmath routines

2008-10-17 Thread Christian Heimes
Changes by Christian Heimes [EMAIL PROTECTED]: -- assignee: - marketdickinson components: +Extension Modules -Library (Lib) priority: - critical versions: +Python 2.7, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4139

[issue4140] urllib2: request with digest auth through proxy fail

2008-10-17 Thread Jan-Klaas Kollhof
New submission from Jan-Klaas Kollhof [EMAIL PROTECTED]: When using a proxy to request URLs that require Digest Auth, a header similar to the following is sent to the server: Authorization: Digest ... uri=http://example.org/foobar/spam; ... The server then responded with: HTTP/1.1 400 Bad

[issue3723] Py_NewInterpreter does not work

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Here is a patch that fixed importexc.c. It consists of the following parts: - set m_size of the builtins module and the sys module to -1, indicating that these modules don't support repeated initialization. This should be reviewed; perhaps

[issue4139] Major error in cmath routines

2008-10-17 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: I'm pretty sure that Python 2.6 is correct and Python 2.5 is wrong. Python 2.6: cmath.asin(2.0) (1.5707963267948966+1.3169578969248166j) cmath.asin(2.0+(+1E-300j)) (1.5707963267948966+1.3169578969248166j) cmath.asin(2.0+(-1E-300j))

[issue3717] Py_InitModule* is still referenced in docs

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Committed as r66961. -- keywords: +needs review resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3717

[issue4138] IDLE crashes in my Windows Vista

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Did you disable your personal firewall as instructed? -- nosy: +loewis ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4138 ___

[issue4130] Intel icc 9.1 does not support __int128_t used by ctypes

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Hmm. Perhaps icc shouldn't define __x86_64__ either, then? Can you propose a patch to fix that problem? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4130

[issue1068268] subprocess is not EINTR-safe

2008-10-17 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: Ups, forgot a _no_intr around select.select Index: subprocess.py === --- subprocess.py (revisione 19645) +++ subprocess.py (copia locale) @@ -1178,7 +1178,7 @@

[issue4139] Major error in cmath routines

2008-10-17 Thread Mark Dickinson
Mark Dickinson [EMAIL PROTECTED] added the comment: This is not a bug, at least in the sense that the behaviour of Python 2.6 is intentional: asin has branch cuts from 1 to infinity and -1 to - infinity along the real axis. As explained by the note at the top of the cmath documentation, on

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: For some reason, the linker *does* generate manifest files for all the .pyds when I try it out. Should that worry me? When I delete them, it still can import them just fine. FWIW, with the patch alone, the manifest in .DLLs will still be

[issue4128] Performance regression in long division in 2.6

2008-10-17 Thread Fredrik Johansson
Fredrik Johansson [EMAIL PROTECTED] added the comment: I propose to close this as won't fix; I'm not interested in 150ms speed differences when dividing 10 digit numbers. Sure. (I care about differences like this, because they have a tendency to add up. But it's a minor issue, and a

[issue4128] Performance regression in long division in 2.6

2008-10-17 Thread Martin v. Löwis
Changes by Martin v. Löwis [EMAIL PROTECTED]: -- resolution: - wont fix status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4128 ___

[issue4141] Dis docs on CALL_FUNCTION a bit unclear

2008-10-17 Thread David Turner
New submission from David Turner [EMAIL PROTECTED]: This patch improves them. -- files: dis-doc-patch.diff keywords: patch messages: 74928 nosy: novalis_dt severity: normal status: open title: Dis docs on CALL_FUNCTION a bit unclear Added file:

[issue4136] merge json library with simplejson 2.0.3

2008-10-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: About the patch: are those lines really needed? +PyScannerType.tp_getattro = PyObject_GenericGetAttr; +PyScannerType.tp_setattro = PyObject_GenericSetAttr; +PyScannerType.tp_alloc = PyType_GenericAlloc; +

[issue4136] merge json library with simplejson 2.0.3

2008-10-17 Thread Bob Ippolito
Bob Ippolito [EMAIL PROTECTED] added the comment: You're probably right, I don't remember what code I was using as a template for that. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4136 ___

[issue4141] Dis docs on CALL_FUNCTION a bit unclear

2008-10-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Thanks for the patch. Applied in r66962. -- nosy: +benjamin.peterson resolution: - accepted status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4141

[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2008-10-17 Thread Don Dwiggins
New submission from Don Dwiggins [EMAIL PROTECTED]: Found on Windows, running Python 2.4.3. SMTP.login() and SMTP.sendmail set one of the attributes ehlo_resp or helo_resp to whatever the server responded (only if they're not already set). SMTP.quit() doesn't clear these attributes, so on the

[issue3664] Pickler.dump from a badly initialized Pickler segfaults

2008-10-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Committed r66963. -- resolution: accepted - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3664 ___

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-10-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: Updated patch, which checks the return value of wcstombs. Added file: http://bugs.python.org/file11823/cygwin_badprintf-2.patch ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3626

[issue3723] Py_NewInterpreter does not work

2008-10-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc [EMAIL PROTECTED] added the comment: I think the patch goes in the right direction. But in addition, Py_NewInterpreter() has to call initstdio() between initmain() and initsite() (the same sequence as in Py_InitializeEx) Found by using the following command string in

[issue3723] Py_NewInterpreter does not work

2008-10-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Wouldn't it make more sense to move interpreter initialization things to Py_NewInterpreter and call it from Py_InitializeEx? ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3723

[issue3723] Py_NewInterpreter does not work

2008-10-17 Thread Christian Heimes
Christian Heimes [EMAIL PROTECTED] added the comment: Sounds like a good plan, Benjamin -- nosy: +christian.heimes ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3723 ___

[issue3435] trace.py tries to get coverage data from non Python files

2008-10-17 Thread Jerry Seutter
Changes by Jerry Seutter [EMAIL PROTECTED]: -- nosy: +jseutter ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3435 ___ ___ Python-bugs-list mailing list

[issue4136] merge json library with simplejson 2.0.3

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Actually, if I remove those lines from the equivalent module in simplejson it no longer works properly with Python 2.5.2. Why aren't the functions pointers in the structs itself? As a procedural note, it seems like this patch is a

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: IIUC, another error return value (besides -1) is PATH_MAX, meaning that the buffer would overrun; correct me if I'm wrong. If I'm not, I propose that they get handles similarly. In addition, it might be safer to compare to (size_t)-1 (I keep

[issue3723] Py_NewInterpreter does not work

2008-10-17 Thread Martin v. Löwis
Martin v. Löwis [EMAIL PROTECTED] added the comment: Wouldn't it make more sense to move interpreter initialization things to Py_NewInterpreter and call it from Py_InitializeEx? Can you propose a specific patch? I'm worried that doing so blindly introduces other bugs.

[issue4104] Namespace inconsistency

2008-10-17 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: I consider the request invalid. Continue the example with B=A.B B The repr of an object cannot now and should not depend on the access path. =or= class C: pass class D: pass D C.D = D C.D Same comment. -- nosy: +tjreedy

[issue4113] functools.partial(), no __name__; wrong __doc__

2008-10-17 Thread Terry J. Reedy
Changes by Terry J. Reedy [EMAIL PROTECTED]: -- components: +Library (Lib) -Extension Modules versions: +Python 2.7, Python 3.0 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4113 ___

[issue4113] functools.partial(), no __name__; wrong __doc__

2008-10-17 Thread Terry J. Reedy
Terry J. Reedy [EMAIL PROTECTED] added the comment: Same in 3.0 -- nosy: +tjreedy ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4113 ___ ___

[issue4136] merge json library with simplejson 2.0.3

2008-10-17 Thread Bob Ippolito
Bob Ippolito [EMAIL PROTECTED] added the comment: I don't recall exactly why they aren't in the struct itself, it may not have worked with some compiler on some platform. It's not really a complete rewrite, the encoding path is largely the same and the tests haven't changed. Anyway, there is

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-10-17 Thread Kevin Walzer
Changes by Kevin Walzer [EMAIL PROTECTED]: ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-10-17 Thread Kevin Walzer
Changes by Kevin Walzer [EMAIL PROTECTED]: -- nosy: +wordtech ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list

[issue4136] merge json library with simplejson 2.0.3

2008-10-17 Thread Bob Ippolito
Bob Ippolito [EMAIL PROTECTED] added the comment: http://codereview.appspot.com/7311 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4136 ___ ___ Python-bugs-list

[issue4017] Tkinter cannot find Tcl/Tk on Mac OS X

2008-10-17 Thread Nat
Changes by Nat [EMAIL PROTECTED]: -- nosy: -njw23 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4017 ___ ___ Python-bugs-list mailing list

[issue4143] ast.Node objects do not have column number information

2008-10-17 Thread Kevin Watters
New submission from Kevin Watters [EMAIL PROTECTED]: I see column number information in ast.c, but it's not accessible via the information by the Node objects returned by compiler.parse. -- components: Library (Lib) messages: 74948 nosy: kevinwatters severity: normal status: open

[issue4143] ast.Node objects do not have column number information

2008-10-17 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The compiler package is related to ast.c. You can access that through the ast (or _ast) module. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker [EMAIL

[issue4027] wrong page index number in reference book of python documentation

2008-10-17 Thread Ray Wang
Ray Wang [EMAIL PROTECTED] added the comment: Thanks for your big efforts! ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4027 ___ ___ Python-bugs-list mailing