[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

[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

[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

[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 _

[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

[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

[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

[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

[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 _

[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 ___ __

[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

[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 _

[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:

[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 ___ ___

[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

[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 ___ ___

[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

[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

[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

[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

[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

[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 ___ _

[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 _

[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

[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

[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

[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

[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

[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

[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

[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

[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 ___

[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

[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

[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 ___ __

[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

[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 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

[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

[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

[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. -

[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

[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

[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

[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

[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

[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

[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

[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

[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: > 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 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

[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 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

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Stefan Krah
Stefan Krah added the comment: I also would appreciate if the VS 2008 build still worked. Currently I can't build the 64-bit version with either VS 2008 or VS 2010: TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 10 .0\VC\BIN\amd64\CL.exe"

[issue14624] Faster utf-16 decoder

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you Serhiy! Now committed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue14624] Faster utf-16 decoder

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset cdcc816dea85 by Antoine Pitrou in branch 'default': Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs. http://hg.python.org/cpython/rev/cdcc816dea85 -- ___ Python tracker

[issue14811] Syntax error on long UTF-8 lines

2012-05-15 Thread R. David Murray
R. David Murray added the comment: By the way, Glenn, what you posted as "the syntax error" (which it was) *is* the traceback. A syntax error on the file directly being compiled will only have one line in the traceback. -- nosy: +r.david.murray __

[issue14624] Faster utf-16 decoder

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here are two new patch. Checking for characters out-of-range moved, making the code simpler. Theoretically it is a bit slow down decoding of short UCS1 strings (up to 1 and 3 chars on 32- and 64-bit), but practically there is no difference. The second patch is

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I tried to find a way of avoiding changing global state in my test - > but because of the problem I mention, I couldn't see a way of using > smtpd without affecting global state. Well, other tests manage it even without using a private socket map. Leaving dan

[issue14819] Add `assertIsSubclass` and `assertNotIsSubclass` to `unittest.TestCase`

2012-05-15 Thread Ezio Melotti
Ezio Melotti added the comment: Hi, this has been discussed already, and we took the decision to leave these out, since checking for subclasses is not as common as checking the type. If needed, this could still be implemented by the user, and possibly they could be added as recipes to the unit

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Vinay Sajip
Vinay Sajip added the comment: > If you get a warning, it means your tests lack proper cleanup, so you > should fix that instead of trying to make the warning disappear by > circumventing regrtest's detection mechanism. What makes you say I was trying to circumvent regrtest's detection mechanis

[issue14819] Add `assertIsSubclass` and `assertNotIsSubclass` to `unittest.TestCase`

2012-05-15 Thread Patrick Smith
New submission from Patrick Smith : The attached patch adds two helper methods to `unittest.TestCase`: `assertIsSubclass` and `assertIsNotSubclass`. These methods are similar to the `assertIsInstance` and `assertIsNotInstance` methods that are already part of `unittest.TestCase`. They allow on

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-15 Thread Alan Kennedy
Changes by Alan Kennedy : -- nosy: +amak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue14818] C implementation of ElementTree causes regressions

2012-05-15 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13156] _PyGILState_Reinit assumes auto thread state will always exist which is not true.

2012-05-15 Thread Daniel Franke
Daniel Franke added the comment: Just FYI, I've lately been trying to track down a different threading-related bug, and I think the fix for this one also fixed that one by accident. Leave the following program running for a while under python-2.7.2: ---snip--- import subprocess import threadi

[issue14807] Move tarfile.filemode() into stat module

2012-05-15 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Thanks. It should now be fixed. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue14807] Move tarfile.filemode() into stat module

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 539fbd6e58f6 by Giampaolo Rodola' in branch 'default': #14807: fix bb failure due to symlink test relying on hard-coded permissions http://hg.python.org/cpython/rev/539fbd6e58f6 -- ___ Python tracker

[issue14584] Add gzip support to xmlrpc.server

2012-05-15 Thread Ross Lagerwall
Ross Lagerwall added the comment: The server encodes the response if the length of the response exceeds self.encode_threshold, 1400 (presumably there's no point in compression if the data fits in the MTU anyway). -- nosy: +rosslagerwall ___ Python

[issue14807] Move tarfile.filemode() into stat module

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Buildbot failures: http://www.python.org/dev/buildbot/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/2540 http://www.python.org/dev/buildbot/all/builders/x86%20Tiger%203.x/builds/4572 -- status: closed -> open ___ P

[issue14818] C implementation of ElementTree causes regressions

2012-05-15 Thread Ezio Melotti
Ezio Melotti added the comment: As I wrote on the other issue: > It seems to me that namespaces are actually supported, but they are > accepted only as positional args and not keyword args, so this should > be easy to fix. I can prepare a patch unless someone else is faster than me.

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

2012-05-15 Thread anatoly techtonik
anatoly techtonik added the comment: It doesn't seem that requires parameter is honored by pip. Should we document install_requires instead? -- ___ Python tracker ___ ___

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Markus added the comment: As advised I opened a new bug on this: http://bugs.python.org/issue14818 -- ___ Python tracker ___ ___ Pyth

[issue14818] C implementation of ElementTree causes regressions

2012-05-15 Thread Markus
New submission from Markus : The C implementation of ElementTree which is the default by python3.3 [1] does not accept the namespaces keyword for Element/ElementTree.find(all|iter|...) and maybe others. [1] http://bugs.python.org/issue13988 -- components: Library (Lib) messages: 1607

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I initially came across this because I got some warnings from > regrtest.py about changed state, when I was trying to implement a > TestSMTPServer class (derived from smtpd.SMTPServer) to test the > SMTPHandler in logging. If you get a warning, it means your

[issue14817] pkgutil.extend_path has no tests

2012-05-15 Thread Eric V. Smith
New submission from Eric V. Smith : Subject says it all. There are also no tests of .pkg files. -- components: Tests keywords: easy messages: 160751 nosy: eric.smith priority: normal severity: normal status: open title: pkgutil.extend_path has no tests _

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Chris Rebert
Chris Rebert added the comment: >> for key, value in pairs: >> if key in pairs: > > "if key in obj:"? Yes, obviously. :-) It wrote those very late at night. @Ezio: These were per Éric's feedback but would be for a separate bug/patch. -- _

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Ezio Melotti
Ezio Melotti added the comment: It seems to me that namespaces are actually supported, but they are accepted only as positional args and not keyword args, so this should be easy to fix. -- ___ Python tracker

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Temporary very ugly workaround (before importing xml.etree.ElementTree) is: import sys sys.modules["_elementtree"] = None -- ___ Python tracker _

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Markus (cmn): Please file a separate issue, which will be a release blocker for 3.3 release. (It's not the only regression.) -- ___ Python tracker __

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Markus added the comment: The file was bad, sorry. re-attached -- Added file: http://bugs.python.org/file25599/findall_takes_no_keywords_anymore.py ___ Python tracker ___ _

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Changes by Markus : Removed file: http://bugs.python.org/file25598/findall_takes_no_keywords_anymore.py ___ Python tracker ___ ___ Python-bug

[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree

2012-05-15 Thread Markus
Markus added the comment: Hi, the C implementation of ElementTree do not support namespaces for find/all/... . To me this is a serious regression, as I rely on ElementTree namespace support, and 3.3 would break it with this change. Breaking namespace support is a fundamental problem. Please

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Are there any features which make VS 2010 easier to use for us? Not for us, but for our users. Users request to build Python with VS 2010, because that's all they have. It's already a major pain for Python Windows developers to discover that they can't build

[issue13968] Support recursive globs

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm looking at the tests and I don't understand why '**/bcd/*' should match 'a/bcd/efg/ha'. Am I missing something? -- ___ Python tracker ___

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Brian Curtin
Brian Curtin added the comment: > Are there any features which make VS 2010 easier to use for us? I don't do much with the IDE besides the basics of writing the code and building it, so I can't really say if it makes anything easier on us. I think the change is just going to be doing the same

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Stefan Krah
Changes by Stefan Krah : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Vinay Sajip
Vinay Sajip added the comment: > So if we add a map argument to that and only pass it to socket if it > is non-None, wouldn't that maintain backward compatibility with > current asyncore behavior? Sorry I was being a bit dense ... it's been a while since I looked at this. I think you are right

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2012-05-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset b82178b07e0f by Senthil Kumaran in branch '2.7': Issue12541 - Add UserWarning for unquoted realms http://hg.python.org/cpython/rev/b82178b07e0f New changeset b5b38bda9fc4 by Senthil Kumaran in branch '3.2': Issue12541 - Add UserWarning for unquoted

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2012-05-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: this issue is taken care. Both in accepting unquoted Realm for basic auth leniently and then raising a UserWarning when encountering this case. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed _

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This is free software. If you don't want to care, you don't have to. Of course. I'm just pointing this out in relation with the fact that we don't have many Windows-based developers :-) > I expect that most occasional contributors > will find it easier to us

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2012-05-15 Thread Éric Araujo
Éric Araujo added the comment: > it would helpful to add 'tel' to uses_netloc How so? The tel scheme does not use a netloc. -- ___ Python tracker ___ _

[issue14133] improved PEP 409 implementation

2012-05-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2012/5/15 Georg Brandl : > > Georg Brandl added the comment: > > I hope you're not disappointed when that PEP doesn't show up in the release > notes :) It gives me more peace of mind than any release note ever could. :) -- ___

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-15 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14072] urlparse on tel: URI-s misses the scheme in some cases

2012-05-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Ezio, The patch is fine and the check is correct. I was thinking if by removing int() based verification are we missing out anything on port number check. But looks like we wont as the int() previously is done to find the proper scheme and url part for t

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Well, VS 2010 is probably a multi-GB download and install. Besides, > having to juggle between two different VS versions will quickly become > confusing. Sure. However, it is not feasible to keep the build systems for many VS versions up-to-date, just becaus

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread R. David Murray
R. David Murray added the comment: But it is create_socket you want to change. So if we add a map argument to that and only pass it to socket if it is non-None, wouldn't that maintain backward compatibility with current asyncore behavior? Neither asyncore nor asynchat calls create_socket, a

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-15 Thread EungJun Yi
EungJun Yi added the comment: Hynek, I have fixed them and upload the patch, rfc6585-rev2.patch. -- ___ Python tracker ___ ___ Python

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-15 Thread EungJun Yi
Changes by EungJun Yi : Added file: http://bugs.python.org/file25597/rfc6585.patch ___ Python tracker ___ ___ Python-bugs-list mailing list Un

  1   2   >