[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Brian Curtin
Brian Curtin added the comment: Does that failure happen to you every time? I occasionally see those RSP files causing some failures, but those are something created by Visual Studio (2008 as well) and they sometimes get held open or cause problems being deleted. I've always had success just

[issue14811] Syntax error on long UTF-8 lines

2012-05-15 Thread Glenn Linderman
Glenn Linderman added the comment: Thanks, David, for the clarification. I had been mentally separating syntax errors from other errors. -- ___ Python tracker ___ _

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Stefan Krah
Stefan Krah added the comment: This happens every time. It wasn't an issue with VS 2008. I'm building on the command line: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat" msbuild /p:useenv=true pcbuild.sln /p:Configuration=Debug /p:Platf orm=x64 Also, I can't

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: > I also would appreciate if the VS 2008 build still worked. Then provide patches. -- ___ Python tracker ___

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Stefan Krah
Stefan Krah added the comment: This is bizarre. The same command line that fails during build works when I paste it manually: [During build] C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\CL.exe /c /I..\Include /I..\PC /Zi / nologo /W3 /WX- /Od /Ob1 /Oi /Oy- /D _CONSOLE

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: > This is bizarre. The same command line that fails during build works > when I paste it manually: I'm having problems with F-Secure, VS 2010, and make_buildinfo. F-Secure thinks that make_buildinfo.exe has a virus in it, and quarantines it. I had to disable t

[issue14820] socket._decref_socketios and close

2012-05-15 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' : Don't know the details but this condition looks wrong: http://hg.python.org/cpython/file/cdcc816dea85/Lib/socket.py#l190 -- messages: 160777 nosy: giampaolo.rodola, janssen priority: normal severity: normal status: open title: socket._decref_socket

[issue14820] socket._decref_socketios and close

2012-05-15 Thread R. David Murray
R. David Murray added the comment: Mostly likely it is correct. Looking at the definition of close, it is calling "_real_close" when the _io_refs count drops to zero, and _decref_socketios is decrementing that counter. So the logic is "if we have been closed, see if it is time to close the

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Stefan Krah
Stefan Krah added the comment: Martin v. L??wis wrote: > I'm having problems with F-Secure, VS 2010, and make_buildinfo. F-Secure > thinks that make_buildinfo.exe has a virus in it, and quarantines it. I don't have a virus scanner, since I only use the VM for testing. Apparently many people ha

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Jason R. Coombs
New submission from Jason R. Coombs : It appears with the latest changes (cdcc816dea85), ctypes builds as _ctypes_test.pyd, not _ctypes.pyd. This causes 'import ctypes' to fail with an ImportError and thus causes tests to fail that depend on test.support (which imports ctypes). I first notice

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Chris Rebert
Chris Rebert added the comment: Notification of any future Rietveld comments would be appreciated. -- Added file: http://bugs.python.org/file25603/json.rst.patch ___ Python tracker

[issue14822] Build unusable when compiled for Win 64-bit release

2012-05-15 Thread Jason R. Coombs
New submission from Jason R. Coombs : It appears that sometime between 64b695a6cc3d and cdcc816dea85, the Windows x64 Release build is no longer viable. It crashes when invoking the importer. -- components: Build, Windows messages: 160782 nosy: jason.coombs priority: normal severity: no

[issue14822] Build unusable when compiled for Win 64-bit release

2012-05-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: It seems the Win32 build is okay. Only x64 is affected. I did a debug build, and it caught the error in errors.c line 60: Unhandled exception at 0x1e289aeb (python33_d.dll) in python_d.exe: 0xC005: Access violation reading location 0x00b8. -

[issue14817] pkgutil.extend_path has no tests

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 48cb6b67d306 by Eric V. Smith in branch '3.2': Issue #14817: Add rudimentary tests for pkgutil.extend_path. http://hg.python.org/cpython/rev/48cb6b67d306 -- nosy: +python-dev ___ Python tracker

[issue14817] pkgutil.extend_path has no tests

2012-05-15 Thread Eric V. Smith
Eric V. Smith added the comment: I'm going to leave this open until better tests are added. The one I did add it very simple, but it's good enough for the changes I'm about to make. -- nosy: -python-dev ___ Python tracker

[issue14823] Simplify threading.Lock.acquire() description

2012-05-15 Thread Q
New submission from Q : Hi there, I suggest to improve the description of Lock.acquire() [ http://docs.python.org/library/threading.html#threading.Lock.acquire ] in the following way: > current version > Lock.acquire([blocking]) Acquire a lock, blocking or non-blocking. When inv

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I see now that _ctypes is in fact in the solution, and if I open the solution in visual studio and build it manually, it gets built. Even if I just build the solution in visual studio, it gets built. However, if I run the following command, _ctypes doesn't g

[issue14823] Simplify threading.Lock.acquire() description

2012-05-15 Thread R. David Murray
R. David Murray added the comment: Thanks for the suggestion and the patch. The 'true' isn't inherited from java. The actual value can be either an integer or True/False. (If it were a function written in Python it would be any value that evaluates as true, but because it is written in C it

[issue724459] Add documentation about line endings in email messages.

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Documentation priority: normal -> low versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ __

[issue1672568] silent error in email.message.Message.get_payload

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- components: +email ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset f70fa654f70e by Ned Deily in branch '2.7': Issue #14777: In an X11 windowing environment, tkinter may return http://hg.python.org/cpython/rev/f70fa654f70e New changeset 41382250e5e1 by Ned Deily in branch '3.2': Issue #14777: In an X11 windowing en

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-15 Thread Ned Deily
Ned Deily added the comment: Applied for release in 2.7.4, 3.2.4 and 3.3.0. Thanks all! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue6302] Add decode_header_as_string method to email.utils

2012-05-15 Thread R. David Murray
R. David Murray added the comment: All of this is going to be fixed a different (better :) way in an upcoming patch that will add a new header parsing/folding policy to the email package. For the record, the way to spell the "decode a header and return a string" function using the existing AP

[issue1525919] email package quoted printable behaviour changed

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing

[issue1243730] Big speedup in email message parsing

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email keywords: -easy ___ Python tracker ___ ___ Python-b

[issue1043706] External storage protocol for large email messages

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing

[issue740495] API enhancement: poplib.MailReader()

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue795081] email.Message param parsing problem II

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue2658] decode_header() fails on multiline headers

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1443875] email/charset.py convert() patch

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14817] pkgutil.extend_path has no tests

2012-05-15 Thread Eric V. Smith
Eric V. Smith added the comment: This code does not clean up correctly. It needs to remove the added modules in sys.modules. I'll eventually clean it up, once issue 14715 is addressed. -- ___ Python tracker _

[issue14715] test.support.DirsOnSysPath should be replaced by importlib.test.util.import_state

2012-05-15 Thread Eric V. Smith
Eric V. Smith added the comment: Clean up code in test_pkgutil once this issue is fixed. See issue 14817. -- ___ Python tracker ___ _

[issue504152] rfc822 long header continuation broken

2012-05-15 Thread R. David Murray
R. David Murray added the comment: The email package no longer strips the leading whitespace. It doesn't unfold the headers, but changing that at this stage has untenable consequences. However, the email package in 3.3 will have a provisional API that will provide the correct unfolding of he

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've discovered a few things: - _ctypes depends on pythoncore. - other projects that depend on pythoncore are not built by msbuild. - If I remove the dependency of _ctypes on pythoncore and then do the build with msbuild, _ctypes is built and I can import cty

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email versions: -Python 3.1 ___ Python tracker ___ ___ Py

[issue9967] encoded_word regular expression in email.header.decode_header()

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10574] email.header.decode_header fails if the string contains multiple directives

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email nosy: +barry versions: -Python 3.1 ___ Python tracker ___ ___

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email versions: -Python 3.1 ___ Python tracker ___ ___ Pytho

[issue11050] email.utils.getaddresses behavior contradicts RFC2822

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email nosy: +barry versions: -Python 3.1 ___ Python tracker ___ ___

[issue1440472] email.Generator is not idempotent

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8bd30967bc4b by R David Murray in branch '3.2': #1440472: Explain that email parser/generator isn't *quite* "idempotent" http://hg.python.org/cpython/rev/8bd30967bc4b New changeset f534e6363bfb by R David Murray in branch 'default': merge #1440472:

[issue1440472] email.Generator is not idempotent

2012-05-15 Thread R. David Murray
Changes by R. David Murray : -- components: +email resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.1 ___ Python tracker _

[issue1635217] Add example of distutils setup() with "requires" argument

2012-05-15 Thread Éric Araujo
Éric Araujo added the comment: Sorry, I have to reject this again. 1) The distutils doc only gets bug fixes now. It is more useful to spend time on distutils2. 2) requires is unusable and unused, because it contains module names, not PyPI project names. Documenting it would cause more harm

[issue14821] Ctypes extension module builds as _ctypes_test.pyd

2012-05-15 Thread Brian Curtin
Brian Curtin added the comment: Can you try http://bugs.python.org/file25583/pcbuildpatch.patch from #13210? -- ___ Python tracker ___ __

[issue14270] Can't install a project in a specific directory

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd5d379c36f4 by Mathieu Leduc-Hamel in branch 'default': #14270: Fixes to add dest_dir params working when using install_from_infos http://hg.python.org/distutils2/rev/fd5d379c36f4 -- nosy: +python-dev _

[issue13399] Don't print traceback for unrecognized actions, commands and options in packaging

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 478700dd4f6c by Patrice Gauthier in branch 'default': #13399: Fixes the invalid arguments handling http://hg.python.org/distutils2/rev/478700dd4f6c New changeset fcfa635db609 by Patrice Gauthier in branch 'default': #13399 - some tweaking http://hg

[issue13166] Implement packaging.database.Distribution.__str__

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset ff44594dd3c0 by Guillaume Pratte in branch 'default': #13166: Implement __str__ on Distribution and EggInfoDistribution, use for pysetup list, pysetup graph and installation log http://hg.python.org/distutils2/rev/ff44594dd3c0 -- nosy: +py

[issue13339] Missing semicolon at Modules/posixsubprocess.c:4511

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 91ac9c36f09e by Éric Araujo in branch 'default': Harmonize error messages and add one missing test for #13339 http://hg.python.org/distutils2/rev/91ac9c36f09e -- ___ Python tracker

[issue13614] setup.py register fails if long_description contains ReST

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70c683338f9b by Julien Courteau in branch 'default': fix: setup.py register fails if description has ReST uncompatible with Sphinx (#13614) http://hg.python.org/distutils2/rev/70c683338f9b New changeset 7daa144a7af0 by Pierre Paul in branch 'defau

[issue1364] os.lstat documentation error

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6480b23cdf48 by Julien Courteau in branch 'default': merge #1364 http://hg.python.org/distutils2/rev/6480b23cdf48 -- nosy: +python-dev ___ Python tracker _

[issue14824] reprlib documentation references string module

2012-05-15 Thread Jasper St. Pierre
New submission from Jasper St. Pierre : http://docs.python.org/dev/library/reprlib.html """ Formatting methods for specific types are implemented as methods with a name based on the type name. In the method name, TYPE is replaced by string.join(string.split(type(obj).__name__, '_')). Dispatch

[issue14825] Interactive Shell vs Executed code

2012-05-15 Thread Marcelo Delgado
New submission from Marcelo Delgado : I have found inconsistency between running this code in the interactive shell and running it from a file: Int. Shell: n**0 ## n is a negative number result: -1 File: n**0 ## n is a negative number result: 1 I am fairly new to Python, so I don't know what

[issue14825] Interactive Shell vs Executed code

2012-05-15 Thread Marcelo Delgado
Changes by Marcelo Delgado : -- components: +Interpreter Core -Regular Expressions ___ Python tracker ___ ___ Python-bugs-list mailing

<    1   2