[issue13935] Tarfile - Fixed GNU tar header base-256 handling

2012-02-03 Thread Lars Gustäbel
Changes by Lars Gustäbel : -- assignee: -> lars.gustaebel nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10487] http.server doesn't process Status header from CGI scripts

2012-02-03 Thread Éric Araujo
Changes by Éric Araujo : -- title: http.server - doesn't process Status: header from CGI scripts -> http.server doesn't process Status header from CGI scripts versions: +Python 3.3 -Python 3.2 ___ Python tracker _

[issue13893] Make CGIHTTPServer capable of redirects (and status other than 200)

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Can someone assess if this is actually a duplicate of #10487 or something else? Thanks -- nosy: +eric.araujo ___ Python tracker ___

[issue13893] Make CGIHTTPServer capable of redirects (and status other than 200)

2012-02-03 Thread Éric Araujo
Changes by Éric Araujo : -- keywords: +needs review stage: -> test needed versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.4 ___ Python tracker ___ _

[issue13879] Argparse does not support subparser aliases in 2.7

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Ah, I did not see that your first message talked about the dev doc, which is 3.3. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue13934] sqlite3 test typo

2012-02-03 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: -> ghaering keywords: +needs review nosy: +ghaering stage: -> patch review versions: +Python 2.7, Python 3.2 ___ Python tracker ___ __

[issue13773] Support sqlite3 uri filenames

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: [Amaury] > The test function should use "from test.support import TESTFN" to get > a temporary file name I believe that TESTFN predates tempfile (and the tempfile helpers in regrtest and test.support) and is now seen as an ugly relic (at least by me :) [poq] >> I

[issue12955] urllib.request example should use "with ... as:"

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Either we find a commonly used stdlib class that is not a context manager but has a close method and is not going to become a context manager (I can’t see why such a thing would be), or we can add something like: “closing is useful with code that you can’t chang

[issue13910] test_packaging is dependent on dict ordering.

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report; it was not obvious (due to title/scope change) that there was already one :) I’m on this. -- assignee: -> eric.araujo resolution: -> duplicate stage: test needed -> committed/rejected status: open -> closed superseder: -> pysetu

[issue13712] pysetup create should not convert package_data to extra_files

2012-02-03 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +package_data only allows one glob per-package ___ Python tracker ___ ___ Python-bugs-list m

[issue13937] multiprocessing.ThreadPool.join() blocks indefinitely.

2012-02-03 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13938] 2to3 fails to convert types.StringTypes appropriately

2012-02-03 Thread Mark Hammond
New submission from Mark Hammond : test_types.py converts "types.StringTypes" to "str" - but types.StringTypes is a tuple, so expressions like "type(x) in type.StringTypes" fails after conversion with "TypeError: argument of type 'type' is not iterable" Attaching a fix and test. Note that the

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume you intend regex to match the spec rather than bugs. So if re has a bug in an obsure corner case and the spec is ambiguous, as I have the impression is the case here, using the interpretation embodied in regex would avoid creating a conflict. -

[issue13929] fnmatch to support escape characters

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The doc chapters are entitled "fnmatch — Unix filename pattern matching" and "glob — Unix style pathname pattern expansion". The first explicitly disclaims the feature you request: "Be aware there is no way to quote meta-characters.", suggests using re for an

[issue13933] IDLE:not able to complete the hashlib module

2012-02-03 Thread Ramchandra Apte
Ramchandra Apte added the comment: I am using Ubuntu 11.04 with Python 3.2.2 from the package reprositeries (binaries) -- ___ Python tracker ___ ___

[issue1813] Codec lookup failing under turkish locale

2012-02-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue13932] If some test module fails to import another module unittest reports a very misleading message

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +Tests nosy: +ezio.melotti, michael.foord ___ Python tracker ___ ___ Python-bugs-list maili

[issue13933] IDLE:not able to complete the hashlib module

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ramchandra: what OS and Python version? Please always include in reports. I verified on win7,3.2.2, with hashlib versus itertools, idlelib, heapq, trace. (On my new machine, popup is so fast I do not need .) In fact, 'hashlib.' and results in a tab to next t

[issue8418] Crash 0xc0000417 STATUS_INVALID_CRUNTIME_PARAMETER on program exit

2012-02-03 Thread Mark Hammond
Mark Hammond added the comment: See also http://bugs.python.org/issue13038 - same exception but in a different content, but the underlying cause may be similar. -- nosy: +mhammond ___ Python tracker __

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2012-02-03 Thread Matthew Barnett
Matthew Barnett added the comment: This should answer that question: >>> re.findall(r"[\A\C]", r"\AC") ['C'] >>> regex.findall(r"[\A\C]", r"\AC") ['A', 'C'] The behaviour of regex is intended to match that of re for backwards compatibility. -- ___

[issue7833] bdist_wininst installers fail to load extensions built with Issue4120 patch

2012-02-03 Thread Mark Hammond
Mark Hammond added the comment: Actually, I think this is OK - the reference to the "x86" is in the tests and those tests don't actually perform a build, just check the manifest is detected and stripped (ie, the test should still work fine on 64bit boxes). Ideally the test could also check a

[issue13911] test_trace depends on dict repr() ordering

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +belopolsky stage: -> test needed versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-l

[issue13910] test_packaging is dependent on dict ordering.

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +alexis, eric.araujo, tarek stage: -> test needed versions: +Python 3.3 ___ Python tracker ___ _

[issue13909] Ordering of free variables in dis is dependent on dict ordering.

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ncoghlan stage: -> test needed versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-lis

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry Martin, I see you already said that. Anyway, I closed other three in favor of this one. -- ___ Python tracker ___ ___

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: #5218 is a 4th duplicate, also with a patch to the ceval loop and test. -- nosy: +georg.brandl, gpolo, pitrou ___ Python tracker ___ ___

[issue13915] Update Tutorial 6.1.3 for PEP 3145

2012-02-03 Thread John Roth
John Roth added the comment: I apologize for not submitting this in patch format, but I don't have a development system available. I suggest replacing the entire 6.1.3 section with: To speed up loading modules, Python caches the compiled version of each module in the __pycache__ directory u

[issue5218] Check for tp_iter in ceval:ext_do_call before overriding exception message

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is one of 4 duplicate issues, 3 with somewhat similar patches, with nearly disjoint nosy lists. Consolidating. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed superseder: -> Function calls taking a generator as star argumen

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ron_adam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: #13904 is another dup, with patches to test and ceval. I asked that they be reloaded to this issue. -- nosy: +ncoghlan versions: -Python 3.1 ___ Python tracker __

[issue13904] Generator as *args: TypeError replaced

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I unlinked to see if I could link it to 4806 instead. Did not work. Please nosy yourself there and upload your files to *that* issue. -- nosy: +terry.reedy resolution: -> duplicate status: open -> closed superseder: -> Function calls taking a generat

[issue13893] Make CGIHTTPServer capable of redirects (and status other than 200)

2012-02-03 Thread Glenn Linderman
Glenn Linderman added the comment: This seems related to issue 10487. Some of the code is different in Python 3. Since this is an enhancement, it seems unlikely to ever be accepted for 2.x, which is in bugfix-only mode. Sadly, most hosting companies are still running Python 2.x, with many as

[issue13904] Generator as *args: TypeError replaced

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : Added file: http://bugs.python.org/file24358/typeerror-replaced-in-stararg.diff ___ Python tracker ___ ___ Python-

[issue13904] Generator as *args: TypeError replaced

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file24358/typeerror-replaced-in-stararg.diff ___ Python tracker ___ ___ Pyth

[issue11944] Function call with * and generator hide exception raised by generator.

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> duplicate status: open -> closed superseder: -> Function calls taking a generator as star argument can mask TypeErrors in the generator ___ Python tracker __

[issue13899] re pattern r"[\A]" should work like "A" but matches nothing. Ditto B and Z.

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does anyone have regex installed, to see what it does? -- nosy: +terry.reedy ___ Python tracker ___ ___

[issue13892] distutils handling of windows manifest isn't optimal

2012-02-03 Thread Mark Hammond
Mark Hammond added the comment: I thought this shouldn't be a problem - that as pythonxx.dll contains a manifest with the references and also contains hoops to ensure its "activation context" is used when loading dynamic modules, that things should work correctly. The scenario you outline is

[issue13896] Make shelf instances work with 'with' as context managers

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: contextlib.closing is an adapter for using objects that have a close method but have not be modernized to be context managers by having _enter__ and __exit__ methods added. Its doc gives the example with closing(urlopen('http://www.python.org')) as page: This

[issue12955] urllib.request example should use "with ... as:"

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Senthil: http://docs.python.org/dev/library/contextlib.html#contextlib.closing currently has this example: from urllib.request import urlopen with closing(urlopen('http://www.python.org')) as page: which is misleading in that the object returned from urlopen

[issue13830] codecs error handler is called with a UnicodeDecodeError with the same args

2012-02-03 Thread STINNER Victor
STINNER Victor added the comment: Codec encoders reuse the same exception object for speed, but set some attributes (start, end and reason). Recreate the args tuple each time that a attribute is set. UnicodeEncodeError and UnicodeDecodeError should maybe override args getter to create a new t

[issue13926] pydoc - stall when requesting a list of available modules in the online help utility

2012-02-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: digit transposition corrected 12902 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue13926] pydoc - stall when requesting a list of available modules in the online help utility

2012-02-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- superseder: Clarify sentence in tutorial -> help("modules") executes module code ___ Python tracker ___ ___

[issue13882] PEP 410: Use decimal.Decimal type for timestamps

2012-02-03 Thread STINNER Victor
STINNER Victor added the comment: Even if some people dislike the idea of adding datetime.datetime type, here is a patch implementing it (it requires time_decimal-XX.patch). The patch is at least a proof-of-concept that it is possible to change the internal structure without touching the publ

[issue13926] pydoc - stall when requesting a list of available modules in the online help utility

2012-02-03 Thread Ned Deily
Ned Deily added the comment: Jeroen, if you try running "help()" from a command-line python2.7, rather than in IDLE, what results do you get? Most likely, Python will crash there and there should be an exception and traceback printed, in which case the problem has nothing to do with IDLE dir

[issue13861] test_pydoc failure

2012-02-03 Thread Ned Deily
Ned Deily added the comment: For the as-yet unreleased changes for Issue7425, I added some test cases for pydoc -k (apropos) and chose a keyword of "nothing", a keyword which has no hits in the standard library. Unfortunately, you both installed third-party packages that *do* have hits for "

[issue13861] test_pydoc failure

2012-02-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset e5f2c04055a2 by Ned Deily in branch '2.7': Issue #13861: Prevent test_apropos* test case failures in test_pydoc. http://hg.python.org/cpython/rev/e5f2c04055a2 New changeset 5eb47e1732a0 by Ned Deily in branch '3.2': Issue #13861: Prevent test_aprop

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Lakin Wecker
Lakin Wecker added the comment: Yeah - good point, and I agree. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13937] multiprocessing.ThreadPool.join() blocks indefinitely.

2012-02-03 Thread Ben Timby
New submission from Ben Timby : If you instantiate a ThreadPool, then call map() with an empty list, the join() method will block indefinitely on self._result_handler.join() $ python > from multiprocessing.pool import ThreadPool > t = ThreadPool(1) > t.map_async(lambda x: x, []) > t.close() > t

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Tim Peters
Tim Peters added the comment: It is odd, but really no odder than "zero values" of other types evaluating to false in Boolean contexts ;-) Closing as "invalid". -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Lakin Wecker
Lakin Wecker added the comment: Although I find it odd, you are all correct. It is documented. (I don't know how I missed that when I read those docs looking for that exact documentation). It is consistent with the rest of python. Do I close this? Do you guys? I'm fine with closing it. Tha

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Tim Peters
Tim Peters added the comment: >From the docs, at: http://docs.python.org/library/datetime.html#time-objects """ in Boolean contexts, a time object is considered to be true if and only if, after converting it to minutes and subtracting utcoffset() (or 0 if that’s None), the result is non-zero

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: This is by design. I don't have a reference, but I do remember this being discussed. Suggestions for improving the documentation are welcome. -- ___ Python tracker __

[issue12993] prepared statements in sqlite3 module

2012-02-03 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Georg Brandl
Georg Brandl added the comment: BTW, "being a valid time" is not a good argument: 0, "" or False are all valid instances of their types. -- ___ Python tracker ___ _

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Georg Brandl
Georg Brandl added the comment: It must be by design -- someone has implemented a __bool__ (formerly __nonzero__) method; otherwise all objects would be true. -- nosy: +georg.brandl, lemburg ___ Python tracker __

[issue5300] distutils ignores file permissions

2012-02-03 Thread Patrick Andrew
Changes by Patrick Andrew : -- components: +Distutils2 -Distutils nosy: +alexis title: build_module failure -> distutils ignores file permissions versions: +3rd party -Python 2.7 ___ Python tracker _

[issue5300] build_module failure

2012-02-03 Thread Patrick Andrew
Changes by Patrick Andrew : -- title: build_module faulre -> build_module failure ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5300] build_module faulre

2012-02-03 Thread Patrick Andrew
Changes by Patrick Andrew : -- components: +Distutils -Distutils2 title: Distutils ignores file permissions -> build_module faulre versions: +Python 2.7 -3rd party ___ Python tracker

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Lakin Wecker
Lakin Wecker added the comment: Right. I've updated my code to be more correct: instead of: if not start_time: start_time = default_time it now reads: if start_time is None: start_time = default_time which operates correctly and works fine for my case, I just thought it was odd tha

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread R. David Murray
Changes by R. David Murray : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread R. David Murray
R. David Murray added the comment: I don't think I would have ever thought of testing a datetime for its truth value. But the behavior you observe is consistent with the rest of Python: 0 is false. I wonder if this is by design or by accident. -- nosy: +r.david.murray _

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Lakin Wecker
Changes by Lakin Wecker : -- components: +Library (Lib) type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Lakin Wecker
Lakin Wecker added the comment: I'm updating the versions to the ones that I've actually tried it on - this is not an exhaustive search at this point. -- versions: +Python 2.6, Python 2.7 ___ Python tracker _

[issue13936] datetime.time(0, 0, 0) evaluates to False despite being a valid time

2012-02-03 Thread Lakin Wecker
New submission from Lakin Wecker : midnight is represented by datetime.time(0,0,0). However, this time (unlike all other valid times, including datetime.time(0,0,1)) evalutes to false in if conditions: import datetime if datetime.time(0,0,0): print "datetime.time(0,0,0) is not a bug!" els

[issue6210] Exception Chaining missing method for suppressing context

2012-02-03 Thread Ethan Furman
Ethan Furman added the comment: I just noticed that no one is assigned to this issue -- anybody on the nosy list able to review? -- ___ Python tracker ___ __

[issue13124] Add "Running a Build Slave" page to the devguide

2012-02-03 Thread Stefan Krah
Stefan Krah added the comment: Eric Snow wrote: > Incidentally, the second patch is a bit cleaner than the first. Yes, indeed it is. :) To prevent a misunderstanding: In my last mail I was talking about the "Build Slaves and Security" additions to: http://wiki.python.org/moin/BuildBot --

[issue12142] Reference cycle when importing ctypes

2012-02-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12993] prepared statements in sqlite3 module

2012-02-03 Thread poq
poq added the comment: This can be closed. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12142] Reference cycle when importing ctypes

2012-02-03 Thread poq
poq added the comment: I've attached a patch for the _array_type change. The long double fix is probably dependent on PEP3118 (#3132). -- keywords: +patch Added file: http://bugs.python.org/file24413/ctypes-leak.patch ___ Python tracker

[issue1625] bz2.BZ2File doesn't support multiple streams

2012-02-03 Thread Nadeem Vawda
Nadeem Vawda added the comment: > In fact, you can create those files from python, files that python can not > unpack later. Really? How so? BZ2File only started accepting the "a" mode in 3.3 (thanks to Nir's patch for this issue, actually). > If the refusal of backporting this to 3.2 and 2.7

[issue13935] Tarfile - Fixed GNU tar header base-256 handling

2012-02-03 Thread Oskar Wycislak
New submission from Oskar Wycislak : On line 199 in tarfile.py comparison should be done without chr() because s[0] is an integer. Also on line 208 there should be no ord() for the same reason. I think this is fixed in Python 3.3 I'm sorry for not providing a patch but it's late and I do not h

[issue13773] Support sqlite3 uri filenames

2012-02-03 Thread poq
poq added the comment: > Can you open a bug report for that? Opened #13934. > I think the doc could link to the sqlite.org doc about URIs. I considered this, but the rest of the sqlite3 module documentation doesn't link to the sqlite.org doc pages either. There is only a link to http://www.

[issue13934] sqlite3 test typo

2012-02-03 Thread poq
New submission from poq : The test CheckCollationIsUsed in Lib/sqlite3/test/hooks.py never runs because it checks the wrong version tuple. Patch attached. -- components: Tests files: sqlite3-test-hooks.patch keywords: patch messages: 152548 nosy: poq priority: normal severity: normal st

[issue13930] lib2to3 ability to output files into a different directory and alter their names

2012-02-03 Thread Gregory P. Smith
Changes by Gregory P. Smith : Added file: http://bugs.python.org/file24411/a6cd0518495e.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue13930] lib2to3 ability to output files into a different directory and alter their names

2012-02-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: while the initial patch below was against 3.1 I'm only intending to commit this to 3.2, 3.3 and 2.7. Feature backports on lib2to3 are allowed per http://mail.python.org/pipermail/python-dev/2011-December/115089.html. -- nosy: +benjamin.peterson ver

[issue13807] logging.Handler.handlerError() may raise AttributeError in traceback.print_exception()

2012-02-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 813a34170ac5 by Vinay Sajip in branch '3.1': Revert fix for #13807 mistakenly applied in this branch. http://hg.python.org/cpython/rev/813a34170ac5 -- ___ Python tracker

[issue13879] Argparse does not support subparser aliases in 2.7

2012-02-03 Thread Tim Willis
Tim Willis added the comment: The documentation appears to be up to date in the current 2.7 repository, so this can probably be marked as closed/fixed. -- ___ Python tracker __

[issue13124] Add "Running a Build Slave" page to the devguide

2012-02-03 Thread Eric Snow
Eric Snow added the comment: No problem, Stefan. :) The main motivation was to capture the discussion at the time so that something actually came of it. Adding info to the devguide, essentially the catalog/how-to of core dev activities, was meant to simply provide another clear avenue for t

[issue6210] Exception Chaining missing method for suppressing context

2012-02-03 Thread Ethan Furman
Ethan Furman added the comment: > Because Ellipsis is now the default value for __cause__, > 'raise ... from Ellipsis' is treated the same as 'raise ...' Not exactly true -- if ... is a new exception then they are the same; if ... is a caught exception that is being reraised, __cause__ will be

[issue13463] Fix parsing of package_data

2012-02-03 Thread Nick Wilson
Changes by Nick Wilson : -- nosy: +njwilson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13931] os.path.exists inconsistent between 32 bit and 64 bit

2012-02-03 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> invalid stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13931] os.path.exists inconsistent between 32 bit and 64 bit

2012-02-03 Thread zxw
zxw added the comment: Ok, thanks, that fixed it. I'll probably post some example code for anyone else who stumbles across this with the same problem, don't have the time right now however. -- status: open -> closed ___ Python tracker

[issue13889] str(float) and round(float) issues with FPU precision

2012-02-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Windows stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue13889] str(float) and round(float) issues with FPU precision

2012-02-03 Thread Mark Dickinson
Mark Dickinson added the comment: General shape of the patch looks good. I'd suggest using a mask of _MCW_PC | _MCW_RC instead of just _MCW_PC, so that the rounding mode is also set correctly. Probably rarely an issue in practice, but it's the same thing that we're doing on Linux. If this i

[issue13777] socket: communicating with Mac OS X KEXT controls

2012-02-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the patch. Committed with an additional fix in refcounting. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue13777] socket: communicating with Mac OS X KEXT controls

2012-02-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset aa3680d2c24d by Martin v. Löwis in branch 'default': Issue #13777: Add PF_SYSTEM sockets on OS X. http://hg.python.org/cpython/rev/aa3680d2c24d -- nosy: +python-dev ___ Python tracker

[issue13777] socket: communicating with Mac OS X KEXT controls

2012-02-03 Thread Michael Goderbauer
Michael Goderbauer added the comment: Here is the regenerated patch. To write a test case I would need a PF_SYSTEM socket to connect to. As far as I know Mac OS X doesn't provide a demo socket for this. -- Added file: http://bugs.python.org/file24410/patch2.patch

[issue11104] distutils sdist ignores MANIFEST

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Obviously I can’t fix past releases. Sometimes the time machine is not available :) -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue11104] distutils sdist ignores MANIFEST

2012-02-03 Thread Stephen Thorne
Stephen Thorne added the comment: Yep - 2.7.2 was released 11th June 2011, the fix was committed Aug 1st 2011. So it won't be in the current 2.7 release. -- ___ Python tracker

[issue11104] distutils sdist ignores MANIFEST

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: > The changesets are not in the release27-maint branch. Where did you look? This looks like a Subversion branch name, but now we’re using Mercurial. If you look a few messages up, you’ll see that a changeset was committed to the 2.7 branch and will be included

[issue11104] distutils sdist ignores MANIFEST

2012-02-03 Thread John Dennis
John Dennis added the comment: The changesets are not in the release27-maint branch. sdist still does not generate a correct archive for release, this is a very serious regression. -- resolution: fixed -> status: closed -> open ___ Python tracker

[issue13861] test_pydoc failure

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Adding Ned, who refactored these tests, to nosy. -- nosy: +ned.deily ___ Python tracker ___ ___ Python

[issue13861] test_pydoc failure

2012-02-03 Thread Stefan Krah
Stefan Krah added the comment: Eric Araujo wrote: > docutils is the first package that???s found in my user site-packages; > can you tell if your Crypto package is in that same location? The package is here: /usr/local/lib/python3.3/site-packages/Crypto/SelfTest/Protocol/test_AllOrNothing.py

[issue13933] IDLE:not able to complete the hashlib module

2012-02-03 Thread Ramchandra Apte
New submission from Ramchandra Apte : No completion appears when I import hashlib in IDLE and type in "hashlib." and press Tab to complete. With any other module it works. -- components: IDLE, Library (Lib) messages: 152531 nosy: ramchandra.apte priority: normal severity: normal status:

[issue13824] argparse.FileType opens a file and never closes it

2012-02-03 Thread David Layton
David Layton added the comment: Eric, checked that the file exists But then you’d run into race conditions. The only sure was to say if a file can be opened is to open it. I think you misunderstand me. I am NOT suggesting that you open and close the file. I am saying that you should not o

[issue13777] socket: communicating with Mac OS X KEXT controls

2012-02-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: Also: Can you propose test cases for this socket family? -- ___ Python tracker ___ ___ Python-bugs

[issue13830] codecs error handler is called with a UnicodeDecodeError with the same args

2012-02-03 Thread Walter Dörwald
Walter Dörwald added the comment: See this ancient posting about this problem: http://mail.python.org/pipermail/python-dev/2002-August/027661.html (see point 4.). So I guess somebody did finally complain! ;) The error attributes are documented in PEP 293. The existence of the attributes i

[issue13931] os.path.exists inconsistent between 32 bit and 64 bit

2012-02-03 Thread Tim Golden
Tim Golden added the comment: This is the Windows x64 file system redirector at work. I can't get through to msdn at the moment to get a link, but Google for those terms. -- nosy: +tim.golden ___ Python tracker _

[issue13777] socket: communicating with Mac OS X KEXT controls

2012-02-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: The patch fails to apply in configure.in. Can you please regenerate it? -- nosy: +loewis ___ Python tracker ___ __

[issue13932] If some test module fails to import another module unittest reports a very misleading message

2012-02-03 Thread Sébastien Barthélémy
New submission from Sébastien Barthélémy : If some test module (say, testmath) fails to import some other module, unittest reports a very misleading message: AttributeError: 'module' object has no attribute 'testmath' Would it be possible improve the message or, better, to simply make the te

  1   2   >