[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Brian Quinlan
Brian Quinlan added the comment: Arian, This seems like such an unimportant edge case that I don't want to mess with the API just to accommodate it. If you really need to pass an "fn" keyword argument, use: .submit(foo, 1, 2, **{'fn': bar}) -- resolution: -> wont fix status: open -

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Adrian Dries
Adrian Dries added the comment: What now? Python 3.1.3 (r313:86834, Jan 17 2011, 22:33:40) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> def foo(f, **kw): ... pass ... >>> foo(1, **{'f': 2}) Traceback (most recent call last): File "", l

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Brian Quinlan
Brian Quinlan added the comment: Good point! I'd suggest functools.partial. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue10925] Document pure Python version of integer-to-float correctly-rounded conversion

2011-01-17 Thread Mark Dickinson
New submission from Mark Dickinson : It would be helpful (perhaps to developers of alternative implementations) to give a pure Python version of correctly-rounded long-to-float conversion. Attached is such a version, as a patch to test_long in the release27-maint branch. -- assignee:

[issue10925] Document pure Python version of integer-to-float correctly-rounded conversion

2011-01-17 Thread Mark Dickinson
Changes by Mark Dickinson : -- components: +Tests type: -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue1615158] POSIX capabilities support

2011-01-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-l

[issue9344] please add posix.getgrouplist()

2011-01-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-17 Thread Brian Curtin
Changes by Brian Curtin : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Brian Curtin
Changes by Brian Curtin : -- type: crash -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 & 3.1 [& correctly fail in 3.2rc1]

2011-01-17 Thread Mark Summerfield
New submission from Mark Summerfield : I'm reporting this at Georg Brandl's suggestion. If you unpack the attached (tiny) tarball you get this directory structure: Graphics/ Graphics/Xpm.py Graphics/Vector/ Graphics/Vector/__init__.py Graphics/Vector/Svg.py Graphics/__init__.py The Svg.py file

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 & 3.1 [& correctly fail in 3.2rc1]

2011-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10915] Make the PyGILState API compatible with multiple interpreters

2011-01-17 Thread Nick Coghlan
Nick Coghlan added the comment: Graham - the cases you describe are the things I was saying don't currently work in my post and wouldn't be helped by Antoine's patch. Your thoughts on how we could possibly make it work actually parallel mine (although there may be fun and games with making su

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: docs@python -> nosy: +belopolsky, r.david.murray ___ Python tracker ___ ___ Python-bugs-list

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10914] Python sub-interpreter test

2011-01-17 Thread Nick Coghlan
Nick Coghlan added the comment: I like the idea of adding these tests as well. Probably worth bringing up on python-dev - folks like Tarek should definitely be able to help with alternative ways of building a test application for this. There is also always the possibility of writing it in Pyt

[issue10915] Make the PyGILState API compatible with multiple interpreters

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Graham - the cases you describe are the things I was saying don't > currently work in my post and wouldn't be helped by Antoine's patch. > Your thoughts on how we could possibly make it work actually parallel > mine (although there may be fun and games with ma

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 & 3.1 [& correctly fail in 3.2rc1]

2011-01-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10914] Python sub-interpreter test

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > There is also always the possibility of writing it in Python and using > ctypes to get at the necessary C API calls to create subinterpreters. Well, I don't think calling Py_Initialize, Py_Finalize and Py_NewInterpreter from pure Python code is a very good

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 & 3.1 [& correctly fail in 3.2rc1]

2011-01-17 Thread Nick Coghlan
Nick Coghlan added the comment: Yeah, 7902 was a bug that tried to do an absolute import if an explicit relative import failed to find anything (i.e. it had inherited the old implicit relative import fallback, which was entirely inappropriate for the new use case). Since the significant impo

[issue10927] Allow universal line endings in filecmp module

2011-01-17 Thread Geoffrey Bache
New submission from Geoffrey Bache : It would be useful to compare the contents of two files while not caring what platform they were produced on, perhaps a universal_line_endings parameter to e.g. filecmp.cmp and possibly other methods. At the moment opening the files with "rb" is hardcoded i

[issue10915] Make the PyGILState API compatible with multiple interpreters

2011-01-17 Thread Nick Coghlan
Nick Coghlan added the comment: Good point - consider that comment revised to refer to the GIL acquisition counter in the thread state struct. It may just be a matter of having ThreadState_Swap complain loudly if the gilstate_counter isn't set to a value it knows how to handle. -- _

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Please attach a simple script reproducing the perceived problem. -- components: +Library (Lib) -None nosy: +pitrou ___ Python tracker ___ _

[issue10903] ZipExtFile:_update_crc fails for CRC >= 0x80000000

2011-01-17 Thread arindam
arindam added the comment: Attached test file a.zip. Happening with 2.7.1.3. The changes came with /python/branches/release27-maint/Lib/zipfile.py revision 83961 -- Added file: http://bugs.python.org/file20425/a.zip ___ Python tracker

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 & 3.1 [& correctly fail in 3.2rc1]

2011-01-17 Thread Mark Summerfield
Mark Summerfield added the comment: I just installed 3.1.3 and it does indeed give the import error: Python 3.1.3 (r313:86834, Jan 17 2011, 16:29:46) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from Graphics.Vector import * Traceback (most r

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread R. David Murray
R. David Murray added the comment: Adrian's suggestions don't look to me like they fiddle with the API, but rather make the behavior match the documented API. The existing behavior is, IMO, a very surprising corner case, especially to a less experienced Python programmer. I do note that ass

[issue10928] Strange input processing

2011-01-17 Thread Kirill Bystrov
New submission from Kirill Bystrov : I have written a simple script which evaluates some numeric expressions and faced a strange problem at some point. Some of these expressions cannot evaluate correctly. Here is an example: Python 2.7.1+ (r271:86832, Dec 24 2010, 10:03:35) [GCC 4.5.2] on linu

[issue10926] Some Invalid Relative Imports succeed in Py 3.0 & 3.1 [& correctly fail in 3.2rc1]

2011-01-17 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> relative import broken ___ Python tracker ___ _

[issue10928] Strange input processing

2011-01-17 Thread R. David Murray
R. David Murray added the comment: 08 is an invalid octal literal. See http://docs.python.org/reference/lexical_analysis.html#integer-and-long-integer-literals -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed __

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Ron Adam
Ron Adam added the comment: Why is this surprising? >>> def foo(c, c=None): ... pass ... File "", line 1 SyntaxError: duplicate argument 'c' in function definition In the previous examples, it finds the duplicate at run time instead of compile time due to not being able to determine the

[issue2644] errors from msync ignored in mmap_object_dealloc

2011-01-17 Thread Ross Lagerwall
Ross Lagerwall added the comment: I think this can be closed. msync() is only called in mmap.flush() and it is checked for an error. -- nosy: +rosslagerwall ___ Python tracker _

[issue10928] Strange input processing

2011-01-17 Thread Kirill Bystrov
Kirill Bystrov added the comment: Sorry, i have really forgotten about these octals. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread R. David Murray
R. David Murray added the comment: The reason that it is surprising is that the API is designed to allow an arbitrary function to be called, with whatever arguments and keyword arguments that function takes. The user of the API is not necessarily going to remember that the first argument to

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > 1. It crashes with "KeyError". ... I assume this means it raises a KeyError when given a bytes object as an argument. >>> Internaldate2tuple(b'INTERNALDATE "01-Jan-2000 12:00:00 +"') Traceback (most recent call last): File "", line 1, in File

[issue10918] **kwargs unnecessarily restricted in API

2011-01-17 Thread Ron Adam
Ron Adam added the comment: Is this issue referring to something in Python's library, or a hypothetical function someone may write? If it's in the library, we can look at that case in more detail, otherwise, it's just a bad program design issue and there's nothing to do. --

[issue10903] ZipExtFile:_update_crc fails for CRC >= 0x80000000

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Attached test file a.zip. Happening with 2.7.1.3. The changes came > with /python/branches/release27-maint/Lib/zipfile.py revision 83961 I tested with 2.7.x and 3.2 (both from latest SVN) and couldn't reproduce (I used testzip() and extractall()), both in

[issue10921] imaplib: Internaldate2tuple() crashes, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Joe Peterson added the comment: > I assume this means it raises a KeyError when given a bytes object as an > argument. Yes, a KeyError is raised when arg is bytes, but passing a string also fails (raising TypeError). The latter might also be a separate bug, in that strings cannot be passed

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread R. David Murray
R. David Murray added the comment: Yes, it's about the concurrent.futures 'submit' method: http://docs.python.org/dev/py3k/library/concurrent.futures.html#executor-objects I've updated the title to reflect this. There are other places in the stdlib affected by this, but they should be opened

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: You forgot to add the new files to your patch. -- nosy: +pitrou ___ Python tracker ___ ___ Python-b

[issue10927] Allow universal line endings in filecmp module

2011-01-17 Thread R. David Murray
R. David Murray added the comment: Duplicate of issue 6306. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> filecmp.cmp can not compare two files from different OS with the same content ___

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Oops, thanks. It's in there now, though for some reason I can't get this patch to apply to trunk, but I'll have to look at that later this afternoon. I wanted to get this new version up in the interim since it definitely does include the Lib/crypt.py fi

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Changes by Sean Reifschneider : Removed file: http://bugs.python.org/file20422/python-underscore_crypt.patch ___ Python tracker ___ ___ Python

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Adrian Dries
Adrian Dries added the comment: The futures case is one example of a broader API design issue. Note also that 'self' is similarly restricted. You might think these are 'corner cases', but to me it is poor API design. There may well be a reasonable case for passing 'self' as a keyword arg; w

[issue10903] ZipExtFile:_update_crc fails for CRC >= 0x80000000

2011-01-17 Thread arindam
arindam added the comment: Able to get the issue with Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 This is the latest version for 2.7.x Please try with the uploaded a.zip -- ___ Python tracker

[issue10903] ZipExtFile:_update_crc fails for CRC >= 0x80000000

2011-01-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Able to get the issue with > Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] > on win32 Ok, I tried with this exact version and I still can't reproduce. Can you explain which steps exactly are necessary to exhibit this issue? --

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread R. David Murray
R. David Murray added the comment: Name mangling applies only to attributes of classes, and so does not enter in to this issue. -- ___ Python tracker ___ __

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Georg Brandl
Georg Brandl added the comment: def submit(*args, **kwds): and picking out self and fn from *args might indeed be the most sensible solution here. -- nosy: +georg.brandl ___ Python tracker __

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Adrian Dries
Adrian Dries added the comment: No, private mangling applies to any identifier in class-scope: Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class C: ... def f(__x): pass ... >>> import ins

[issue10903] ZipExtFile:_update_crc fails for CRC >= 0x80000000

2011-01-17 Thread arindam
arindam added the comment: Legacy code in my module was setting zipfile.structCentralDir to "<4s4B4H3l5H2L" (was added to fix some issues with older version of python) was the root cause of this issue. Sorry, should have checked before filing. Thanks for your time. Sorry once again.

[issue2644] errors from msync ignored in mmap_object_dealloc

2011-01-17 Thread Brian Curtin
Brian Curtin added the comment: That was changed in r84950 from #2643. -- resolution: -> out of date stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread R. David Murray
R. David Murray added the comment: Adrian: you are correct of course, I was misremembering and did not check the docs. I prefer the other solution, though. -- ___ Python tracker _

[issue10917] PEP 333 link to CGI specification is broken

2011-01-17 Thread Éric Araujo
Éric Araujo added the comment: The age of core developers may surprise you. For the anecdote, I used to game and use Internet slang, and to me w00t == wut == what; I’ve never seen it used to mean “great”. -- assignee: docs@python -> georg.brandl components: -Documentation nosy: +eric

[issue10929] telnetlib does not send FIN when self.close() issued

2011-01-17 Thread Joe Bennett
New submission from Joe Bennett : Hi, am running Python 2.6.5 on Unbuntu 10.04 and am seeing no FIN when a self.close() is issued... I do see a reset issued, but it looks like some of the M$ servers do not appreciate on a reset and would like a graceful teardown... I understand that an RST can

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: I've made a new .patch file using "diff -c" rather than "svn diff". This is the same code, but applies without manual intervention. -- Added file: http://bugs.python.org/file20428/python-underscore_crypt-3.patch __

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Changes by Sean Reifschneider : Removed file: http://bugs.python.org/file20427/python-underscore_crypt-2.patch ___ Python tracker ___ ___ Pyth

[issue10923] Python 2.7 hangs on Unicode+threading

2011-01-17 Thread Piotr Maślanka
Piotr Maślanka added the comment: I ripped some stuff from the project I'm working on, undependencing it on any my libraries. Can someone with similar conf(Win7 x86-64, Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32) confirm this? Directory configuratio

[issue8846] cgi.py bug report + fix: tailing carriage return and newline characters in multipart cgi input broken

2011-01-17 Thread Andre Wobst
Andre Wobst added the comment: I just declare this bug to be a duplicate of #4953. Due to the recent fix r87998 of the cgi module my extended/corrected testcases attached in this bug report now pass. -- resolution: -> duplicate status: open -> closed

[issue10911] cgi: add more tests

2011-01-17 Thread STINNER Victor
STINNER Victor added the comment: See also #8846: Andre Wobst wrote other tests. -- nosy: +wobsta ___ Python tracker ___ ___ Python-b

[issue10929] telnetlib does not send FIN when self.close() issued

2011-01-17 Thread R. David Murray
R. David Murray added the comment: telnetlib closes the socket, which in turn calls the OS level socket close function. What happens after that is up to the OS tcp/ip stack, and is not under Python's control. So if there is a bug here it isn't in Python. -- nosy: +jackdied, r.david.

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Nicolas Dumazet
Nicolas Dumazet added the comment: Hello, 1) Can you please avoid putting several statements in the same line? 2) wouldnt it be better to compute only once the contents of methods()? I'm not sure that module-initialization time is okay for CPython, but at the very least you can lazily fill a

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-01-17 Thread Garrett Cooper
Garrett Cooper added the comment: Sorry -- got off-track for a while. I assume these should go into Lib/test/test_os.py ? -- ___ Python tracker ___ _

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Joe Peterson added the comment: Added fix for ParseFlags (another string/bytes issue) and now accept strings as args to ParseFlags and Internaldate2tuple. Also added unit tests for changes. -- assignee: -> docs@python components: +Tests title: imaplib: Internaldate2tuple() crashes, d

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-01-17 Thread Ned Deily
Ned Deily added the comment: There is an existing test_lchflags in Lib/test/test_posix.py. Additional test cases should go there. -- ___ Python tracker ___

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson : Removed file: http://bugs.python.org/file20420/imaplib_Internaldate2tuple.patch ___ Python tracker ___ ___ Python-bu

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson : Removed file: http://bugs.python.org/file20430/imaplib_Internaldate2tuple_python32.patch ___ Python tracker ___ ___

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson : Added file: http://bugs.python.org/file20431/imaplib_Internaldate2tuple_python32.patch ___ Python tracker ___ ___ P

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-01-17 Thread Garrett Cooper
Garrett Cooper added the comment: On Mon, Jan 17, 2011 at 5:11 PM, Ned Deily wrote: > > Ned Deily added the comment: > > There is an existing test_lchflags in Lib/test/test_posix.py.  Additional > test cases should go there. Ok, but again this isn't POSIX functionality -- it's a BSD function

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson : Removed file: http://bugs.python.org/file20426/imaplib_Internaldate2tuple_python27.patch ___ Python tracker ___ ___

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Changes by Joe Peterson : Added file: http://bugs.python.org/file20432/imaplib_Internaldate2tuple_python27.patch ___ Python tracker ___ ___ P

[issue4892] Sending Connection-objects over multiprocessing connections fails

2011-01-17 Thread Tim Alexander
Tim Alexander added the comment: Wanted to quickly comment here, as I'm dealing with this issue as well, that I did find a workaround for avoiding it as far back as 2.6 (and it's not "don't pass a Pipe through a Pipe") multiprocessing.reduction can already do this, though I don't entirely kno

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: There are at least 3 issues here: a documentation issue, a py3k bug and at least one feature request. Given that the logistics are different for different kinds of issues, I think it would be best to split them on the tracker. Here is how I see what i

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Ron Adam
Ron Adam added the comment: Here is the whole method for reference... def submit(self, fn, *args, **kwargs): with self._shutdown_lock: if self._shutdown_thread: raise RuntimeError('cannot schedule new futures after shutdown') f = _base.Future

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Ron Adam
Ron Adam added the comment: Change... "are never unpacked within submit." to... Are completely separate. It's the attempt to mix two function signatures together as one, that was/is the problem. -- ___ Python tracker

[issue10921] imaplib: Internaldate2tuple() string/bytes issues, does not handle negative TZ offsets, does not handle DST correctly

2011-01-17 Thread Joe Peterson
Joe Peterson added the comment: >There are at least 3 issues here: a documentation issue, a py3k bug and at >least one feature request. Which is a feature request? In these patches, I am attempting to fix the DST problems and regain the previous behavior in Python 2. Are you talking about

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2011-01-17 Thread Ned Deily
Ned Deily added the comment: Backported to 2.7 in r88090 (to appear in 2.7.2). (I decided to not backport to 3.1 as some prereq backports would be needed and we do not supply a 64-bit OS X installer for 3.1.x anyway.) -- assignee: ronaldoussoren -> ned.deily resolution: -> fixed stag

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-17 Thread Sean Reifschneider
Sean Reifschneider added the comment: Thanks for the review. Attached is a new version of the patch. 1) Done. 2) Good point, I didn't think of that. I've changed it into a class that stores the methods list, and made the module "methods" point to that method on an instance of that class.

[issue4681] mmap offset should be off_t instead of ssize_t, and size calculation needs corrected

2011-01-17 Thread Ross Lagerwall
Ross Lagerwall added the comment: Attached is a fix to make offset use off_t. This means that mmap will work with offset > 2GB on 32bit systems. It also fixes that mmap.size() returns the correct value for files > 2GB on 32bit systems. The first issue of msg78055 was fixed in issue10916, thi

[issue10918] **kwargs unnecessarily restricted in concurrent.futures 'submit' API

2011-01-17 Thread Georg Brandl
Georg Brandl added the comment: > The current submit definition doesn't allow that, and pulling out self, and > fn, would not be correct either. It would if they are pulled from *args. The only difference to now is that you cannot give the self and fn args as keyword args anymore (but that