[issue15003] make PyNamespace_New() public

2012-06-04 Thread Eric Snow
Eric Snow added the comment: I'll get a patch up tomorrow to make the type pickleable. -- ___ Python tracker ___ ___ Python-bugs-list

[issue15003] make PyNamespace_New() public

2012-06-04 Thread Eric Snow
Eric Snow added the comment: Patch to make PyNamespace_New() public. -- keywords: +patch Added file: http://bugs.python.org/file25827/issue15003_public.diff ___ Python tracker _

[issue11022] locale.getpreferredencoding() must not set temporary LC_CTYPE

2012-06-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think it's absolutely necessary that text files, by default, are opened in the encoding of the user's locale, whether the script has called setlocale or not. There are reasons for C to not automatically call setlocale at startup (mostly backwards compatib

[issue15004] add weakref support to types.SimpleNamespace

2012-06-04 Thread Eric Snow
Eric Snow added the comment: That's good enough for me. :) -- keywords: +patch Added file: http://bugs.python.org/file25826/issue15004.diff ___ Python tracker ___ __

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-04 Thread Ned Deily
Ned Deily added the comment: Terry, I believe Maureen was confirming that this appeared to be the same problem as documented in Issue12988. So does anyone have any idea what apparently causes this behavior on some systems and not others? -- ___ Py

[issue15004] add weakref support to types.SimpleNamespace

2012-06-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: The only reason some of the builtin types don't support weakrefs is to save space. That reason doesn't apply here. Most types should support weakrefs unless there is a compelling reason not to. -- nosy: +rhettinger __

[issue15003] make PyNamespace_New() public

2012-06-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: SimpleNamespaces also need to be picklable. -- nosy: +rhettinger ___ Python tracker ___ ___ Pyth

[issue12510] IDLE: calltips mishandle raw strings and other examples

2012-06-04 Thread Roger Serwy
Roger Serwy added the comment: The reoganization in i12510.test.diff will make back-porting to 2.7 slightly more difficult since old and new style classes exist. I do agree with your reasoning for re-factoring the code. (Also, as an extremely minor point, running reindent.py adjusts "pos = 70

[issue15004] add weakref support to types.SimpleNamespace

2012-06-04 Thread Eric Snow
New submission from Eric Snow : Currently types.SimpleNamespace does not support weak references. Amaury asked for this in #14673, but I'd like to see more discussion. What are the use cases for weak references in this case? The type is a simple wrapper around dict, which does not support we

[issue15003] make PyNamespace_New() public

2012-06-04 Thread Eric Snow
New submission from Eric Snow : The type is available as types.SimpleNamespace, and there's no reason to hold PyNamespace_New() back. -- components: Library (Lib) messages: 162322 nosy: amaury.forgeotdarc, eric.snow priority: normal severity: normal stage: needs patch status: open title

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-04 Thread Roger Serwy
Changes by Roger Serwy : -- nosy: +serwy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue1028] Tkinter binding involving Control-spacebar raises unicode error

2012-06-04 Thread Mike Perry
Mike Perry added the comment: Looking good in 3.2.3! Tested on Debian Wheezy using packages python3-tk 3.2.3-1 and idle3 3.2.3~rc1-2. /*  * Mike Perry  * m...@cogscom  */ On Sun, May 27, 2012 at 4:10 PM, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > On Win 7, a brings u

[issue15002] urllib2 does not download 4 MB file completely using ftp

2012-06-04 Thread Senthil Kumaran
Senthil Kumaran added the comment: That's surprising! I shall test it with http debug mode and see what's happening. -- assignee: -> orsenthil ___ Python tracker ___ _

[issue15002] urllib2 does not download 4 MB file completely using ftp

2012-06-04 Thread R. David Murray
R. David Murray added the comment: The same problem exists in Python3. -- nosy: +orsenthil, r.david.murray stage: -> needs patch versions: +Python 3.2, Python 3.3 ___ Python tracker __

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Maureen, I have saved and run a file from the Idle editor perhaps a thousand times over the years with multiple Python versions, including 3.2.3 (retried just now) on both Windows XP and Win7. (Note: on the General tab of the Preferences dialog, one can make

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Mike Frysinger
Mike Frysinger added the comment: $ echo | gcc -m32 -E -P -dD - | grep LP $ echo | gcc -m64 -E -P -dD - | grep LP #define _LP64 1 #define __LP64__ 1 $ echo | gcc -mx32 -E -P -dD - | grep LP #define _ILP32 1 #define __ILP32__ 1 -- ___ Python tracker

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Barry, I looked at your changeset at http://bazaar.launchpad.net/~gwibber-committers/gwibber/trunk/revision/1354 and at the specification at http://developers.facebook.com/docs/reference/api/event/. Am I correct that you are parsing "string containing

[issue14996] IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7

2012-06-04 Thread Ned Deily
Changes by Ned Deily : -- title: Python 3.2.3 freezes when saving a .py program -> IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7 ___ Python tracker ___ __

[issue14996] Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Ned Deily
Ned Deily added the comment: Windows experts: any suggestions here? -- nosy: +brian.curtin, loewis, terry.reedy ___ Python tracker ___ __

[issue14996] Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Maureen Cuomo
Maureen Cuomo added the comment: I can save to the desktop, but nowhere else. Will this be fixed? I teach python at my school and next year all my computers will have windows 7. I also have a program called deep freeze that erases any files saved on a computer including the desktop. This prevent

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: for reference - https://sites.google.com/site/x32abi/ -- ___ Python tracker ___ ___ Python-bugs-l

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: Answering my own question I believe x32 is the new ABI being worked on as described in http://lwn.net/Articles/456731/. In that light, your patch makes sense assuming the __ILP32__ define is something gcc's cpp will always be defining when targeting x32. I

[issue14996] Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Maureen Cuomo
Maureen Cuomo added the comment: Yes it looks like that. I Open a new window in python, type into the new window. I try to save it so I can run the program and I get the twirling circle until the dialog box come up saying pythow.exe has stopped working. Maureen Cuomo On Mon, Jun 4, 2012 at 4:39

[issue11022] locale.getpreferredencoding() must not set temporary LC_CTYPE

2012-06-04 Thread STINNER Victor
Changes by STINNER Victor : -- title: locale.setlocale() doesn't change I/O codec, os.environ does -> locale.getpreferredencoding() must not set temporary LC_CTYPE ___ Python tracker __

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: What is x32? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-04 Thread Nick Coghlan
Nick Coghlan added the comment: Also noting a TODO item here: currently, the address-producing operations on network objects just produce vanilla address objects of the appropriate version. My question is, should we have those operations create interface objects instead? My current thought i

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-04 Thread Nick Coghlan
Nick Coghlan added the comment: Hynek's latest patch mostly looks good to me, but I think the "packed" property on network definitions just needs to go away. The original ipaddr API that is the basis for ipaddress doesn't really have a clear distinction between network definitions and IP addr

[issue6745] (curses) addstr() takes str in Python 3

2012-06-04 Thread STINNER Victor
STINNER Victor added the comment: The issue #12567 fixed this one: - umlaut3x.py now works in Python 3.3 with an encoding different than UTF-8: Python automatically detects (and uses) the locale encoding - getkey_sample.py can be patched to handle Unicode correctly using get_wch() instead of

[issue14711] Remove os.stat_float_times

2012-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7cb15b47c70e by Victor Stinner in branch 'default': Issue #14711: os.stat_float_times() has been deprecated. http://hg.python.org/cpython/rev/7cb15b47c70e -- nosy: +python-dev ___ Python tracker

[issue14711] Remove os.stat_float_times

2012-06-04 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14805] Support display of both __cause__ and __context__

2012-06-04 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14428] Implementation of the PEP 418

2012-06-04 Thread STINNER Victor
STINNER Victor added the comment: I'm closing again this issue. @neologix: Please open a new issue if you disagree with me on the definition of "seconds" for time.process_time(). -- status: open -> closed ___ Python tracker

[issue14904] test_unicode_repr_oflw (in test_bigmem) crashes

2012-06-04 Thread STINNER Victor
STINNER Victor added the comment: > Someone needs to debug this (someone with enough RAM). I tried to reproduce the bug, but I got a bug in my filesystem :-p A memory allocation failed in the kernel and btrfs didn't handle it correctly. 12 GB of RAM (and no swap) is maybe not enough. ---

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-06-04 Thread STINNER Victor
STINNER Victor added the comment: The patch is correct according to the PEP 263: If a source file uses both the UTF-8 BOM mark signature and a magic encoding comment, the only allowed encoding for the comment is 'utf-8'. Any other encoding will cause an error. The fix should also

[issue15001] segmentation fault with del sys.module['__main__']

2012-06-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14993] GCC error when using unicodeobject.h

2012-06-04 Thread STINNER Victor
STINNER Victor added the comment: > I don't think the change had any effect on memory consumption: because of > alignment, padding is inserted either way to fill the flags to four (32-bit) > or eight bytes. So with the bit field, there were 7 bytes of padding on > 64-bit systems, and now ther

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-04 Thread Hynek Schlawack
Hynek Schlawack added the comment: Dear friends of ip addresses, I made something: refactor dup code, minor janitoring, bump coverage - remove duplicate netmask/hostmask code (it was identical in ipv4address & interface) - make two ifs more pythonic - Refactor and fix packed property for ipv6

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue8745] zipimport is a bit slow

2012-06-04 Thread Catalin Iacob
Catalin Iacob added the comment: I updated Goplat's patch to the default branch. It now needs to read 4 dummy bytes instead of 6 since an extra PyMarshal_ReadShortFromFile was added to the default branch in the mean time. I added an explicit dummy buffer instead of reading the dummy bytes int

[issue14673] add sys.implementation

2012-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 04, 2012, at 09:39 PM, Eric Snow wrote: >presumably PEP 421 can be marked as final now? Done. -- ___ Python tracker ___ _

[issue14993] GCC error when using unicodeobject.h

2012-06-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't think the change had any effect on memory consumption: because of alignment, padding is inserted either way to fill the flags to four (32-bit) or eight bytes. So with the bit field, there were 7 bytes of padding on 64-bit systems, and now there are o

[issue14673] add sys.implementation

2012-06-04 Thread Eric Snow
Eric Snow added the comment: presumably PEP 421 can be marked as final now? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14989] http.server option to run CGIHTTPRequestHandler

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

[issue14998] pprint._safe_key is not always safe enough

2012-06-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +rhettinger stage: -> needs patch type: -> behavior versions: +Python 3.3 ___ Python tracker ___ _

[issue9998] ctypes find_library should search LD_LIBRARY_PATH on linux

2012-06-04 Thread Vinay Sajip
Changes by Vinay Sajip : Added file: http://bugs.python.org/file25822/ce3be1c1091a.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue9998] ctypes find_library should search LD_LIBRARY_PATH on linux

2012-06-04 Thread Vinay Sajip
Vinay Sajip added the comment: I added an updated patch which uses ld, and added a test (Linux/Unix only). -- hgrepos: +130 stage: -> patch review ___ Python tracker ___ ___

[issue14907] SSL module cannot handle unicode filenames

2012-06-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm closing it as won't fix. I don't think it needs to be documented, but I won't mind if it is. -- nosy: +loewis resolution: -> wont fix status: open -> closed ___ Python tracker

[issue14997] Syntax Error in Python Version Number

2012-06-04 Thread Ned Deily
Ned Deily added the comment: Try launching Python 2.7 -> Python (command line), then in the interactive interpreter enter: import idlelib.PyShell idlelib.PyShell.main() Additional error messages may show up in the command line window. But also try renaming or deleting the .idlerc fo

[issue14993] GCC error when using unicodeobject.h

2012-06-04 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14996] Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Ned Deily
Ned Deily added the comment: Also, you could try temporarily renaming the .idlerc folder in your User folder; this is where IDLE stores several configuration files which can be a cause of problems if they have incorrect values. And you could also try to run IDLE from the Python command line.

[issue14993] GCC error when using unicodeobject.h

2012-06-04 Thread STINNER Victor
STINNER Victor added the comment: > OTOH, I fail to see why they need to be bitfields: a plain > unsigned char field should work as well (as would an int bitfield). Victor? I chose a bitfield to have a more compact structure. I didn't know that a bitfield using unsigned char is a GCC extension

[issue14993] GCC error when using unicodeobject.h

2012-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09736ae1c314 by Victor Stinner in branch 'default': Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfield http://hg.python.org/cpython/rev/09736ae1c314 -- nosy: +python-dev ___ P

[issue14996] Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Ned Deily
Ned Deily added the comment: It is still difficult to understand what problem you are seeing as others are using IDLE from the 3.2.3 installers on Windows 7. There is at least one open issue in this area on Windows: http://bugs.python.org/issue12988. Does that describe what you are seeing?

[issue14673] add sys.implementation

2012-06-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think Richard fixed it already, thanks. -- assignee: loewis -> status: open -> closed ___ Python tracker ___ __

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jun 4, 2012 at 3:21 PM, Alexandre Zani wrote: > Let me know if I misunderstood Alexander, but if I didn't this should be > documented with > the datetime object. Based upon my understanding, the datetime object is a > bad choice > if you care ab

[issue15002] urllib2 does not download 4 MB file completely using ftp

2012-06-04 Thread sspapilin
Changes by sspapilin : -- title: urllib2 does not download 4 MB file fully using ftp -> urllib2 does not download 4 MB file completely using ftp ___ Python tracker ___ _

[issue15002] urllib2 does not download 4 MB file fully using ftp

2012-06-04 Thread sspapilin
New submission from sspapilin : File test.py is #!/usr/bin/env python import urllib2 print urllib2.urlopen('ftp://ftp.ripe.net/pub/stats/ripencc/delegated-ripencc-extended-latest').read() When I issue python test.py > out.txt , I get file about 100KB in size, the beginning of the actual file

[issue15001] segmentation fault with del sys.module['__main__']

2012-06-04 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Many paths in pythonrun.c contains these lines: m = PyImport_AddModule("__main__"); d = PyModule_GetDict(m); both return borrowed references, from sys.modules. in most cases, d is simply passed to PyEval_EvalCode() and not used afterwards, *except

[issue15001] segmentation fault with del sys.module['__main__']

2012-06-04 Thread Hynek Schlawack
Changes by Hynek Schlawack : -- nosy: +hynek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8739] Update to smtpd.py to RFC 5321

2012-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 079c1942eedf by R David Murray in branch 'default': #8739: fix omission of DEBUGSTREAM reset in new test in test_smtpd. http://hg.python.org/cpython/rev/079c1942eedf -- ___ Python tracker

[issue15001] segmentation fault with del sys.module['__main__']

2012-06-04 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue15001] segmentation fault with del sys.module['__main__']

2012-06-04 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc : This simple script segfaults the interpreter (all versions), at least when run with "./python myscript.py" myscript.py:: import sys del sys.module['__main__'] -- messages: 162284 nosy: amaury.forgeotdarc priority: normal severity: norm

[issue14965] super() and property inheritance behavior

2012-06-04 Thread Daniel Urban
Changes by Daniel Urban : -- components: +Extension Modules -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue14965] super() and property inheritance behavior

2012-06-04 Thread Daniel Urban
Daniel Urban added the comment: I'm attaching a patch implementing super.__setattr__ (and __delattr__). The implementation in the patch only works, if super can find a data descriptor in the MRO, otherwise it throws an AttributeError. As it can be seen in the tests, in some cases this may res

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexandre Zani
Alexandre Zani added the comment: I'm still reading through the issue you mentioned. (It's a painful read I have to admit) One major obstacle seems to be that during the DST switch over, an hour gets repeated and so the datetime object is ambiguous. (are you on the first or second hour?) I wo

[issue15000] posixsubprocess module broken on x32

2012-06-04 Thread Mike Frysinger
New submission from Mike Frysinger : the direct call to the getdents syscall is broken on x32. there, the first two args are not unsigned long, but unsigned long long. patch attached to fix the issue. -- components: Extension Modules files: python-3.2.3-x32.patch keywords: patch mess

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jun 4, 2012 at 1:33 PM, Alexandre Zani wrote: > I think the easiest and most intuitive approach is to simply define > timestamp() > as being the reverse of fromtimestamp(). I would like to invite everyone to review the discussion leading to clos

[issue14673] add sys.implementation

2012-06-04 Thread Richard Oudkerk
Richard Oudkerk added the comment: The Windows buildbots were failing compilation. I've added Object/namespaceobject.c and Include/namespaceobject.h to PCbuild/pythoncore.vcxproj in changeset ee7cd7d51ed6. -- nosy: +sbt ___ Python tracker

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexandre Zani
Alexandre Zani added the comment: I think the easiest and most intuitive approach is to simply define timestamp() as being the reverse of fromtimestamp(). Don't worry about leap seconds and all that stuff. If non-1970 epochs are a concern, this could be renamed to posix_timestamp or some suc

[issue14997] Syntax Error in Python Version Number

2012-06-04 Thread cuulblu
cuulblu added the comment: "Can you please run IDLE from the cmd line and send the output of it in the cmd line." How do I do that? -- ___ Python tracker ___ _

[issue13959] Re-implement parts of imp in pure Python

2012-06-04 Thread Brett Cannon
Brett Cannon added the comment: Need to update the docstrings for imp.find_module() and load_module() to mention the functions are deprecated since there is no specific raised deprecation, only documented deprecation. -- ___ Python tracker

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-04 Thread Larry Hastings
Larry Hastings added the comment: I'm not sure that "long" and "impressive" are words that go together when describing a patch ;-) -- ___ Python tracker ___ ___

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-04 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Well, I'm going to ignore the long lines and documentation. The patch is really big and impressive. -- ___ Python tracker ___ _

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset df6d1a4d83fa by Hynek Schlawack in branch 'default': #14814: Remove dead code from ipaddress http://hg.python.org/cpython/rev/df6d1a4d83fa -- ___ Python tracker _

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-04 Thread R. David Murray
R. David Murray added the comment: Ah, yes, I wasn't clear. Sorry. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue14626] os module: use keyword-only arguments for dir_fd and nofollow to reduce function count

2012-06-04 Thread Larry Hastings
Larry Hastings added the comment: Second pass at my patch. Incorporates suggestions from Serhiy's review--thanks, Serhiy! Still not ready for checkin. > 80 col lines, no docs, docstrings are messy. But code is ready for (further) review. Code passes regression test suite without errors.

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 04, 2012, at 04:03 PM, Alexander Belopolsky wrote: >That's a valuable experience. How big of a deal was the lack of >.ticks() and .gmticks()? How did you work around it? It was *much* less of an issue than all the magic date format parsing that mxDT

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Mon, Jun 4, 2012 at 11:57 AM, Barry A. Warsaw wrote: > I've recently had to convert a bunch of code from using mxDateTime to > datetime+time, That's a valuable experience. How big of a deal was the lack of .ticks() and .gmticks()? How did you work a

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Jun 04, 2012, at 03:45 PM, Alexander Belopolsky wrote: >Did you review the long discussion under issue 2736? Specifically, please >note the part about mxDateTime, ticks() and gmticks(). I am -0 on adding >ticks() and gmticks() and as far as I can tell no

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Barry, Did you review the long discussion under issue 2736? Specifically, please note the part about mxDateTime, ticks() and gmticks(). I am -0 on adding ticks() and gmticks() and as far as I can tell no one has implemented these methods for datetim

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-04 Thread Chris Jerdonek
Chris Jerdonek added the comment: That sounds fine. I just got the sense from above that there was a desire to call invalidate_caches() as few times as possible. And yes, I agree only before is necessary. I had just taken what you said above literally (that "[the cache] should be reset by t

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-04 Thread R. David Murray
R. David Murray added the comment: That would probably be OK, but I don't see why clearing the cache in those same methods (that create directories on the path) would be any harder. (It isn't necessary to clear the cache *afterward*, only before, as far as I can see, since the case of a dire

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-06-04 Thread Chris Jerdonek
Chris Jerdonek added the comment: Because we don't know if the rest of the test code will adhere to this, we might want to consider clearing the cache before each test as well. Alternatively, we could avoid having to call importlib.invalidate_caches() at all (and having to think about for whi

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I completely agree. As easy (but obscure) as it is, it seems quite silly to have to go through time.mktime(dt.timetuple()) -- ___ Python tracker ___

[issue14908] datetime.datetime should have a timestamp() method

2012-06-04 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14673] add sys.implementation

2012-06-04 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm resolving this as Fixed since I've just committed the code to 3.3, but I'm also leaving its status open and assigning it to mvl for verification of the Windows build. Martin, if you'd rather not do that, please unassign it from yourself. I've also adde

[issue14673] add sys.implementation

2012-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9c445f4695c1 by Barry Warsaw in branch 'default': Eric Snow's implementation of PEP 421. http://hg.python.org/cpython/rev/9c445f4695c1 -- nosy: +python-dev ___ Python tracker

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-04 Thread R. David Murray
R. David Murray added the comment: Presumably the PEP 0 generator needs a patch, but that's not something most of us ever touch. I've added Nick to nosy, I think he made changes to it last. -- nosy: +ncoghlan, r.david.murray ___ Python tracker

[issue14215] http://www.python.org/dev/peps/ title is python.org

2012-06-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: What it the status of this bug? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-06-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6808a72fc9ec by Hynek Schlawack in branch 'default': #14814: Use correct comparison for IP addresses http://hg.python.org/cpython/rev/6808a72fc9ec -- ___ Python tracker

[issue14996] Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: pthon 3.2.3 freezes when saving a .py program -> Python 3.2.3 freezes when saving a .py program ___ Python tracker ___ ___

[issue14996] pthon 3.2.3 freezes when saving a .py program

2012-06-04 Thread Maureen Cuomo
Maureen Cuomo added the comment: I am running python in Windows 7, I installed python from python.org. I tried both of the following with the same results Python 3.2.3 Windows x86 MSI Installer(Windows binary -- does not include source) Py

[issue14997] Syntax Error in Python Version Number

2012-06-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: Can you please run IDLE from the cmd line and send the output of it in the cmd line. -- nosy: +ramchandra.apte ___ Python tracker ___ ___

[issue14996] IDLE in Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: Can you run IDLE from the cmd line and send the output of the cmd line when it crashes? -- nosy: +ramchandra.apte ___ Python tracker ___

[issue14996] IDLE in Python 3.2.3 freezes when saving a .py program

2012-06-04 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- title: pthon 3.2.3 freezes when saving a .py program -> IDLE in Python 3.2.3 freezes when saving a .py program ___ Python tracker ___ ___

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2012-06-04 Thread Ramchandra Apte
Changes by Ramchandra Apte : Added file: http://bugs.python.org/file25817/test_string.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13598] string.Formatter doesn't support empty curly braces "{}"

2012-06-04 Thread Ramchandra Apte
Ramchandra Apte added the comment: Added a new patch which addresses Éric's comments. -- Added file: http://bugs.python.org/file25816/issue13598.diff ___ Python tracker ___

[issue11959] smtpd cannot be used without affecting global state

2012-06-04 Thread Vinay Sajip
Changes by Vinay Sajip : -- assignee: -> vinay.sajip stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11959] smtpd cannot be used without affecting global state

2012-06-04 Thread Vinay Sajip
Changes by Vinay Sajip : -- keywords: +patch Added file: http://bugs.python.org/file25815/fa55dc894947.diff ___ Python tracker ___ ___

  1   2   >