[issue14811] decoding_fgets() truncates long lines and fails with a SyntaxError("Non-UTF-8 code starting with...")

2012-05-16 Thread STINNER Victor
STINNER Victor 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. It looks like BUFSIZ is much smaller than 8192 on Windows:

[issue14825] Interactive Shell vs Executed code

2012-05-16 Thread Mark Dickinson
Mark Dickinson added the comment: It sounds like you're seeing the difference between this: >>> n = -7 >>> n ** 0 1 and this: >>> -7 ** 0 -1 This isn't a bug; it's to do with how Python expressions are parsed: in the second case, the expression is grouped as -(7 ** 0) rather than (-7) **

[issue14674] Add link to RFC 4627 from json documentation

2012-05-16 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file25592/json.rst.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14674] Add link to RFC 4627 from json documentation

2012-05-16 Thread Chris Rebert
Changes by Chris Rebert : Added file: http://bugs.python.org/file25606/json.rst.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14674] Add link to RFC 4627 from json documentation

2012-05-16 Thread Chris Rebert
Changes by Chris Rebert : Removed file: http://bugs.python.org/file25591/json.rst.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14817] pkgutil.extend_path has no tests

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: This has broken all 3.x buildbots. -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mai

[issue14824] reprlib documentation references string module

2012-05-16 Thread Chris Rebert
Chris Rebert added the comment: Patch. Though I ponder whether the expression in question might be equivalent to simply: type(obj).__name__.replace('_', ' ') -- keywords: +patch nosy: +cvrebert Added file: http://bugs.python.org/file25607/reprlib.rst.patch

[issue14826] urllib2.urlopen fails to load URL

2012-05-16 Thread Wichert Akkerman
New submission from Wichert Akkerman : There appears to be an odd networking issue with how urllib2 sends HTTP requests. Downloading an image from maw.liquifire.com gives an error: $ python -c 'import urllib2 ; urllib2.urlopen("http://maw.liquifire.com/maw?set=image[2302.000.13314 a]&call=url

[issue1602] windows console doesn't print or input Unicode

2012-05-16 Thread Glenn Linderman
Glenn Linderman added the comment: Has something incompatible changed between 3.2.2 and 3.2.3 with respect to this bug? I have a program that had an earlier version of the workaround (Michael's original, I think), and it worked fine, then I upgraded from 3.2.2 to 3.2.3 due to testing for iss

[issue1602] windows console doesn't print or input Unicode

2012-05-16 Thread Glenn Linderman
Glenn Linderman added the comment: Oh, and is this issues going to be fixed for 3.3, so we don't have to use the workaround in the future? -- ___ Python tracker ___

[issue11959] smtpd cannot be used without affecting global state

2012-05-16 Thread Vinay Sajip
Vinay Sajip added the comment: > Well, other tests manage it even without using a private socket map. > Leaving dangling sockets in the socket map could mean your code > forgets to close them, for example. This issue is not about getting test_logging to work in a particular way; test_logging i

[issue11959] smtpd cannot be used without affecting global state

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Given that asyncore's design allows for a socket map to be passed in > (at least in part - RDM's comment), ISTM that it should support this > consistently, and also that smtpd should support this mode of use. Well, I would argue that asyncore's design is thor

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 981aabe6ea2f by Hynek Schlawack in branch 'default': #14809: Add HTTP status codes from RFC 6585 to http.server and http.client http://hg.python.org/cpython/rev/981aabe6ea2f -- nosy: +python-dev ___ Pyth

[issue11959] smtpd cannot be used without affecting global state

2012-05-16 Thread Vinay Sajip
Vinay Sajip added the comment: > > Well, I would argue that asyncore's design is thoroughly broken, and > passing a socket map is a poor kludge to avoid global state; in a > sophisticated event loop, the socket map wouldn't be the only piece of > state to pass around. > I don't disagree with y

[issue14732] PEP 3121 Refactoring applied to _csv module

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2496602a56e5 by Antoine Pitrou in branch 'default': Issue #14732: The _csv module now uses PEP 3121 module initialization. http://hg.python.org/cpython/rev/2496602a56e5 -- ___ Python tracker

[issue14732] PEP 3121 Refactoring applied to _csv module

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the updated patch, Robin. I have now committed it to the default branch. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue14773] fwalk breaks on dangling symlinks

2012-05-16 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue14809] Add HTTP status codes introduced by RFC 6585

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: Thank you for your contribution to Python, EungJun! Just two small remarks: - Please sign and submit the contributor form from http://www.python.org/psf/contrib/ . You'll get a nice star next to your name in return. :) - I have fixed the flow of one of th

[issue14773] fwalk breaks on dangling symlinks

2012-05-16 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Julien Pecqueur
New submission from Julien Pecqueur : IDLE crash when i type the character ^ (for example writing "ê" in a comment). I have the crash only on Mac OS X (Mac OS X 64-bit/32-bit Installer (3.2.3) for Mac OS X 10.6 and 10.7). I don't have this crash on Linux. -- components: IDLE messages:

[issue14828] itertools.groupby not working as expected

2012-05-16 Thread Jiba
New submission from Jiba : In some situation, itertools.groupby fails to group the objects, and produces several groups with the same key. For example, the following code : from itertools import * class P(object): def __init__(self, key): self.key = key p1 = P(1) p2 = P(2) p3 = P(1) f

[issue14732] PEP 3121 Refactoring applied to _csv module

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Robin, I forgot: could you please sign and send the contrib form at http://www.python.org/psf/contrib/ ? It is not a copyright assignment, just a piece of paper that formally allows us to license your contribution for distribution with Python. -- ___

[issue14780] urllib.request could use the default CA store

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Something like this perhaps? For example, yes. Now we need to find a way of testing this... -- nosy: +orsenthil title: SSL should use OpenSSL-defined default certificate store if ca_certs parameter is omitted -> urllib.request could use the default

[issue14828] itertools.groupby not working as expected

2012-05-16 Thread Petri Lehtinen
Petri Lehtinen added the comment: groupby() changes the group when the key changes in the input it iterates. If you want to have p1 and p3 to go to the same group, you need to sort the input by P.key first. This is clearly documented, too: The operation of groupby() is similar to the uni

[issue14816] compilation failed on Ubuntu shared buildbot

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in 1ecd10260649. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Stefan Krah
Stefan Krah added the comment: Here's a patch. I can build win32 and "Release|x64". However, the executables immediately exit; this might be related to #14822. -- keywords: +patch Added file: http://bugs.python.org/file25608/vs-9.0.diff ___ Python tr

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

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

[issue14828] itertools.groupby not working as expected

2012-05-16 Thread Jiba
Jiba added the comment: Ok, I understand. However, in my initial problem, the sequence passed to groupby was a set, e.g. (modifying my previous example) : groupby(set([p1, p2, p3]), lambda p: p.key) If I understand well how groupby() works, the result of a groupby performed on a set

[issue14828] itertools.groupby not working as expected

2012-05-16 Thread Petri Lehtinen
Petri Lehtinen added the comment: You're right, the result over a set would be unpredictable. The point of the itertools module is to be able to a) cope with massive amounts of data and b) be a set of tools instead of complete solutions for all problems. Because of both of the points above, g

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Stefan Krah
Stefan Krah added the comment: Regarding the VS 2010 build failure, using the cross tools builds python_d.exe: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat" msbuild /p:useenv=true pcbuild.sln /p:Configuration=Debug /p:Platform=x64 Again, the execut

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch doesn't apply here, line endings perhaps? -- ___ Python tracker ___ ___ Python-bugs-list

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Ramchandra Apte
Ramchandra Apte added the comment: Please run IDLE from the command line and send the output when it crashes. (If I knew Mac better I would tell you the precise instructions) -- nosy: +ramchandra.apte ___ Python tracker

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker ___ ___ P

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Julien Pecqueur
Julien Pecqueur added the comment: I'll send the output this evening. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Stefan Krah
Stefan Krah added the comment: Probably line endings. It applies with cygwin's patch: C:\Users\stefan\pydev\cpython>patch -p1 < vs-9.0.diff patching file PC/VS9.0/_bz2.vcproj

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I'm uploading a dos version. Still doesn't work. It may be because I'm doing all this in a Linux checkout without the hgeol extension enabled, though. -- ___ Python tracker __

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Do you have a recent version of ActiveState's Tcl/Tk distribution installed? If you do not have this installed you ran into a known issue in Apple's copy of Tcl/Tk, see for more information. -- _

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Julien Pecqueur
Julien Pecqueur added the comment: My system is an up to date OS X 10.7. The Tcl/Tk package is the default (I haven't installed a specific version). Should i need to install the ActiveState package ? -- ___ Python tracker

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Stefan Krah
Stefan Krah added the comment: Hm, vs-9.0.diff applies here on Linux, too. A final try... :) -- Added file: http://bugs.python.org/file25610/vs-9.0-linux.diff ___ Python tracker ___

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Hm, vs-9.0.diff applies here on Linux, too. A final try... :) Works, thank you :-) -- ___ Python tracker ___ ___

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

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: And there are test failures under Windows too :) == ERROR: test_link (test.test_stat.TestFilemode) -- Traceback (most recent

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Both debug x64 and release x64 executables seem to work here, with latest tip. -- ___ Python tracker ___ __

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

2012-05-16 Thread anatoly techtonik
anatoly techtonik added the comment: You've nailed it. I think it is important to know that `requires` is unused. Still this parameter is already present in documentation and causes a lot of trouble (at first I thought there is a bug with pip). Can we still have proper comment explaining the

[issue14829] test_bisect failure under 64-bit Windows

2012-05-16 Thread Antoine Pitrou
New submission from Antoine Pitrou : Shows that we lack such a buildbot... == FAIL: test_large_range (test.test_bisect.TestBisectC) -- Traceback (most recent ca

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

2012-05-16 Thread Brian Jones
Brian Jones added the comment: I can't find a previous discussion of this topic. If you know the list it happened on, or the bug#, let me know as I'd be curious to see the discussion. While I could concede that checking type is arguably a more common case than checking ancestry, I think that

[issue14827] IDLE crash when typing ^ character on Mac OS X

2012-05-16 Thread Ronald Oussoren
Ronald Oussoren added the comment: Yes. As the webpage I mentioned describes Apple's installation of Tcl/Tk contains a number of serious bugs, one of which is that Tk's handling of dead keys (the "^" you use write "û") causes crashes. To get a fully functional copy of Idle you'll have to inst

[issue14692] json.loads parse_constant callback not working anymore

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: I'm afraid I have to close this one as rejected. It works as documented and it's unlikely we'll decide to change it back. I'm sorry. -- resolution: -> rejected stage: needs patch -> committed/rejected status: open -> closed _

[issue13849] Add tests for NUL checking in certain strs

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: Why is this one still open? I'm afraid the questions raised aren't fit to be discussed in a ticket (weren't the outsourcing of of stdlib an item at the language summit?). I tend to close it as rejected (although I rather disagree) unless someone has compell

[issue14829] test_bisect failure under 64-bit Windows

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Dates back to #10889. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue14682] Backport missing errnos to 2.7

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: This one has been fixed together with #14662 in e12efebc3ba6. Thank you everyone for your input! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue14829] test_bisect failure under 64-bit Windows

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 888f5f3bfcb6 by Antoine Pitrou in branch '3.2': Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. http://hg.python.org/cpython/rev/888f5f3bfcb6 New changeset a3784c8f165e by Antoine Pitrou in branc

[issue14702] os.makedirs breaks under autofs directories

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: Andrew, are you still with us? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue14829] test_bisect failure under 64-bit Windows

2012-05-16 Thread Mark Dickinson
Mark Dickinson added the comment: Curious; looks at first sight like some sort of confusion between Py_ssize_t and long types. -- ___ Python tracker ___ __

[issue14772] Return destination values in some shutil functions

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: Brian, are you going to update that patch so we can close this? :) -- ___ Python tracker ___ ___ P

[issue7719] distutils: ignore .nfsXXXX files

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: Jeff, are you still interested in updating your patch or would you prefer if someone else tackled it? -- ___ Python tracker ___ __

[issue14813] Can't build under VS2008 anymore

2012-05-16 Thread Stefan Krah
Stefan Krah added the comment: [VS 2008] Most recent tip is ok here, too: all executables run again. There's still a link failure in "Debug|x64" mode, but that appears harmless: lib /def:python33stub.def /out:C:\Users\stefan\pydev\cpython\PC\VS9.0\x64-pgo\python33stub.lib /MACHINE:x64

[issue14830] pysetup fails on non-ascii filenames

2012-05-16 Thread Tarek Ziadé
New submission from Tarek Ziadé : Pyramid contains this file: pyramid/tests/fixtures/static/h\xc3\xa9h\xc3\xa9.html and "pysetup install pyramid" chokes on it when creating the RECORD file, because the csv writer is given a wrong encoded value in util._write_record_file. The record file orgi

[issue14829] test_bisect failure under 64-bit Windows

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset e957b93571a8 by Antoine Pitrou in branch '2.7': Issue #14829: Fix bisect issues under 64-bit Windows. http://hg.python.org/cpython/rev/e957b93571a8 -- ___ Python tracker

[issue14829] test_bisect failure under 64-bit Windows

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 13900edf13be by Antoine Pitrou in branch '3.2': Forward port additional tests from 2.7 (issue #14829). http://hg.python.org/cpython/rev/13900edf13be New changeset 8c8709b98762 by Antoine Pitrou in branch 'default': Forward port additional tests fro

[issue14829] test_bisect failure under 64-bit Windows

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Should be fixed now. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.2, Python 3.3 ___ Python tracker ___

[issue7719] distutils: ignore .nfsXXXX files

2012-05-16 Thread Charles-François Natali
Charles-François Natali added the comment: Wouldn't it be better to add an 'ignore' option to the copy_tree() method with an optional list of patterns to ignore instead of hardcoding '.nsfXXX' files? This would make it possible to also skip '.hg', 'CVS' artifacts. -- nosy: +neologix _

[issue14818] C implementation of ElementTree causes regressions

2012-05-16 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for the report - such regressions are taken seriously and will be fixed. Ezio - you can go ahead and prepare a patch. I'm currently away from home (business trip) but I will look into it when I get back next weak. -- ___

[issue14692] json.loads parse_constant callback not working anymore

2012-05-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I'm afraid I have to close this one as rejected. It works as documented and > it's unlikely we'll decide to change it back. I'm sorry. It does not work as documented. The proposed patch fixes the documentation. --

[issue13849] Add tests for NUL checking in certain strs

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Why is this one still open? I'm afraid the questions raised aren't > fit to be discussed in a ticket The original request (add tests for NUL character checking) is still relevant AFAIK. All it needs is a patch - by Alex or anybody else :-) -- _

[issue13849] Add tests for NUL checking in certain strs

2012-05-16 Thread R. David Murray
Changes by R. David Murray : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue14712] Integrate PEP 405

2012-05-16 Thread Vinay Sajip
Changes by Vinay Sajip : -- nosy: +carljm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

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

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39d24533c6b7 by Giampaolo Rodola' in branch 'default': #14807: fix BB failures on Windows - avoid to to rely too many details of the mode string. http://hg.python.org/cpython/rev/39d24533c6b7 -- ___ Pyt

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

2012-05-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Let's see how it goes now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14820] socket._decref_socketios and close

2012-05-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: You are right. I should have looked more carefully. =) -- resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue14692] json.loads parse_constant callback not working anymore

2012-05-16 Thread Hynek Schlawack
Hynek Schlawack added the comment: You're right, I was referring to the doc string. -- resolution: rejected -> stage: committed/rejected -> patch review status: closed -> open ___ Python tracker _

[issue14824] reprlib documentation references string module

2012-05-16 Thread Jasper St. Pierre
Jasper St. Pierre added the comment: Yes. Yes it would. In my opinion, it really shouldn't do this sort of name mangling, as it's a terrible idea, but whatever. -- ___ Python tracker _

[issue14470] Remove using of w9xopen in subprocess module

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Brian, is the patch ok? -- nosy: +pitrou stage: -> patch review ___ Python tracker ___ ___ Python-

[issue14757] INCA: Inline Caching meets Quickening in Python 3.3

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps that's just me, but I find the performance gains rather limited given the sheer size of the changes. Is there any non-micro benchmark where the performance gains are actually substantial (say, more than 20%)? -- type: enhancement -> performanc

[issue14470] Remove using of w9xopen in subprocess module

2012-05-16 Thread Brian Curtin
Brian Curtin added the comment: Hm, I thought I already responded to this one. PEP 11 states that the w9xpopen code shouldn't be removed until 3.4. I have a patch on another computer that adds a deprecation for 3.3 - I'll add it here within the day. For 3.4 we would actually remove the w9xpop

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a1d7be10946 by Antoine Pitrou in branch 'default': Issue #14693: Under non-Windows platforms, hashlib's fallback modules are always compiled, even if OpenSSL is present at build time. http://hg.python.org/cpython/rev/0a1d7be10946 -- nosy:

[issue14693] hashlib fallback modules should be built even if openssl *is* available at build time

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, should be fixed now. I fixed the proposed patch to avoid warnings when testing under Windows. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : I'm not sure why this is allowed for permutations() but not combinations(). -- messages: 160874 nosy: djc priority: normal severity: normal status: open title: make r argument on itertools.combinations() optional

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- components: +Library (Lib) versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- versions: +Python 3.2 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

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

2012-05-16 Thread Ezio Melotti
Ezio Melotti added the comment: I couldn't find any pointer to the discussion (maybe it happened on IRC), but the general goal is to provide only the most used/important assert methods and avoid bloating the API with less common ones. -- status: open -> pending __

[issue11051] Improve Python 3.3 startup time

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: This is out of date now that importlib is the default import system. -- resolution: -> out of date status: open -> closed ___ Python tracker _

[issue13609] Add "os.get_terminal_size()" function

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I am closing as fixed. If you want to propose further enhancements, please open a new issue. -- resolution: -> fixed status: open -> closed ___ Python tracker __

[issue12304] expose signalfd(2) in the signal module

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue1615158] POSIX capabilities support

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue6544] Fix refleak in kqueue implementation

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue9251] Test for the import lock

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue9548] locale can be imported at startup but relies on too many library modules

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list ma

[issue1508864] threading.Timer/timeouts break on change of win32 local time

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2012-05-16 Thread R. David Murray
R. David Murray added the comment: I agree that testing for subclass is a rather specialized thing, and thus should be defined by a project that needs it. Normal API-centric unit tests shouldn't, IMO, care whether X is a subclass of Y. If you are using it to write a failing unit test to "dr

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

2012-05-16 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue2920] Patch to print symbolic value or errno in EnvironmentError.__str__()

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: This would still be a helpful improvement. -- stage: patch review -> needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ __

[issue14776] Add SystemTap static markers

2012-05-16 Thread Dave Malcolm
Changes by Dave Malcolm : -- nosy: +fche, scox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

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

2012-05-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a reasonable change. The benefits of using all 64-bits outweigh the small downside of losing the reproducibility of previously generated sequences that relied on the object hash. -- ___ Python tracker

[issue14757] INCA: Inline Caching meets Quickening in Python 3.3

2012-05-16 Thread stefan brunthaler
stefan brunthaler added the comment: > Perhaps that's just me, but I find the performance gains rather limited given > the sheer size of the changes. Well there are a couple of things to keep in mind: a) There is a substantial speedup potential in further interpretative optimizations, but the

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Mark Dickinson
Mark Dickinson added the comment: Wait, what? What results are you proposing for e.g., list(combinations(range(3))) ? None of the obvious defaults for r (length of first argument? 0? 1?) look very interesting. -- nosy: +mark.dickinson ___ Pytho

[issue14776] Add SystemTap static markers

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I tried the patch under Mageia 1 and got the following failure: test_systemtap skipped -- Test systemtap script did not run; stderr was: b"Pass 1: parsed user script and 72 library script(s) using 56252virt/20964res/1828shr kb, in 70usr/0sys/82real ms.\nPass

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: [[], [0], [1], [2], [0, 1], [0, 2], [1, 2], [0, 1, 2]] That is, all possible combinations. -- ___ Python tracker ___

[issue8330] Failures seen in test_gdb on buildbots

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Shouldn't this be closed? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12091] multiprocessing: simplify ApplyResult and MapResult with threading.Event

2012-05-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue1479611] speed up function calls

2012-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing as terribly outdated (and not very promising). -- resolution: -> out of date status: open -> closed ___ Python tracker ___ _

  1   2   >