[issue8739] Update to smtpd.py to RFC 5321

2012-03-12 Thread Juhana Jauhiainen
Juhana Jauhiainen added the comment: Since Michele has been already working on this I could help with the cleanup once it's separated as a new issue. David: Thanks for your comments. I wasn't sure if I should make a general solution or not and ended up making this one. -- __

[issue14257] minor error in glossary wording regarding __hash__

2012-03-12 Thread Chris Rebert
Chris Rebert added the comment: I regret to inform you that those changes made the sentence in question ungrammatical. Removing the word "method" will make it grammatical again (as originally suggested). -- resolution: fixed -> status: closed -> open

[issue8739] Update to smtpd.py to RFC 5321

2012-03-12 Thread Michele Orrù
Michele Orrù added the comment: Patch attached. A few considerations: in case of syntax error, the server responds with " MAIL FROM: [SP ] " according to http://tools.ietf.org/html/rfc5321#section-3.3 (instead of "MAIL FROM:"). Note that this could break something, as far as backwards compa

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-12 Thread Michele Orrù
Michele Orrù added the comment: > This is not the proper workflow for bug tracking. "No one is working > on this right now" is not the same as "This bug is invalid". No one > worked on this ticket almost *seven years* after I filed it. You are right. Sorry for that. --

[issue14261] Cleanup in smtpd module

2012-03-12 Thread Michele Orrù
New submission from Michele Orrù : This issue is related to 8739 . As pointed in http://bugs.python.org/issue8739#msg155385, « tests are in the form FooTest instead of TestFoo, smtpd imports modules used only in __main__, warnings can be handled the appropriate module, __import__ shall not be

[issue14262] Allow using decimals as arguments to `timedelta`

2012-03-12 Thread Ram Rachum
New submission from Ram Rachum : Please allow using decimals as arguments to `timedelta`, so the following code won't raise an exception: Python 3.3.0a1 (default, Mar 4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.

[issue10296] ctypes catches BreakPoint error on windows 32

2012-03-12 Thread Patrick
Patrick added the comment: This affects me too. -- nosy: +pjlbyrne ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-12 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.

[issue14102] argparse: add ability to create a man page

2012-03-12 Thread Ingo Fischer
Changes by Ingo Fischer : -- nosy: +Ingo.Fischer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14249] unicodeobject.c: aliasing warnings

2012-03-12 Thread Stefan Krah
Stefan Krah added the comment: Benjamin Peterson wrote: > gcc 4.5 doesn't warn for me. Is this a compiler bug in 4.4 or 4.5? > That is, are these actual aliasing violations? I see this with 4.4 but also with 4.6 when using -Wstrict-aliasing=2. However, nothing bad happens when I compile with -

[issue1648923] HP-UX: -lcurses missing for readline.so

2012-03-12 Thread GaaL33
GaaL33 added the comment: I confirm that there's still a build issue. I've tried to compile python 2.7.2 on HP-UX 11.31. And it crashes with : ld -b build/temp.hp-ux-B.11.31-ia64-2.7/images/Python-2.7.2/Modules/readline.o -L/usr/lib/termcap -L/usr/local/lib -L/usr/local/lib/hpux32 -lreadline

[issue8942] __path__ attribute of modules loaded by zipimporter is untested

2012-03-12 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr added the comment: I'm working on it -- nosy: +tati_alchueyr ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue1648923] HP-UX: -lcurses missing for readline.so

2012-03-12 Thread R. David Murray
R. David Murray added the comment: OK, reopening. I've added 3.2 and 3.3 as I imagine the same problem will exist there. Now we need someone to propose a patch to fix it. -- resolution: out of date -> stage: test needed -> needs patch status: closed -> open versions: +Python 3.2, Py

[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error

2012-03-12 Thread Tim Lesher
Tim Lesher added the comment: Corrected const warning in previous patch. -- Added file: http://bugs.python.org/file24794/8070-use-default-encoding-2.patch ___ Python tracker ___

[issue8010] tkFileDialog.askopenfiles crashes on Windows 7

2012-03-12 Thread Tim Lesher
Changes by Tim Lesher : -- nosy: +tlesher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue12919] Control what module is imported first

2012-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +carljm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2012-03-12 Thread Anthony Tuininga
Anthony Tuininga added the comment: All, I have trimmed this patch down to the bare minimum required to solve this problem. Please review this as I would dearly love to have this committed. The error received without this patch is MSIError: unknown error 103 This occurs when there are no mor

[issue14243] NamedTemporaryFile unusable under Windows

2012-03-12 Thread Dave Abrahams
Dave Abrahams added the comment: Nick, not to belabor this, but I guess you don't understand the use-case in question very well, or you'd see that delete=False doesn't cover it. The use case is this: I have to write a test for a function that takes a filename as a parameter and opens and read

[issue14243] NamedTemporaryFile unusable under Windows

2012-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue8942] __path__ attribute of modules loaded by zipimporter is untested

2012-03-12 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr added the comment: Improved test so the __path__ of a package loaded from a zip file, using zipimporter, is checked. -- keywords: +patch Added file: http://bugs.python.org/file24796/issue8942_test_for_zipimporter.patch ___ Python

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-12 Thread Matthew Barnett
Matthew Barnett added the comment: The re module creates the dict purely for the benefit of the user, and as it's a normal dict, it's mutable. An alternative would to use an immutable dict or dict-like object, but Python doesn't have such a class, and it's probably not worth writing one just

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Łukasz Langa
Łukasz Langa added the comment: There is indeed a 5% performance gain from using PyUnicode_FromString instead of the generic Py_BuildValue function. -- ___ Python tracker ___ _

[issue12342] characters with ord above 65535 fail to display in IDLE

2012-03-12 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5832d3622473 by Łukasz Langa in branch 'default': Fixes #13842: cannot pickle Ellipsis or NotImplemented. http://hg.python.org/cpython/rev/5832d3622473 -- nosy: +python-dev ___ Python tracker

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue11664] Add patch method to unittest.TestCase

2012-03-12 Thread Michael Foord
Michael Foord added the comment: mock is being added to Python 3.3 as unittest.mock - so a helper TestCase.patch should delegate to unittest.mock.patch. -- ___ Python tracker _

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : distutils2 pysetup install is not working on py2 because the wrapper tries to pull func.f_name, which does not exist. -- assignee: tarek messages: 155463 nosy: eric.araujo, j1m, tarek priority: critical severity: normal status: open title: switch_index_

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- components: +Distutils2 nosy: +alexis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: tarek components: Distutils2 nosy: alexis, eric.araujo, j1m, tarek priority: high severity: normal status: open title: can't install zope.event 3.4.0 type: behavior versions: Python 2.6, Python 2.7 ___ Python trac

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : it gets 3.4.1 for some reason -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci added the comment: I have started to work on this. -- nosy: +aikinci ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Jan-Jaap Driessen
Changes by Jan-Jaap Driessen : -- nosy: +janjaapdriessen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 32a95541829c by Tarek Ziade in branch 'default': Fixed a function name lookup in distutils2.pypi.wrapper (#14263) http://hg.python.org/distutils2/rev/32a95541829c -- nosy: +python-dev ___ Python tracker

[issue14265] Fully qualified test name in failure output

2012-03-12 Thread Michael Foord
New submission from Michael Foord : Somewhere in the failure message for tests Guido would like to see the fully qualified test name, suitable for copying and pasting into a test runner invocation for running just that test. -- assignee: michael.foord components: Library (Lib) messages

[issue14265] Fully qualified test name in failure output

2012-03-12 Thread R. David Murray
R. David Murray added the comment: +10 :) -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue13476] Simple exclusion filter for unittest autodiscovery

2012-03-12 Thread Michael Foord
Michael Foord added the comment: This would be nice (more powerful) as a general test method exclusion filter: so run test discovery or fetch the specified test module / class and then exclude individual tests that match the pattern. We're looking to add a general test include filter, so it i

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Éric Araujo
Éric Araujo added the comment: Can you increase logging level and paste log messages? -- stage: -> test needed versions: +3rd party, Python 3.3 -Python 2.6, Python 2.7 ___ Python tracker _

[issue5758] fileinput.hook_compressed returning bytes from gz file

2012-03-12 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr added the comment: Working on this -- nosy: +tati_alchueyr ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue13703] Hash collision security issue

2012-03-12 Thread Jon Vaughan
Jon Vaughan added the comment: FWIW I upgraded to ubuntu pangolin beta over the weekend, which includes 2.7.3rc1, and I'm also experiencing a problem with urandom. File "/usr/lib/python2.7/email/utils.py", line 27, in import random File "/usr/lib/python2.7/random.py", line 47, in

[issue14264] Comparison bug in distutils2.version

2012-03-12 Thread Éric Araujo
Éric Araujo added the comment: More info: The command to reproduce the bug is “pysetup install "zope.event (3.4.0)"”, which gets zope.event 3.4.1. The bug comes from d2.version.VersionPredicate.match: >>> predicate = VersionPredicate('zope.event (3.4.0)') >>> predicate.match('3.4.0') True >>

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: reviewing now. -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-12 Thread Colin Marc
Colin Marc added the comment: More updates to the patch. -- Added file: http://bugs.python.org/file24797/npn_patch_py3.diff ___ Python tracker ___ __

[issue14266] pyunit script as shorthand for python -m unittest

2012-03-12 Thread Michael Foord
New submission from Michael Foord : "python -m unittest ..." is a pain to type. A "pyunit" script would be a nice shorthand. (unittest2 has a unit2 script that does this.) -- assignee: michael.foord components: Library (Lib) messages: 155476 nosy: michael.foord priority: normal severity

[issue14266] pyunit script as shorthand for python -m unittest

2012-03-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: And it should do "discover" by default, IMO (like nose does). -- nosy: +pitrou ___ Python tracker ___ _

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
Nicholas Riley added the comment: Attached is a patch which implements time.monotonic() using mach_absolute_time() / mach_timebase_info(). This was recommended by Apple in their technical Q&A 1398: https://developer.apple.com/library/mac/#qa/qa1398/ -- keywords: +patch nosy: +nriley

[issue14266] pyunit script as shorthand for python -m unittest

2012-03-12 Thread Michael Foord
Michael Foord added the comment: Right "unit2" on its own does discover by default now. (On head, not sure if that's released yet.) -- ___ Python tracker ___ __

[issue14264] Comparison bug in distutils2.version

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e0ca4594a2a by Tarek Ziade in branch 'default': Removed the trailing zero wiping (#14264) http://hg.python.org/distutils2/rev/1e0ca4594a2a -- nosy: +python-dev ___ Python tracker

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-12 Thread Brett Cannon
Brett Cannon added the comment: So after looking at import.c and how it handles stuff, I have decided how I already implemented __import__() triggering __import__() itself is fine. So Antoine can just stay confused by my comment as it is now a moot point. =) -- __

[issue14267] TimedRotatingFileHandler chooses wrong file name due to daylight saving time "spring forward"

2012-03-12 Thread Matt Mullins
New submission from Matt Mullins : As logs were rotated at midnight this morning (at the end of the day 2012-03-11), we detected that the logs were incorrectly renamed to *.log.2012-03-10, causing logs from Saturday to be overwritten. I believe this bug is related to the transition to dayligh

[issue14268] _move_file is broken because of a bad mock

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : the mocked list_installed_files() returns a list of files instead of a list of (path, md5, path) -- assignee: tarek components: Distutils2 messages: 155483 nosy: alexis, eric.araujo, tarek priority: normal severity: normal status: open title: _move_file

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-12 Thread py.user
py.user added the comment: Matthew Barnett wrote: > The re module creates the dict purely for the benefit of the user this dict affects on regex.sub() >>> import re >>> p = re.compile(r'abc(?Pdef)') >>> p.groupindex {'n': 1} >>> p.groupindex['n'] = 2 >>> p.sub(r'\g', 'abcdef') Traceback (most

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-12 Thread Brett Cannon
Brett Cannon added the comment: Looks like Windows as a PC/import_nt.c:_PyWin_FindRegisteredModule() function used to find modules in the registry. Probably should care about that at some point (I guess). -- ___ Python tracker

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci added the comment: This patch fixes the issue but needs review. It is my first patch ever so be nice :) -- keywords: +patch Added file: http://bugs.python.org/file24800/issue14238.patch ___ Python tracker

[issue14268] _move_file is broken because of a bad mock

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset c0a9ba08ebe3 by Tarek Ziade in branch 'default': fixed a test mock issue (#14268) http://hg.python.org/distutils2/rev/c0a9ba08ebe3 -- nosy: +python-dev ___ Python tracker

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Éric Araujo
Éric Araujo added the comment: Thanks you for your contribution! I hope you’ll find fun bugs to make patches for. Your patch looks too simplistic; in the discussion, we agreed that if the lookup fails, the site module should not add user site directories (see http://docs.python.org/library/

[issue13394] Patch to increase aifc lib test coverage

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset fc3a63ed1f67 by Ezio Melotti in branch '3.2': #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk. http://hg.python.org/cpython/rev/fc3a63ed1f67 New changeset 512d3ad81fb9 by Ezio Melotti in branch 'default': #13394: add more tes

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-12 Thread Dan Boswell
New submission from Dan Boswell : The current SMTP RFC (5321) states that 'a client MUST issue HELO or EHLO before starting a mail transaction'. The SMTP server should issue '503 Bad sequence of commands' if a client sends MAIL, RCPT or DATA commands before it sends an HELO/EHLO; currently it

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5353357382e2 by Łukasz Langa in branch 'default': #13842: check whether PyUnicode_FromString succeeded http://hg.python.org/cpython/rev/5353357382e2 -- ___ Python tracker

[issue14235] test_cmd.py does not correctly call reload()

2012-03-12 Thread Éric Araujo
Éric Araujo added the comment: Ah, right. Will apply your patch. -- assignee: -> eric.araujo versions: +Python 3.2 ___ Python tracker ___ _

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Arkadiusz Miskiewicz Arkadiusz Miskiewicz
Arkadiusz MiskiewiczArkadiusz Miskiewicz added the comment: $ LC_ALL=C sudo -u '#' -g '#' /bin/sh -c 'unset HOME ; python -c ""' Traceback (most recent call last): File "/usr/share/python2.7/site.py", line 567, in main() File "/usr/share/python2.7/s

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #10496. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14002] distutils2 fails to install a package from PyPI on Python 2.7.2

2012-03-12 Thread Tetsuya Morimoto
Tetsuya Morimoto added the comment: I can reproduce it on Mac OS X. I made a patch which checks the "func_name" attribute of function before it refers. It works for me. However, I wonder if a function has both "func.im_self" and "func.func_name"? Tell me the background because I'm newbie for

[issue13394] Patch to increase aifc lib test coverage

2012-03-12 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patches! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue14002] distutils2 fails to install a package from PyPI on Python 2.7.2

2012-03-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: see Bug 14263 also -- dependencies: +switch_index_if_fails fails on py2 ___ Python tracker ___ ___ Pyt

[issue14270] Can't install a package in a specific directory

2012-03-12 Thread Mathieu Leduc-Hamel
New submission from Mathieu Leduc-Hamel : When using distutils2.install.install_from_infos to install a package, no matter if you have an install_path parameter or not, it doesn't work. The problem seems to resided at: distutils2.install._run_install_from_archive Doesn't have any dest_dir par

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci added the comment: I would suggest that this issue is the same as http://bugs.python.org/issue10496 like Victor pointed out and would say close it because it is a duplicate. -- ___ Python tracker

[issue13450] add assertions to implement the intent in ''.format_map test

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 995cddd15313 by Eric V. Smith in branch '3.2': str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450. http://hg.python.org/cpython/rev/995cddd15313 New changeset 0df295d590a8 by Eric V. Smith

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-12 Thread Dan Boswell
Dan Boswell added the comment: Attached a diff containing a unit-test for this behavior. -- keywords: +patch Added file: http://bugs.python.org/file24802/failing_test.diff ___ Python tracker __

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread STINNER Victor
STINNER Victor added the comment: > Attached is a patch which implements time.monotonic() using > mach_absolute_time() / mach_timebase_info(). Is it possible that mach_timebase_info() fails? No according to the Technical Q&A QA1398. > time * timebase.numer / timebase.denom "time * timebase.n

[issue13394] Patch to increase aifc lib test coverage

2012-03-12 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue14271] remove setup.py from the doc

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : http://docs.python.org/dev/packaging/index.html we still have setup.py pages here from the old doc -- assignee: eric.araujo components: Distutils2 messages: 155503 nosy: alexis, eric.araujo, j1m, tarek priority: normal severity: normal status: open titl

[issue14272] ast.c: windows compile error

2012-03-12 Thread Stefan Krah
New submission from Stefan Krah : The Windows build seems to be broken: Python-ast.c ..\Python\Python-ast.c(459) : error C2059: syntax error : ';'

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
Nicholas Riley added the comment: I've spent a few hours looking at xattr and the Linux/OS X (10.4+) implementations. Bob Ippolito's xattr module implements the OS X xattr interface on Linux, Solaris (9+) and FreeBSD. Linux and OS X are pretty close; FreeBSD and Solaris are substantially di

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
Changes by Nicholas Riley : -- nosy: +bob.ippolito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14271] remove setup.py from the doc

2012-03-12 Thread Éric Araujo
Éric Araujo added the comment: I have a clone with this fix and many more improvements. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Update packaging documentation versions: +3rd party -Python 3.4

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
Nicholas Riley added the comment: timebase.numer and timebase.denom are always 1 in practice (see the "note" in the tech Q&A); I included them for completeness, but maybe it's just better to not bother? -- ___ Python tracker

[issue14184] test_recursion_limit fails on OS X when compiled with clang

2012-03-12 Thread Ned Deily
Ned Deily added the comment: 3.2 also fails when compiled on 10.7 with clang. Issue9670 had increased the secondary stack size for OS X and FreeBSD by an empirically-determined amount to reduce the chance of crashes for recursive function calls. Continuing that somewhat kludgey strategy, the

[issue14273] handler not properly initialized

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : $ ./pysetup dwqqwddwq No handlers could be found for logger "distutils2" -- assignee: eric.araujo components: Distutils2 messages: 155509 nosy: alexis, eric.araujo, tarek priority: high severity: normal status: open title: handler not properly initialize

[issue14267] TimedRotatingFileHandler chooses wrong file name due to daylight saving time "spring forward"

2012-03-12 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +vinay.sajip versions: +Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___ ___ Python-bugs

[issue14273] distutils2: logging handler not properly initialized

2012-03-12 Thread Éric Araujo
Éric Araujo added the comment: I’ve seen that too when running “python -m packaging.run”, but I don’t understand why the behavior is different when running pysetup vs. ./pysetup vs. python -m: all of these run the same code. -- nosy: +vinay.sajip title: handler not properly initialize

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread STINNER Victor
STINNER Victor added the comment: > timebase.numer and timebase.denom are always 1 in practice In this case, you will not lose precision and it's safe to cast to double to multiply and divide ;-) -- ___ Python tracker

[issue14259] re.finditer() doesn't accept keyword arguments

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider added the comment: Working on this. -- nosy: +jafo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Ned Deily
Changes by Ned Deily : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14274] pysetup does not look at requires.txt

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : the installer needs to read requires.txt to build the deps list as well -- assignee: eric.araujo components: Distutils2 messages: 155513 nosy: alexis, eric.araujo, tarek priority: normal severity: normal status: open title: pysetup does not look at requi

[issue14274] pysetup does not look at requires.txt

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: eric.araujo -> alexis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue14275] pysetup create doesn't handle install requirements

2012-03-12 Thread Jan-Jaap Driessen
New submission from Jan-Jaap Driessen : Distutils2 pysetup can take an existing setuptools based project and convert it into the distutils2 setup.cfg syntax using `pysetup create`. The install requirements are not converted: {{{ svn co svn+ssh://svn.zope.org/repos/main/zope.dublincore/trunk py

[issue14259] re.finditer() doesn't accept keyword arguments

2012-03-12 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
Nicholas Riley added the comment: OK, you have a point :-) New patch attached. -- Added file: http://bugs.python.org/file24804/monotonic-2.patch ___ Python tracker ___

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: Oddly, test_sax fails once this patch is applied (using 3.1). debugging now. test_sax test test_sax failed -- Traceback (most recent call last): File "/home/greg/sandbox/python/cpython/3.1/Lib/xml/sax/expatreader.py", line 207, in feed self._parser.Par

[issue14276] install latest version of a package

2012-03-12 Thread Jan-Jaap Driessen
New submission from Jan-Jaap Driessen : I would like to install the latest version of a package. The pysetup command does not give me easy access to do this. Can we add an 'upgrade' method? -- assignee: eric.araujo components: Distutils2 messages: 155517 nosy: alexis, eric.araujo, janja

[issue14277] time.monotonic docstring does not mention the time unit returned

2012-03-12 Thread Nicholas Riley
New submission from Nicholas Riley : Currently: >>> help(time.monotonic) Help on built-in function monotonic in module time: monotonic(...) monotonic() -> float Monotonic clock. The reference point of the returned value is undefined so only the difference of consecutive calls

[issue14179] Test coverage for lib/re.py

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset cc48eef234dd by Ezio Melotti in branch '2.7': #14179: add tests for re.compile. Patch by Florian Mladitsch. http://hg.python.org/cpython/rev/cc48eef234dd -- nosy: +python-dev ___ Python tracker

[issue14104] Implement time.monotonic() on Mac OS X

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

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c875719e46d by Victor Stinner in branch 'default': Issue #14104: Implement time.monotonic() on Mac OS X, http://hg.python.org/cpython/rev/3c875719e46d -- nosy: +python-dev ___ Python tracker

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread STINNER Victor
STINNER Victor added the comment: Path commited, thanks for the patch Nicholas! -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14276] installing latest version of a project

2012-03-12 Thread Éric Araujo
Éric Araujo added the comment: When you install a project for the first time and you don’t specify a version number, i.e. pysetup install spam, the latest version (or the latest final version (non-alpha/beta/rc), Alexis knows better) should be installed. This could be added to the docs. If

[issue14179] Test coverage for lib/re.py

2012-03-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset fafe12f2a030 by Ezio Melotti in branch '3.2': #14179: add tests for re.compile. Patch by Florian Mladitsch. http://hg.python.org/cpython/rev/fafe12f2a030 New changeset 4a5eafcdde11 by Ezio Melotti in branch 'default': #14179: merge with 3.2. http:

[issue14179] Test coverage for lib/re.py

2012-03-12 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue14277] time.monotonic docstring does not mention the time unit returned

2012-03-12 Thread STINNER Victor
STINNER Victor added the comment: time.monotonic() has 3 implementations: * Windows: QueryPerformanceCounter() with QueryPerformanceFrequency() * Mac OS X: mach_absolute_time() with mach_timebase_info() * UNIX: clock_gettime(CLOCK_MONOTONIC_RAW) or clock_gettime(CLOCK_MONOTONIC) QueryPerforman

  1   2   >