[issue14810] Bug in tarfile

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The tar file format does nt support timestamps before 1970. From http://sunsite.ualberta.ca/Documentation/Gnu/tar-1.13/html_chapter/tar_8.html POSIX tar format can represent time stamps in the range 1970-01-01 00:00:00 through 2242-03-16

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: Forgot to mention that I was running on Windows, 64-bit. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14811 ___

[issue14802] Python fails to compile with VC11 ARM configuration

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: In any case, there is a branch supporting Python as a metro app at http://hg.python.org/sandbox/loewis#win8app This may get folded back into Python at some point, but certainly not before Windows 8 is released. -- nosy: +loewis

[issue14798] pyclbr raises KeyError when the prefix of a dotted name is not a package

2012-05-15 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- keywords: +needs review nosy: +petri.lehtinen stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14798 ___

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Unicode nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14811 ___

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: Would you mind adding more information like the full traceback? By saying compilation error, I presume you mean the compilation of the t33a.py file into byte code (and not compilation of Python itself)? I can't reproduce it neither with the

[issue14133] improved PEP 409 implementation

2012-05-15 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: I hope you're not disappointed when that PEP doesn't show up in the release notes :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14133

[issue8996] Add a default role to allow writing bare `len` instead of :func:`len`

2012-05-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8996 ___ ___ Python-bugs-list

[issue14804] Wrong defaults args notation in docs

2012-05-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Are you referring to #8350? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14804 ___ ___

[issue1294959] Problems with /usr/lib64 builds.

2012-05-15 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Éric Araujo wrote: Éric Araujo mer...@netwok.org added the comment: On Mar 29, 2011, at 10:12 PM, Matthias Klose wrote: no, it looks for headers and libraries in more directories. But really, this whole testing for paths is wrong.

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: New revision per Éric's Rietveld feedback. Sidenote: Is there any way to get notified of these reviews? I only saw it because I happened to click the review link on a lark. -- Added file:

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: The import jsons were left for uniformity with the other code samples in the module's docs. Also, here's what the pedantically-strict recipes might look like: def _reject_inf_nan(string): if string in {'-Infinity', 'Infinity', 'NaN'}:

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Thanks for the patch, I left more comments on the review page. IMHO it would be better to list the differences in a bullet list and expand later, rather than having a section for the parser and one for the generator. AFAIU the differences

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Further copyediting. -- Added file: http://bugs.python.org/file25595/json.rst.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14674

[issue14674] Link to explain deviations from RFC 4627 in json module docs

2012-05-15 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: Reflect broader scope -- title: Add link to RFC 4627 from json documentation - Link to explain deviations from RFC 4627 in json module docs ___ Python tracker rep...@bugs.python.org

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Glenn Linderman
Glenn Linderman v+pyt...@g.nevcal.com added the comment: There is no traceback. Here is the text of the Syntax error. d:\my\im\infilesc:\python32\python.exe d:\my\py\t33a.py -h File d:\my\py\t33a.py, line 2 SyntaxError: Non-UTF-8 code starting with '\xc3' in file d:\my\py\t33a.py on line 3,

[issue14805] Support display of both __cause__ and __context__

2012-05-15 Thread Patrick Westerhoff
Changes by Patrick Westerhoff patrickwesterh...@gmail.com: -- nosy: +poke ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14805 ___ ___

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: for key, value in pairs: if key in pairs: if key in obj:? -- title: Link to explain deviations from RFC 4627 in json module docs - Add link to RFC 4627 from json documentation

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: IMHO, it would be sufficient to have a simple bullet list of differences and notes or warnings in places where Python can generate non-standard JSON (top-level scalars, inf and nan, non-utf8 encoded strings). --

[issue14803] Enhanced command line features for the runpy module

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: As Ned notes, to cover *implicit* creation of Python subprocesses an environment based solution would be needed to ensure the subprocesses adopt the desired settings. So why aren't you proposing an environment-based solution instead? :) To use

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: You are right, file system encoding was platform dependent, not file encoding. This space-after-parentheses trigger is odd; I'm adding the Windows guys to the ticket. Please tell us also your exact version of Windows. -- components:

[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-05-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Because I was thinking about a specific case where I *could* configure how the subprocesses were invoked (launching a test server for a web application). It took Ned's comment to remind me of the original use case (i.e. coverage statistics

[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-05-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Actually, there's another use case for you: export PYTHONRUNFIRST=import faulthandler; faulthandler.enable() application.py All subprocesses launched by the application will now have faulthandler enabled, *without* modifying the application.

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: I tried to build PC/VS9.0/pcbuild.sln using Visual Studio 2008, but it failed: 1-- Build started: Project: make_buildinfo, Configuration: Release Win32 -- 2-- Build started: Project: kill_python, Configuration: Debug x64 --

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I tried to reproduce but failed to compile a Windows Python - see issue14813. -- components: +Windows nosy: +pitrou versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: I can reproduce it on Linux. Minimal example: $ ./python -c open('longline.py', 'w').write('#' + repr('\u00A1' * 4096) + '\n') $ ./python longline.py File longline.py, line 1 SyntaxError: Non-UTF-8 code starting with '\xc2' in file

[issue14810] Bug in tarfile

2012-05-15 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: This issue is related to issue13158 which deals with a GNU tar specific extension to the original tar format. In that issue a negative number in the uid/gid fields caused problems. In your case the problem is a negative mtime field. Reading

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: And for Python 2.7 too. -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14811 ___

[issue14811] compile fails - UTF-8 character decoding

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Function decoding_fgets (Parser/tokenizer.c) reads line in buffer of fixed size 8192 (line truncated to size 8191) and then fails because line is cut in the middle of a multibyte UTF-8 character. --

[issue14811] Syntax error on long UTF-8 lines

2012-05-15 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- title: compile fails - UTF-8 character decoding - Syntax error on long UTF-8 lines ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14811

[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: For faulthandler and coverage would be more convenient option -M (run module with __name__='__premain__' (or something of the sort) and continue command line processing). -- ___ Python tracker

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Building with VS 2008 isn't officially supported anymore. If users want to continue to use VS 2008, they need to contribute patches. Preferably, the project files would be generated from the VS2010 project files, but for the moment,

[issue14810] Bug in tarfile

2012-05-15 Thread Hans Werner May
Hans Werner May nc-may...@netcologne.de added the comment: Out of curiosity: where did you get a file that was last modified in 1956? No idea, this was a jpeg file, probably downloaded from internet. Btw, on Linux you can manipulate the creation date with the touch command, so it is possible

[issue14803] Add feature to allow code execution prior to __main__ invocation

2012-05-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: No, that increases complexity and coupling, because it would only work for modules that were designed to work that way. Execution of a simple statement will work for any global state that can be modified from pure Python code (including

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-15 Thread Thomas Kluyver
Thomas Kluyver tak...@gmail.com added the comment: I've submitted the contributor agreement, though I've not yet heard anything back about it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14777

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Building with VS 2008 isn't officially supported anymore. If users want to continue to use VS 2008, they need to contribute patches. Well, VS 2010 is probably a multi-GB download and install. Besides, having to juggle between two different VS

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-15 Thread Thomas Kluyver
Thomas Kluyver tak...@gmail.com added the comment: ...And mere minutes after I said I hadn't heard anything, I've got the confirmation email. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14777

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-15 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: EungYun, After further research I've found two issue which you should fix before it can be checked in: - The multi-line strings are missing spaces at their line break (429 and 431). - The error codes are documented at

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-15 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: ...And mere minutes after I said I hadn't heard anything, I've got the confirmation email. :-) Congratulations! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14777

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-15 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: This issue tracks the incorporation of the ipaddress module into Python 3.3. Tasks to be completed: - add Lib/ipaddress.py from [1] - add Lib/test_ipaddress.py from [1] - create module reference docs from docstrings in [1] - add

[issue13952] mimetypes doesn't recognize .csv

2012-05-15 Thread Paul Cauchon
Changes by Paul Cauchon paulcauc...@gmail.com: -- nosy: +Paul.Cauchon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13952 ___ ___ Python-bugs-list

[issue14815] random_seed uses only 32-bits of hash on Win64

2012-05-15 Thread Martin v . Löwis
New submission from Martin v. Löwis mar...@v.loewis.de: random_seed has this code: long hash = PyObject_Hash(arg); On Win64, Py_hash_t is a 64-bit type, yet long is a 32-bit type, so this truncates. I think the computation should be done in Py_ssize_t. -- messages: 160720 nosy:

[issue14815] random_seed uses only 32-bits of hash on Win64

2012-05-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14815 ___ ___ Python-bugs-list

[issue14816] compilation failed on Ubuntu shared buildbot

2012-05-15 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: See http://www.python.org/dev/buildbot/all/builders/x86%20Ubuntu%20Shared%203.x First failing build is http://www.python.org/dev/buildbot/all/builders/x86%20Ubuntu%20Shared%203.x/builds/5955 -- components: Build messages: 160721 nosy:

[issue14777] Tkinter clipboard_get() decodes characters incorrectly

2012-05-15 Thread Andrew Svetlov
Andrew Svetlov andrew.svet...@gmail.com added the comment: I'm ok with last patch version. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14777 ___

[issue14804] Wrong defaults args notation in docs

2012-05-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Yes. Close as duplicate? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14804 ___ ___

[issue14804] Wrong defaults args notation in docs

2012-05-15 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: This issue is about documentation style of function signatures, not about missing keyword arguments in C functions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14804

[issue14494] __future__.py and its documentation claim absolute imports became mandatory in 2.7, but they didn't

2012-05-15 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14494 ___ ___ Python-bugs-list

[issue14773] fwalk breaks on dangling symlinks

2012-05-15 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx added the comment: I just realized it doesn't really make sense because if a file disappears for real, we'll get another FileNotFoundException when checking whether it's a symlink and the continue is never reached. So behold v3. :) This time, I have tested it by

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

2012-05-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 492e6c6a01bb by Giampaolo Rodola' in branch 'default': #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning.

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

2012-05-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14807

[issue14800] stat.py constant comments + docstrings

2012-05-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- assignee: - giampaolo.rodola keywords: +easy -patch stage: - committed/rejected status: open - closed type: - enhancement ___ Python tracker rep...@bugs.python.org

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

2012-05-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- assignee: - giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14807 ___ ___

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: If asyncore and asynchat are (mostly?) supporting an alternate socket map, why is it necessary to copy create_socket? Shouldn't we be fixing create_socket in asyncore instead? Well, I don't see how this can be done along with keeping

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Changing it in asyncore is fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11959 ___

[issue14804] Wrong defaults args notation in docs

2012-05-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Indeed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14804 ___ ___ Python-bugs-list

[issue14773] fwalk breaks on dangling symlinks

2012-05-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14773 ___ ___

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-15 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14814 ___ ___

[issue14773] fwalk breaks on dangling symlinks

2012-05-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cbe7560d4443 by Hynek Schlawack in branch 'default': #14773: Fix os.fwalk() failing on dangling symlinks http://hg.python.org/cpython/rev/cbe7560d4443 -- nosy: +python-dev

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2012-05-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3e10d0148f79 by Senthil Kumaran in branch '2.7': Issue #12541: Be lenient with quotes around Realm field with HTTP Basic Authentation in urllib2. http://hg.python.org/cpython/rev/3e10d0148f79 New changeset

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-15 Thread EungJun Yi
Changes by EungJun Yi semtlen...@gmail.com: Added file: http://bugs.python.org/file25597/rfc6585.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14809 ___

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-15 Thread EungJun Yi
EungJun Yi semtlen...@gmail.com added the comment: Hynek, I have fixed them and upload the patch, rfc6585-rev2.patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14809 ___

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

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

2012-05-15 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-15 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14809 ___ ___ Python-bugs-list

[issue14133] improved PEP 409 implementation

2012-05-15 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2012/5/15 Georg Brandl rep...@bugs.python.org: Georg Brandl ge...@python.org 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

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

2012-05-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: it would helpful to add 'tel' to uses_netloc How so? The tel scheme does not use a netloc. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14072

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-15 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14814 ___ ___

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2012-05-15 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com 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

[issue12541] Accepting Badly formed headers in urllib HTTPBasicAuth

2012-05-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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':

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14813 ___ ___ Python-bugs-list

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Brian Curtin
Brian Curtin br...@python.org 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

[issue13968] Support recursive globs

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org http://bugs.python.org/issue13968

[issue14813] Can't build under VS2008 anymore

2012-05-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de 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

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

2012-05-15 Thread Markus
Markus com...@gmx.ch 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

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

2012-05-15 Thread Markus
Changes by Markus com...@gmx.ch: Removed file: http://bugs.python.org/file25598/findall_takes_no_keywords_anymore.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13988 ___

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

2012-05-15 Thread Markus
Markus com...@gmx.ch 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 rep...@bugs.python.org http://bugs.python.org/issue13988

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

2012-05-15 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com 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 rep...@bugs.python.org

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

2012-05-15 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Temporary very ugly workaround (before importing xml.etree.ElementTree) is: import sys sys.modules[_elementtree] = None -- ___ Python tracker rep...@bugs.python.org

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

2012-05-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

[issue14674] Add link to RFC 4627 from json documentation

2012-05-15 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com 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. --

[issue14817] pkgutil.extend_path has no tests

2012-05-15 Thread Eric V. Smith
New submission from Eric V. Smith e...@trueblade.com: 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

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue14818] C implementation of ElementTree causes regressions

2012-05-15 Thread Markus
New submission from Markus com...@gmx.ch: 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)

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

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

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

2012-05-15 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: It doesn't seem that requires parameter is honored by pip. Should we document install_requires instead? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1635217

[issue14818] C implementation of ElementTree causes regressions

2012-05-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

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

2012-05-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue14584] Add gzip support to xmlrpc.server

2012-05-15 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com 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

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

2012-05-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 --

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

2012-05-15 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Thanks. It should now be fixed. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14807 ___

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

2012-05-15 Thread Daniel Franke
Daniel Franke dfra...@wellohorld.com 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

[issue14818] C implementation of ElementTree causes regressions

2012-05-15 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14818 ___

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-05-15 Thread Alan Kennedy
Changes by Alan Kennedy python-...@xhaus.com: -- nosy: +amak ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14814 ___ ___ Python-bugs-list mailing

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

2012-05-15 Thread Patrick Smith
New submission from Patrick Smith pjs...@gmail.com: 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

[issue11959] smtpd cannot be used without affecting global state

2012-05-15 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

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

2012-05-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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

  1   2   >