[issue15013] smtplib: add low-level APIs to doc?

2012-06-06 Thread Sandro Tosi
New submission from Sandro Tosi : In the smtplib doc I read: Low-level methods corresponding to the standard SMTP/ESMTP commands HELP, RSET, NOOP, MAIL, RCPT, and DATA are also supported. Normally these do not need to be called directly, so they are not documented here. For details, consult

[issue15014] smtplib: allow to choose auth method on login()

2012-06-06 Thread Sandro Tosi
New submission from Sandro Tosi : Hello, I'm writing some tests from an MTA, and so I'm using smtplib. Sadly the login() method doesn't allow to choose the auth method to use (but it's selected from a static list compared with what's advertized from the MTA) while it would be useful to be able

[issue15011] Change Scripts to bin on Windows

2012-06-06 Thread Vinay Sajip
Vinay Sajip added the comment: This was proposed a little while ago, and I have the impression that (after a lot of discussion) the proposal didn't achieve consensus on python-dev. Has that changed? The patch itself doesn't touch the venv package, which would still create e.g. 'Scripts' and

[issue7304] email.message.Message.set_payload and as_string given charset 'us-ascii' plus 8bit data produces invalid message

2012-06-06 Thread Dmitry Shachnev
Changes by Dmitry Shachnev : -- nosy: +mitya57 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15015] Access to non-existing "future" attribute in error path of futures

2012-06-06 Thread Éric Piel
New submission from Éric Piel : concurrent.futures.Future.set_running_or_notify_cancel() has a reference to self.future, although Future has no future attribute. It's probably due to a copy/paste error. As it's in an error handling code path, most of the time the code is never used. Neverthele

[issue15016] [patch] add special case for latin messages in email.mime.text

2012-06-06 Thread Dmitry Shachnev
New submission from Dmitry Shachnev : (Follow-up to issue 14380) The attached patch makes the email.mime.text.MIMEText constructor use the iso-8859-1 (aka latin-1) encoding for messages where all characters are in range(256). This also makes them use quoted-printable transfer encoding instead

[issue15016] [patch] add special case for latin messages in email.mime.text

2012-06-06 Thread Dmitry Shachnev
Changes by Dmitry Shachnev : -- keywords: +patch Added file: http://bugs.python.org/file25845/issue_15016.patch ___ Python tracker ___ ___

[issue15016] [patch] add special case for latin messages in email.mime.text

2012-06-06 Thread Dmitry Shachnev
Dmitry Shachnev added the comment: Updated the patch: - Avoid using letter Ш in test, it's better to use chr(256) as the test case; - Updated the comment in MIMEText constructor to reflect the new behaviour. -- hgrepos: +135 Added file: http://bugs.python.org/file25846/issue_15016_v2.p

[issue15016] [patch] add special case for latin messages in email.mime.text

2012-06-06 Thread Dmitry Shachnev
Changes by Dmitry Shachnev : -- hgrepos: -135 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15016] [patch] add special case for latin messages in email.mime.text

2012-06-06 Thread Dmitry Shachnev
Changes by Dmitry Shachnev : Removed file: http://bugs.python.org/file25845/issue_15016.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue15017] threading.Lock documentation conflict

2012-06-06 Thread Petri Lehtinen
New submission from Petri Lehtinen : In the description of section 16.2.2. Lock objects: If an attempt is made to release an unlocked lock, a RuntimeError will be raised. In the description of Lock.release(): When invoked on an unlocked lock, a ThreadError is raised. Apparently, T

[issue15017] threading.Lock documentation conflict

2012-06-06 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15011] Change Scripts to bin on Windows

2012-06-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think there were strong objections to changing the path of python.exe, but this is not proposed in this patch. As for the patch itself, I think it lacks bdist_msi changes. -- ___ Python tracker

[issue12774] Warning -- multiprocessing.process._dangling was modified by test_multiprocessing

2012-06-06 Thread Richard Oudkerk
Richard Oudkerk added the comment: The warning no longer appears for the 3.x branch. I think it was changeset e54adf13e7a6 which only modified the test suite. I don't think it is worth backporting to 3.2. -- nosy: +sbt resolution: -> fixed stage: needs patch -> committed/rejected

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-06 Thread Paul Nasrat
Paul Nasrat added the comment: We've taken a simpler approach avoiding walk_packages in pip which we'll release for 3.3. I'd say if pkgutil doesn't work correctly with importers & loaders outside of it we probably should make that very explicit in the docs, and potentially consider deprecatin

[issue13854] multiprocessing: SystemExit from child with non-int, non-str arg causes TypeError

2012-06-06 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12157] join method of multiprocessing Pool object hangs if iterable argument of pool.map is empty

2012-06-06 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10037] multiprocessing.pool processes started by worker handler stops working

2012-06-06 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- nosy: +sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue15018] Incomplete Python LDFLAGS and CPPFLAGS used for extension modules on posix

2012-06-06 Thread Marcus von Appen
New submission from Marcus von Appen : If CPython is built and installed with additional CPPFLAGS and/or LDFLAGS on a posix platform, those flags are not passed to C extension modules, leaving users (in the worst case) lost without the ability to build and install C extension modules, if the f

[issue15013] smtplib: add low-level APIs to doc?

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Well, personally I just read the code, and didn't think anything of it. I guess Python code is documentation to me :) I don't see why there would be any objection to documenting them if you want to, though. It's not like we're going to want to change that

[issue15013] smtplib: add low-level APIs to doc?

2012-06-06 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15014] smtplib: add support for arbitrary auth methods

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Yes, this is a need I also ran into, but hadn't gotten around to submitting a bug for. If we are going to do this, though, I think we should do it right and add the ability to support arbitrary login methods. An example of one way to do this is the imaplib

[issue15014] smtplib: add support for arbitrary auth methods

2012-06-06 Thread R. David Murray
Changes by R. David Murray : -- components: +email nosy: +barry stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue15015] Access to non-existing "future" attribute in error path of futures

2012-06-06 Thread R. David Murray
Changes by R. David Murray : -- nosy: +bquinlan stage: -> patch review type: -> behavior versions: +Python 3.3 -Python 3.4 ___ Python tracker ___ __

[issue15016] Add special case for latin messages in email.mime.text

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Thanks for the patch. I may not get to this until after the beta (or I might, you never know). Could you submit a contributor agreement please? http://www.python.org/psf/contrib -- stage: -> patch review title: [patch] add special case for latin

[issue15017] threading.Lock documentation conflict

2012-06-06 Thread R. David Murray
R. David Murray added the comment: There's already an issue for this (issue 14502), which is closed. If the docs are still wrong you should probably reopen that one, since it has discussion of the issues involved. (Note, however, that ThreadError is RuntimeError, so technically the docs ar

[issue15016] Add special case for latin messages in email.mime.text

2012-06-06 Thread Dmitry Shachnev
Dmitry Shachnev added the comment: Done, sent an e-mail to contribut...@python.org. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue15011] Change Scripts to bin on Windows

2012-06-06 Thread Brian Curtin
Brian Curtin added the comment: Ah, sorry, the venv change wasn't included for some reason. New patch attached. I'll look into bdist_msi. I don't remember there being strong thoughts against this, but I guess I'll go look again. -- Added file: http://bugs.python.org/file25847/issue15

[issue10037] multiprocessing.pool processes started by worker handler stops working

2012-06-06 Thread Richard Oudkerk
Richard Oudkerk added the comment: It is not clear to me how to reproduce the bug. When you say "letting the workers terminate themselves" do mean calling sys.exit() or os._exit() in the submitted task? Are you trying to get the result of a task which caused the worker to exit? I'm not sure

[issue15019] Sting termination on Linux

2012-06-06 Thread Jānis
New submission from Jānis : test = "Hi there :)" print len(test), test // Prints "11 Hi there :)" test = test.replace(" ", "\x00") print len(test), test // Prints "11 On Windows '\x00' is same as ' ', but on linux string is terminated at first occurance of '\x00'. Results on proble

[issue15019] Sting termination on Linux

2012-06-06 Thread R. David Murray
R. David Murray added the comment: Windows makes \x00 a space? How odd. This is the result for me on linux: Python 2.7.3+ (2.7:1f5d2642929a, May 25 2012, 12:47:34) [GCC 4.5.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> test = "Hi there :)" >>> print

[issue15018] Incomplete Python LDFLAGS and CPPFLAGS used for extension modules on posix

2012-06-06 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2012-06-06 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +Yury.Selivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14847] AttributeError: NoneType has no attribute 'utf_8_decode'

2012-06-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: I find that on Python 2.7.3 64-bit Windows, the deletion of locale.encodings is also necessary: PS C:\Users\jaraco> python Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-06-06 Thread Brett Cannon
Brett Cannon added the comment: Yes, the docs should get updated and I will do that before Python 3.3 goes out the door. -- assignee: -> brett.cannon ___ Python tracker ___ __

[issue14502] Document better what happens on releasing an unacquired lock

2012-06-06 Thread Petri Lehtinen
Petri Lehtinen added the comment: The docs of 2.7 and 3.2 still first say that RuntimeError is raised, and then that a ThreadError is raised: ... If an attempt is made to release an unlocked lock, a RuntimeError will be raised. ... Lock.release() ... When invoked on a

[issue14847] AttributeError: NoneType has no attribute 'utf_8_decode'

2012-06-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: We're encountering this issue in another application of ours. A scan of the code doesn't reveal any places where the encodings.* modules are removed, so I've created a wrapper I intend to apply to our application that might help us detect where the module is

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2012-06-06 Thread Petri Lehtinen
Petri Lehtinen added the comment: Attached a patch against 3.2. It reflects the facts that pack_fstring and pack_fopaque are the same methd, and pack_string, pack_opaque and pack_bytes are the same method. -- versions: +Python 3.2, Python 3.3 -Python 3.1 _

[issue9544] xdrlib.Packer().pack_fstring throws a TypeError when called with a str()

2012-06-06 Thread Petri Lehtinen
Changes by Petri Lehtinen : Added file: http://bugs.python.org/file25849/issue9544.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue6160] Tkinter.Spinbox: fix for bbox and removed some uninteresting returns

2012-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe that for 3.x, Lib/lib-tk/Tkinter.py is not Lib/tkinter/__init__.py. I will put this on my list of issues to look at if possible. -- nosy: +terry.reedy ___ Python tracker

[issue15015] Access to non-existing "future" attribute in error path of futures

2012-06-06 Thread Brian Quinlan
Changes by Brian Quinlan : -- assignee: -> bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue3754] cross-compilation support for python build

2012-06-06 Thread Roumen Petrov
Changes by Roumen Petrov : Added file: http://bugs.python.org/file25850/python-py3k-20120607-CROSS.patch ___ Python tracker ___ ___ Python-bugs

[issue3754] cross-compilation support for python build

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: About Android issue with wchar still is applicable. So issue is not exactly as in 12010. Even with changed size multi-byte functions just return return result like a byte array, i.e. without conversion. Since python try to validate wide character at some poi

[issue3754] cross-compilation support for python build

2012-06-06 Thread Alexis Metaireau
Changes by Alexis Metaireau : -- nosy: -alexis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: Also include mingw-w64 fixes - check for structure REPARSE_DATA_BUFFER, use lower case names of some headers . set_abort_behavior. I prefer to exclude use of parse_off_t so that functionality to be to same. Use of relict alarm function is not excluded as one o

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: Correction: Use of relict alarm function is not excluded even failure in one of tests - the test is run if exist alarm function but require in addition SIGALARM attribute. -- ___ Python tracker

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-06 Thread Roumen Petrov
Roumen Petrov added the comment: Ray , about python cygwin/mingw compiler classes exists other requests - use cygwin class instead unix compiler, remove relict checks : nocygwin and etc. but without progress. About merge of getpath sources - issue is 9654. -- _

[issue15020] Poor default value for progname

2012-06-06 Thread Joshua Cogliati
New submission from Joshua Cogliati : In Python/pythonrun.c the following definition exists: static wchar_t *progname = L"python"; This is then used by Py_GetProgramName which is used by calculate_path in Modules/getpath.c Since in python 3, the default executable is python3, and not python,

[issue15020] Poor default value for progname

2012-06-06 Thread Joshua Cogliati
Joshua Cogliati added the comment: Here is a part of an strace where Python fails to find python3: (This would work if progname=L"python3" ) ... 23249 stat("/opt/python/3.2.2.3/bin/python", 0x7fff2881cbf0) = -1 ENOENT (No such file or directory) 23249 readlink("/usr/local/bin/python", "/usr/bin

[issue14627] Fatal Python Error when Python startup is interrupted by CTRL+c

2012-06-06 Thread STINNER Victor
STINNER Victor added the comment: > Hmm, I've managed to produce the error with 3.1: Oh oh, I thought that importlib changed the behaviour, but I'm wrong. importlib doesn't change anything so I'm closing the issue as invalid. -- resolution: -> invalid status: open -> closed

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-06-06 Thread Florent Xicluna
Florent Xicluna added the comment: It should raise a SyntaxError, if coding is 'utf8'. I don't agree with the last patch proposed. If the import report a SyntaxError, 'tokenize' should do the same. $ ./python Lib/test/bad_coding2.py File "Lib/test/bad_coding2.py", line 1 SyntaxError: encodin

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-06-06 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file25825/detect_encoding.patch ___ Python tracker ___ ___ Python-bugs-list m

[issue14990] detect_encoding should fail with SyntaxError on invalid encoding

2012-06-06 Thread STINNER Victor
STINNER Victor added the comment: Oops, I didn't want to attach my patch to the issue. Mine is wrong, whereas yours is the right fix :-) -- ___ Python tracker ___ _

[issue15003] make PyNamespace_New() public

2012-06-06 Thread STINNER Victor
STINNER Victor added the comment: It would be nice to have a minimum documentation :-) What is the kwds parameter? What are attributes of the object? -- nosy: +haypo ___ Python tracker ___

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-06 Thread STINNER Victor
STINNER Victor added the comment: Hum, can you please explain your change? If it is explained on python-dev, can you add a link to the email? You should documentation the behaviour change in the documentation of the datetime module. You chose Python 3.4, do you mean that such change is too l

[issue15021] xmlrpc server hangs

2012-06-06 Thread Abhishek Singh
New submission from Abhishek Singh : Hi Terry, I am running into a xmlrpc server issue where it just hangs. 9.914048127.0.0.1 -> 127.0.0.1TCP 52327 > 8012 [SYN] Seq=0 Win=32792 Len=0 MSS=16396 TSV=3131436173 TSER=0 WS=6 00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00 ...

[issue9247] imp.reload() doesn't take import lock

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: I just ran Antoine's test against the latest 3.3a4 build and received this: lock held = False lock held = False Is this issue still relevant given Brett's work on re-implementing import in pure Python? -- nosy: +serwy status: open -> pending __

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

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: You are already in a Python shell. Type in "import idlelib.idle" to launch IDLE. -- ___ Python tracker ___ _

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

2012-06-06 Thread Maureen Cuomo
Maureen Cuomo added the comment: OK. I did that. The idle window opened. I opened a new window to create a file; save the file in my usual directory and the same thing happened. The swirling circle and the message that python.exe has stopped working. Maureen On Wed, Jun 6, 2012 at 8:38 PM, Roge

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

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: Did any messages appear in the Python shell? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2012-06-06 Thread Maureen Cuomo
Maureen Cuomo added the comment: No. the window becomes 'faded' it is not reponding Maureen On Wed, Jun 6, 2012 at 8:51 PM, Roger Serwy wrote: > > Roger Serwy added the comment: > > Did any messages appear in the Python shell? > > -- > > ___ > Pyth

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

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: How are you using the open dialog to navigate to your usual directory? -- ___ Python tracker ___ ___ P

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

2012-06-06 Thread Maureen Cuomo
Maureen Cuomo added the comment: File , save as, libraries, documents - then I save the file there. No other folder right now. Maureen On Wed, Jun 6, 2012 at 9:01 PM, Roger Serwy wrote: > > Roger Serwy added the comment: > > How are you using the open dialog to navigate to your usual directo

[issue15006] Allow equality comparison between naive and aware datetime objects

2012-06-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Wed, Jun 6, 2012 at 7:32 PM, STINNER Victor wrote: > Hum, can you please explain your change? If it is explained on python-dev, > can you add a link to the email? Please see http://mail.python.org/pipermail/python-dev/2012-June/119933.html I don't k

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

2012-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: > File , save as, libraries, documents - then I save the file there. Ok, I agree now that this seems to be a duplicate of #12988 I will make a note there that another user had the same problem. -- resolution: -> duplicate status: open -> closed supers

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

2012-06-06 Thread Maureen Cuomo
Maureen Cuomo added the comment: So now what happens? Maureen On Wed, Jun 6, 2012 at 9:21 PM, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > > File , save as, libraries, documents - then I save the file there. > > Ok, I agree now that this seems to be a duplicate of #12988 >

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

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: Further discussion of this issue will be under Issue12988. We're working on finding a solution. -- resolution: duplicate -> status: closed -> open ___ Python tracker __

[issue9247] imp.reload() doesn't take import lock

2012-06-06 Thread Eric Snow
Eric Snow added the comment: Yeah, imp.reload() is pure Python now (Lib/imp.py), a simple wrapper around module.__loader__.load_module(), which does not make use of any import locks. Having it do so, however, may not be feasible as I'd expect it to mean having load_module() handle the lockin

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

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: Sorry for the re-open. I submitted an old form. -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___

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

2012-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Maureen, as I explain on #12988, I believe that this was a tcl/tk problem that was fixed by the recent release of version 8.5.11 (last March). The Windows installer for Python 3.3.0a4 release (a week ago) seems to have solved the problem for me. So give that

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #14996 as a duplicate of this. The OP there claimed that behavior changed between 3.2.1 and 3.2.3 and that she had same problem with 32 bit installation. It is hard to know the exact circumstances of the problem until we find its cause. Looking furt

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: I installed 3.3.0a4 (64-bit) on Win 7 and the issue did not occur when using asksaveasfile. I repeated with 32-bit 3.3.0a4 without any problems. How can we confirm that 3.2 will receive the Tcl/Tk upgrade? (64-bit 2.7.3 does not have this bug.) -- resol

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: Re-opened. -- resolution: out of date -> status: closed -> open ___ Python tracker ___ ___ Python-bug

[issue15003] make PyNamespace_New() public

2012-06-06 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file25827/issue15003_public.diff ___ Python tracker ___ ___ Python-bugs-list maili

[issue15003] make PyNamespace_New() public

2012-06-06 Thread Eric Snow
Eric Snow added the comment: Where should the docs go for PyNamespace_New()? I looked at what's in Doc/c-api/concrete.rst (concrete.html#other-objects), and each of them points to its own page. Adding a new page for a single function seems a bit too much. :) Would it be bad to put the doc

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

2012-06-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I think the attached patch implements what was agreed to on python-dev. We need more tests, particularly around DST change. I tested the patch on OSX, but I am interested to hear feedback from users of other OSes. -- keywords: +patch stage: ne

[issue15022] types.SimpleNamespace needs to be picklable

2012-06-06 Thread Eric Snow
New submission from Eric Snow : In issue 15003 Raymond recommended that types.SimpleNamespace be picklable. I'll get a patch up as soon as I can to add this capability. -- messages: 162453 nosy: eric.snow priority: normal severity: normal stage: needs patch status: open title: types.Si

[issue15003] make PyNamespace_New() public

2012-06-06 Thread Eric Snow
Eric Snow added the comment: I've opened issue 15022 for making SimpleNamespace picklable. -- ___ Python tracker ___ ___ Python-bugs-

[issue3367] Uninitialized value read in parsetok.c

2012-06-06 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue9256] plistlib should create non-naïve datetime objects

2012-06-06 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue8902] add datetime.time.now() for consistency

2012-06-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Closing for the lack of interest. Proposed time.now() is already available as datetime.now().time(). No use case justifying any improvement in this area was presented. -- resolution: postponed -> wont fix status: open -> closed __

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

2012-06-06 Thread Martin v . Löwis
Martin v. Löwis added the comment: If it really fixes the bug, I can update the Tcl version. However, for that, I would need precise instructions on how to reproduce the bug. -- ___ Python tracker ___

[issue15023] listextend (and therefore list.extend and list.__init__) peek at len before iter

2012-06-06 Thread Julian Berman
New submission from Julian Berman : The following code raises an unexpected exception: class Foo(object): def __len__(self): raise Exception() def __iter__(self): return iter([]) list(Foo()) In the optimizations being done in listextend, it appe

[issue15023] listextend (and therefore list.extend and list.__init__) peek at len before iter

2012-06-06 Thread Julian Berman
Julian Berman added the comment: Oh, and, with apologies for the double post, tuple does the same, while set, dict, collections.deque do not. -- ___ Python tracker ___

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

2012-06-06 Thread Roger Serwy
Roger Serwy added the comment: Precise instructions can be found in msg144106 and msg161168 from Issue12988. -- ___ Python tracker ___ __

[issue8902] add datetime.time.now() for consistency

2012-06-06 Thread anatoly techtonik
anatoly techtonik added the comment: I'd say no consensus was reached due to lack of participation. My enthusiasm was killed by the issue8903 resolution. My opinion is that: datetime.time.now() is much better than: datetime.datetime.now().time() -- _

[issue8902] add datetime.time.now() for consistency

2012-06-06 Thread anatoly techtonik
anatoly techtonik added the comment: And I certainly don't agree with you that usability changes in API are not use cases. -- ___ Python tracker ___