[issue13443] wrong links and examples in the functional HOWTO

2011-11-23 Thread A.M. Kuchling
A.M. Kuchling li...@amk.ca added the comment: Here's a patch against the 3.3 trunk. -- Added file: http://bugs.python.org/file23765/functional-patch.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13443

[issue13466] new timezones

2011-11-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: On my Ubuntu machine, I get: $ zdump -v Europe/Moscow | grep 201[0-9] Europe/Moscow Sat Mar 27 22:59:59 2010 UTC = Sun Mar 28 01:59:59 2010 MSK isdst=0 gmtoff=10800 Europe/Moscow Sat Mar 27 23:00:00 2010 UTC = Sun Mar 28 03:00:00

[issue13466] new timezones

2011-11-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Amaury Forgeot d'Arc wrote: The error comes from the way Python computes timezone and daylight: it queries the tm_gmtoff of two timestamps, one close to the first of January, the other close to the first of July. But last January the

[issue4111] Add Systemtap/DTrace probes

2011-11-23 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: This project continues in issue #13405. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4111 ___

[issue10318] make altinstall installs many files with incorrect shebangs

2011-11-23 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Hmm, interesting mailing list post - I hadn't thought about how the auto-initialisation of sys.path[0] aligns with the Windows vs Unix difference in PATH handling (i.e. whether or not the current directory is considered to be on PATH), with

[issue13405] Add DTrace probes

2011-11-23 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13455] Reorganize tracker docs in the devguide

2011-11-23 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I think the reason these docs are scattered is that the devguide is a guide, not a reference manual. I don't think this patch makes sense: if the tracker really needed so much text to explain how it works, then the tracker would have

[issue13466] new timezones

2011-11-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: A fairly correct way is to query the time zone database at time module import time by using the DST and GMT offset of that time. But that does not give the *other* timezone :-( IMO time.timezone and time.daylight should be

[issue13466] new timezones

2011-11-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Another way to fix the issue is to wait 40 days. There won't be any release in-between anyway! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13466

[issue13448] PEP 3155 implementation

2011-11-23 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: Added file: http://bugs.python.org/file23766/942ba1e2f8c1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13448 ___

[issue13448] PEP 3155 implementation

2011-11-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: New patch addressing Benjamin's and Victor's comments. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13448 ___

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-11-23 Thread sbt
sbt shibt...@gmail.com added the comment: It seems to me that ERROR_OPERATION_ABORTED is a true error, and so should raise an exception. I guess so, although we do expect it whenever poll() times out. What exception would be appropriate? BlockingIOError? TimeoutError? --

[issue13455] Reorganize tracker docs in the devguide

2011-11-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This is true, however different people can figure out a different amount of things just by using and experiment with something. While most of the tasks should be obvious, some are a bit more advanced, and even the obvious once might not be

[issue13448] PEP 3155 implementation

2011-11-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Ah, PyFunction_NewWithQualName is now public. Why an upper P in PyFunction_NewWithQualName? If you use an upper P, it should use an underscore in Python: __qual_name__ to be consistent. So I suggest to change the C name :-)

[issue13415] del os.environ[key] ignores errors

2011-11-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: del os.environ - del os.environ[key] ignores errors ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13415 ___

[issue13448] PEP 3155 implementation

2011-11-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Why an upper P in PyFunction_NewWithQualName? If you use an upper P, it should use an underscore in Python: __qual_name__ to be consistent. __getattr__ / PyObject_GetAttr. -- ___ Python tracker

[issue12328] multiprocessing's overlapped PipeConnection on Windows

2011-11-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It seems to me that ERROR_OPERATION_ABORTED is a true error, and so should raise an exception. I guess so, although we do expect it whenever poll() times out. What exception would be appropriate? BlockingIOError? TimeoutError? I would

[issue13465] A Jython section in the dev guide would be great

2011-11-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Uh, rather -1 on this. I would suggest Jython gets its own devguide (which can of course copy stuff from CPython's), since Jython and CPython are distinct projects. No need to confuse readers by mixing instructions for two different projects in

[issue13455] Reorganize tracker docs in the devguide

2011-11-23 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Well, it does hurt, because the more sentences you write, the more the devguide becomes bloated and difficult to follow OTOH is easy to ignore an how to register to the tracker section if you are already registered or if you don't need

[issue13422] Subprocess: children hang due to open pipes

2011-11-23 Thread Felix Steffenhagen
Felix Steffenhagen fe...@sutus.com added the comment: The problem I have with the solution that is currently implemented is that subprocess is waiting for the spawned child although the child is not running anymore. In my case this issue occured when invoking samba or the small sample daemon

[issue13467] Typo in doc for library/sysconfig

2011-11-23 Thread INADA Naoki
New submission from INADA Naoki songofaca...@gmail.com: http://docs.python.org/library/sysconfig.html#sysconfig.get_path If scheme is provided, it must be a value from the list returned by get_path_names(). s/get_path_names/get_scheme_names/ -- assignee: docs@python components:

[issue5305] imaplib should support international mailbox names

2011-11-23 Thread Babak M
Babak M babak...@gmail.com added the comment: There's a working implementation of this in PloneMailList. http://svn.plone.org/svn/collective/mxmImapClient/trunk/imapUTF7.py -- nosy: +BabakM ___ Python tracker rep...@bugs.python.org

[issue13465] A Jython section in the dev guide would be great

2011-11-23 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Hosting docs.python.org/devguide/jython doesn't seem like an unreasonable idea at all to me, and what's the benefit to CPython in making the Jython team go to the effort of building out independent deployment and source control infrastructure

[issue13468] Python 2.7.1 SegmentationFaults when given high recursion limit

2011-11-23 Thread Tom Dignan
New submission from Tom Dignan t...@adeptdev.com: On my system, the magic number to make this segfault seems to be 26200: tom@tralfamadore ~/Downloads $ python recur1.py 26199 160164968 tom@tralfamadore ~/Downloads $ python recur1.py 26200 Segmentation fault Here's the source:

[issue11816] Refactor the dis module to provide better building blocks for bytecode analysis

2011-11-23 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Meador's suggested name change has grown on me, so I plan to switch the name of the new API to get_instructions() and the new class to Instruction. -- assignee: rhettinger - ncoghlan ___ Python

[issue13443] wrong links and examples in the functional HOWTO

2011-11-23 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Andrew, thanks, but I still think it's a bigger problem that the page discusses a module which is not available on Python 3.x - this means that a user following the page can't just type in the code and make it run. The links can be fixed and

[issue13468] Python 2.7.1 SegmentationFaults when given high recursion limit

2011-11-23 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Of course; that's what the recursion limit protects against. -- nosy: +benjamin.peterson resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13469] TimedRotatingFileHandler fails to handle intervals of several weeks correctly

2011-11-23 Thread Jussi Eronen
New submission from Jussi Eronen e...@iki.fi: When specifying a time period of several weeks, say when w0 and interval 4, the rollover still happens weekly instead of every 4 weeks. The log file names are as though the rollover happens every 4 weeks, which furthers the confusion. In the file

[issue13469] TimedRotatingFileHandler fails to handle intervals of several weeks correctly

2011-11-23 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13469 ___ ___ Python-bugs-list

[issue13470] A user may need ... when she has ...

2011-11-23 Thread Florent Xicluna
New submission from Florent Xicluna florent.xicl...@gmail.com: http://docs.python.org/library/sys.html#sys.setrecursionlimit http://docs.python.org/dev/library/sys.html#sys.setrecursionlimit Doc for Python 2.7 says: A user may need to set the limit higher when she has ... Doc for Python 3.3

[issue12170] index() and count() methods of bytes and bytearray should accept byte ints

2011-11-23 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Just a thought: Would this change be worthy for the What's new in 3.3 list? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12170 ___

<    1   2