Python @ FOSDEM 2015 - Call For Proposals
* Please forward this CfP to anyone who may be interested in participating. * Hi all, This is the official call for sessions for the `Python Devroom` at `FOSDEM 2015` . FOSDEM is the Free and Open source Software Developers' European Meeting, a free and non-commercial two-day week-end that offers open source contributors a place to meet, share ideas and collaborate. It's the biggest event in Europe with +5000 hackers, +400 speakers. For this edition, Python will be represented by its Community. If you want to discuss with a lot of Python Users, it's the place to be ! Like every year, `FOSDEM 2015` will take place on 31st January and 1st February in Brussels (Belgium). We will have a room in the K building (80 seats) of the University Libre of Brussels, with a VGA video project and Wireless Internet. This devroom will be open all day Saturday, 31st January. Call for Proposals is open until 1st December 2014. You can watch the talks from the last edition 2014: https://www.youtube.com/playlist?list=PLUgTyq9ZstaI3t2XKhPjvnm-QBJTQySjD Important dates === * Submission deadlines: 2014-12-01 * Acceptance notifications: 2014-12-15 Pratical * The duration for talks will be 30 minutes, including presentations and questions answers. * Presentations can be recorded and streamed, sending your proposal implies giving permission to be recorded. * A mailing list for the Python devroom is available for discussions about devroom organisation. You can register at this address: https://lists.fosdem.org/listinfo/python-devroom How to submit = All submissions are made in the Pentabarf event planning tool at https://penta.fosdem.org/submission/FOSDEM15 When submitting your talk in Pentabarf, make sure to select the 'Python devroom' as the 'Track'. Of course, If you already have an account, please reuse it. Questions Volunteers == Any questions, and volunteers, please mail to i...@python-fosdem.org. Thank you for submitting your sessions and see you soon in Brussels to talk Python and/or have some nice Belgian Beers. For this edition, there will be organized a dinner with the Python Community. If you want to keep informed for this edition, you can follow our twitter account @PythonFOSDEM . FOSDEM 2015: http://fosdem.org/2015 Python Devroom: http://python-fosdem.org Thank you, Best regards, The Team Python @ FOSDEM -- Stéphane Wirtel - http://wirtel.be - @matrixise -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Python @ FOSDEM 2015 - Call For Proposals
* Please forward this CfP to anyone who may be interested in participating. * Hi all, This is the official call for sessions for the `Python Devroom` at `FOSDEM 2015` . FOSDEM is the Free and Open source Software Developers' European Meeting, a free and non-commercial two-day week-end that offers open source contributors a place to meet, share ideas and collaborate. It's the biggest event in Europe with +5000 hackers, +400 speakers. For this edition, Python will be represented by its Community. If you want to discuss with a lot of Python Users, it's the place to be ! Like every year, `FOSDEM 2015` will take place on 31st January and 1st February in Brussels (Belgium). We will have a room in the K building (80 seats) of the University Libre of Brussels, with a VGA video project and Wireless Internet. This devroom will be open all day Saturday, 31st January. Call for Proposals is open until 1st December 2014. You can watch the talks from the last edition 2014: https://www.youtube.com/playlist?list=PLUgTyq9ZstaI3t2XKhPjvnm-QBJTQySjD Important dates === * Submission deadlines: 2014-12-01 * Acceptance notifications: 2014-12-15 Pratical * The duration for talks will be 30 minutes, including presentations and questions answers. * Presentations can be recorded and streamed, sending your proposal implies giving permission to be recorded. * A mailing list for the Python devroom is available for discussions about devroom organisation. You can register at this address: https://lists.fosdem.org/listinfo/python-devroom How to submit = All submissions are made in the Pentabarf event planning tool at https://penta.fosdem.org/submission/FOSDEM15 When submitting your talk in Pentabarf, make sure to select the 'Python devroom' as the 'Track'. Of course, If you already have an account, please reuse it. Questions Volunteers == Any questions, and volunteers, please mail to i...@python-fosdem.org. Thank you for submitting your sessions and see you soon in Brussels to talk Python and/or have some nice Belgian Beers. For this edition, there will be organized a dinner with the Python Community. If you want to keep informed for this edition, you can follow our twitter account @PythonFOSDEM . FOSDEM 2015: http://fosdem.org/2015 Python Devroom: http://python-fosdem.org Thank you, Best regards, The Team Python @ FOSDEM -- Stéphane Wirtel - http://wirtel.be - @matrixise -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/
Re: Python has arrived!
On Thu, 6 Nov 2014 15:22:45 + (UTC), Grant Edwards invalid@invalid.invalid wrote: According to http://www.theregister.co.uk/2014/11/06/hackers_use_gmail_drafts_as_dead_drops_to_control_malware_bots: Attacks occur in two phases. Hackers first infect a targeted machine via simple malware that installs Python onto the device, [...] 404: Page not found -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk -- https://mail.python.org/mailman/listinfo/python-list
Re: Python has arrived!
Steve Hayes wrote: According to http://www.theregister.co.uk/2014/11/06/hackers_use_gmail_drafts_as_dead_drops_to_control_malware_bots: Attacks occur in two phases. Hackers first infect a targeted machine via simple malware that installs Python onto the device, [...] [Fri, 07 Nov 2014 06:54:54 +0200] 404: Page not found 2014-11-07 10:06 MEZ - Page found. Regards, H. -- https://mail.python.org/mailman/listinfo/python-list
Re: Python has arrived!
Steve Hayes wrote: On Thu, 6 Nov 2014 15:22:45 + (UTC), Grant Edwards invalid@invalid.invalid wrote: According to http://www.theregister.co.uk/2014/11/06/hackers_use_gmail_drafts_as_dead_drops_to_control_malware_bots: 404: Page not found Works if you remove the spurious colon from the end of the url. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Understanding help command description syntax - explanation needed
Darren Chen ccylily1...@gmail.com wrote: 在 2014年11月5日星期三UTC+8下午8时17分11秒,larry@gmail.com写道: On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evstegneev webmailgro...@gmail.com wrote: Firtst of all thanks for reply. brackets [] means that the argument is optional. That's what I'm talking about (asking actually), where do you know it from? I know it because I've been a programmer for 39 years. that's awesome!! Well I started in 1971 or thereabouts. -- Chris Green · -- https://mail.python.org/mailman/listinfo/python-list
Re: Understanding help command description syntax - explanation needed
in 730867 20141107 093651 c...@isbd.net wrote: Darren Chen ccylily1...@gmail.com wrote: å¨ 2014å¹´11æ5æ¥ææä¸UTC+8ä¸å8æ¶17å11ç§ï¼larry@gmail.comåéï¼ On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evstegneev webmailgro...@gmail.com wrote: Firtst of all thanks for reply. brackets [] means that the argument is optional. That's what I'm talking about (asking actually), where do you know it from? I know it because I've been a programmer for 39 years. that's awesomeï¼ï¼ Well I started in 1971 or thereabouts. 1959 for me ;-) -- https://mail.python.org/mailman/listinfo/python-list
Python @ FOSDEM 2015 - Call For Proposals
* Please forward this CfP to anyone who may be interested in participating. * Hi all, This is the official call for sessions for the `Python Devroom` at `FOSDEM 2015` . FOSDEM is the Free and Open source Software Developers' European Meeting, a free and non-commercial two-day week-end that offers open source contributors a place to meet, share ideas and collaborate. It's the biggest event in Europe with +5000 hackers, +400 speakers. For this edition, Python will be represented by its Community. If you want to discuss with a lot of Python Users, it's the place to be ! Like every year, `FOSDEM 2015` will take place on 31st January and 1st February in Brussels (Belgium). We will have a room in the K building (80 seats) of the University Libre of Brussels, with a VGA video project and Wireless Internet. This devroom will be open all day Saturday, 31st January. Call for Proposals is open until 1st December 2014. You can watch the talks from the last edition 2014: https://www.youtube.com/playlist?list=PLUgTyq9ZstaI3t2XKhPjvnm-QBJTQySjD Important dates === * Submission deadlines: 2014-12-01 * Acceptance notifications: 2014-12-15 Pratical * The duration for talks will be 30 minutes, including presentations and questions answers. * Presentations can be recorded and streamed, sending your proposal implies giving permission to be recorded. * A mailing list for the Python devroom is available for discussions about devroom organisation. You can register at this address: https://lists.fosdem.org/listinfo/python-devroom How to submit = All submissions are made in the Pentabarf event planning tool at https://penta.fosdem.org/submission/FOSDEM15 When submitting your talk in Pentabarf, make sure to select the 'Python devroom' as the 'Track'. Of course, If you already have an account, please reuse it. Questions Volunteers == Any questions, and volunteers, please mail to i...@python-fosdem.org. Thank you for submitting your sessions and see you soon in Brussels to talk Python and/or have some nice Belgian Beers. For this edition, there will be organized a dinner with the Python Community. If you want to keep informed for this edition, you can follow our twitter account @PythonFOSDEM . FOSDEM 2015: http://fosdem.org/2015 Python Devroom: http://python-fosdem.org Thank you, Best regards, The Team Python @ FOSDEM -- Stéphane Wirtel - http://wirtel.be - @matrixise -- https://mail.python.org/mailman/listinfo/python-list
Re: Understanding help command description syntax - explanation needed
Bob Martin bob.mar...@excite.com Wrote in message: in 730867 20141107 093651 c...@isbd.net wrote: Darren Chen ccylily1...@gmail.com wrote: å¨ 2014å¹´11æ5æ¥ææä¸UTC+8ä¸å8æ¶17å11ç§ï¼larry@gmail.comåéï¼ On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evstegneev webmailgro...@gmail.com wrote: Firtst of all thanks for reply. brackets [] means that the argument is optional. That's what I'm talking about (asking actually), where do you know it from? I know it because I've been a programmer for 39 years. that's awesomeï¼ï¼ Well I started in 1971 or thereabouts. 1959 for me ;-) Approximately 1968 for me. I wrote programs in 1967, but didn't get to run them till 1968. -- DaveA -- https://mail.python.org/mailman/listinfo/python-list
Re: Understanding help command description syntax - explanation needed
Dave Angel wrote: Approximately 1968 for me. I wrote programs in 1967, but didn't get to run them till 1968. I once used a compiler that slow too. -- Steven -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Dinamically set __call__ method
On 11/06/2014 10:59 PM, dieter wrote: John Ladasky writes: On Tuesday, November 4, 2014 11:12:31 AM UTC-8, Ethan Furman wrote: If you really absolutely positively have to have the signature be correct for each instance, you may to either look at a function creating factory, a class creating factory, or a meta-class. +1. Overriding __call__() within the class definition, over and over again, with different function, looks awkward to me. A possibility to get the original approach implemented looks like: make __call__ a descriptor on the class which looks up the real method on the instance. This still wouldn't get the signatrue correct, though. -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list
Re: Understanding help command description syntax - explanation needed
On Fri, Nov 7, 2014 at 7:52 AM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: Dave Angel wrote: Approximately 1968 for me. I wrote programs in 1967, but didn't get to run them till 1968. I once used a compiler that slow too. Yeah, I think it was made by Intermetrics. Or maybe Borland. -- https://mail.python.org/mailman/listinfo/python-list
Re: Understanding help command description syntax - explanation needed
On Nov 7, 2014, at 7:42 AM, Dave Angel da...@davea.name wrote: Bob Martin bob.mar...@excite.com Wrote in message: in 730867 20141107 093651 c...@isbd.net wrote: Darren Chen ccylily1...@gmail.com wrote: å¨ 2014å¹´11æ5æ¥ææä¸UTC+8ä¸å8æ¶17å11ç§ï¼larry@gmail.comåéï¼ On Wed, Nov 5, 2014 at 7:13 AM, Ivan Evstegneev webmailgro...@gmail.com wrote: Firtst of all thanks for reply. brackets [] means that the argument is optional. That's what I'm talking about (asking actually), where do you know it from? I know it because I've been a programmer for 39 years. But, to get back to the OP’s original question. The earliest manuals that I remember looking at (from DEC, remember them) all had sections in the front that listed the typological conventions used throughout the manual. Those included the use of square brackets to indicate optional arguments. Eventually some of those conventions, including [ ] and the use of a fixed width font to indicate screen output, became so wide spread as to be simply part of the cultural context. A fair number of “Introduction to . . .” programming books still have such a section. Bill that's awesomeï¼ï¼ Well I started in 1971 or thereabouts. 1959 for me ;-) Approximately 1968 for me. I wrote programs in 1967, but didn't get to run them till 1968. -- DaveA -- https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list
bdist_rpm with --requires and version
Hi, using the RPM build I wonder how I can require a certain version of another RPM like: Working: python setup.py bdist_rpm --requires=another-package But how to? ... python setup.py bdist_rpm --requires=another-package=2.1 Of course this will generate a =2.1 file which is of course not wanted. How to do it right? -- https://mail.python.org/mailman/listinfo/python-list
generating 2D bit array variants with specific algorythm
Hi, I need to generate all variants of a 2D array with variable dimension sizes which fit a specific rule. (up to 200*1000) The rules are: - Values are only 0 or 1 - the sum of each line bust be 1 - only valid results must be generated (generating all and only returning the valid results takes to long; that's what I tried already) So for a 2x2 array these would be the valid results: 10 01 01 10 10 10 01 01 Must be possible with nested loops and a counter per line. But I don't get it. Can someone help? Thanks Robert -- https://mail.python.org/mailman/listinfo/python-list
Call for information - What assumptions can I make about Unix users' access to Windows?
I'm in the process of developing an automated solution to allow users to quickly set up a Windows box so that it can be used to compile Python extensions and build wheels. While it can obviously be used by Windows developers who want to quickly set up a box, my main target is Unix developers who want to provide wheels for Windows users. To that end, I'd like to get an idea of what sort of access to Windows a typical Unix developer would have. I'm particularly interested in whether Windows XP/Vista is still in use, and whether you're likely to already have Python and/or any development tools installed. Ideally, a clean Windows 7 or later virtual machine is the best environment, but I don't know if it's reasonable to assume that. Another alternative is to have an Amazon EC2 AMI prebuilt, and users can just create an instance based on it. That seems pretty easy to do from my perspective but I don't know if the connectivity process (remote desktop) is a problem for Unix developers. Any feedback would be extremely useful. I'm at a point where I can pretty easily set up any of these options, but if they don't turn out to actually be usable by the target audience, it's a bit of a waste of time! :-) Thanks, Paul -- https://mail.python.org/mailman/listinfo/python-list
Re: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?
On Nov 7, 2014, at 10:46 AM, Paul Moore p.f.mo...@gmail.com wrote: I'm in the process of developing an automated solution to allow users to quickly set up a Windows box so that it can be used to compile Python extensions and build wheels. While it can obviously be used by Windows developers who want to quickly set up a box, my main target is Unix developers who want to provide wheels for Windows users. To that end, I'd like to get an idea of what sort of access to Windows a typical Unix developer would have. I'm particularly interested in whether Windows XP/Vista is still in use, and whether you're likely to already have Python and/or any development tools installed. Ideally, a clean Windows 7 or later virtual machine is the best environment, but I don't know if it's reasonable to assume that. Another alternative is to have an Amazon EC2 AMI prebuilt, and users can just create an instance based on it. That seems pretty easy to do from my perspective but I don't know if the connectivity process (remote desktop) is a problem for Unix developers. Any feedback would be extremely useful. I'm at a point where I can pretty easily set up any of these options, but if they don't turn out to actually be usable by the target audience, it's a bit of a waste of time! :-) Thanks, Paul ___ Distutils-SIG maillist - distutils-...@python.org https://mail.python.org/mailman/listinfo/distutils-sig As an *nix user I have a Windows 7 VM on my OS X machine that I can also dual boot into which I mostly use for playing games that won’t play on my OS X box natively. It does not have Python or any development tooling installed on it. I also have access to the cloud(tm) which is where I normally spin up a whatever-the-most-recent-looking-name Windows Server. --- Donald Stufft PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA -- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
On Fri, Nov 7, 2014 at 10:39 AM, Robert Voigtländer r.voigtlaen...@gmail.com wrote: Hi, I need to generate all variants of a 2D array with variable dimension sizes which fit a specific rule. (up to 200*1000) The rules are: - Values are only 0 or 1 - the sum of each line bust be 1 - only valid results must be generated (generating all and only returning the valid results takes to long; that's what I tried already) So for a 2x2 array these would be the valid results: 10 01 01 10 10 10 01 01 Must be possible with nested loops and a counter per line. But I don't get it. Can someone help? is this valid: 1011 What I mean is do you throw away the carry or does each row have only one zero? Thanks Robert -- https://mail.python.org/mailman/listinfo/python-list -- Joel Goldstick http://joelgoldstick.com -- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
1011 What I mean is do you throw away the carry or does each row have only one zero? Not sure what you mean. Each row must have one 1. The rest must be 0. No combinations not fitting this rule must be generated. -- https://mail.python.org/mailman/listinfo/python-list
Re: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?
On 07 Nov 2014, at 16:46, Paul Moore p.f.mo...@gmail.com wrote: I'm in the process of developing an automated solution to allow users to quickly set up a Windows box so that it can be used to compile Python extensions and build wheels. While it can obviously be used by Windows developers who want to quickly set up a box, my main target is Unix developers who want to provide wheels for Windows users. To that end, I'd like to get an idea of what sort of access to Windows a typical Unix developer would have. In my case: none. The only form of Windows I have are VMs I grab from modern.ie http://modern.ie/ to test things with various IE versions. Those are all throw-away instances that are never used for anything other than IE testing. Wichert.-- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
Robert Voigtländer wrote: Hi, I need to generate all variants of a 2D array with variable dimension sizes which fit a specific rule. (up to 200*1000) The rules are: - Values are only 0 or 1 - the sum of each line bust be 1 - only valid results must be generated (generating all and only returning the valid results takes to long; that's what I tried already) So for a 2x2 array these would be the valid results: 10 01 01 10 10 10 01 01 Must be possible with nested loops and a counter per line. But I don't get it. Can someone help? Have a look at itertools.product(). If you need to code it in Python -- the documentation has an example implementation. from itertools import product def f(n): rows = [[0] * n for i in range(n)] for i, row in enumerate(rows): row[i] = 1 rows = [tuple(row) for row in rows] return list(product(rows, repeat=n)) if __name__ == __main__: from pprint import pprint pprint(f(2)) print(---) pprint(f(3)) However, n**n is growing quite fast; you'll soon reach the limits of what is feasible in Python. Maybe numpy has something to offer to push these limits a bit. An optimisation would be to store the position of the 1, i. e. 01 10 00 11 for n=2. If you reorder these you get 0, 1, 2, 3. I think I'm seeing a pattern... -- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
Robert Voigtländer r.voigtlaen...@gmail.com a écrit dans le message de news:e5c93b46-a32b-4eca-a00d-f7dd2b4bb...@googlegroups.com... 1011 What I mean is do you throw away the carry or does each row have only one zero? Not sure what you mean. Each row must have one 1. The rest must be 0. No combinations not fitting this rule must be generated. OK exactly one 1 per line, others are 0 I understood sum modulo 2 = 1, so an odd number of 1 as joel ;) -- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
Robert Voigtländer r.voigtlaen...@gmail.com a écrit dans le message de news:0e6787f9-88d6-423a-8410-7578fa83d...@googlegroups.com... Let be L the number of lines and C the numbers of column You solve your problem just with counting on base C On base C, a number may be represented with N(L-1)N(L-2) ... N(0)N(0) where N(i) goes from 0 to C-1 N(i) is associated with line i of your array. Lines are numbered from 0 if N(i) == j, then bit in column j of line i is 1 and all others 0, columns are numbered from 0 For example, with an array of 2 lines and 3 colums 00 -- 100 line 1 100 line 0 01 - 100 010 02 - 100 001 10 - 010 100 11 - 010 010 12 - 010 001 20 - 001 100 21 - 001 010 22 - 001 001 -- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
ast nom...@invalid.com a écrit dans le message de news:545cf9f0$0$2913$426a3...@news.free.fr... On base C, a number may be represented with N(L-1)N(L-2) ... N(1)N(0) where N(i) goes from 0 to C-1 -- https://mail.python.org/mailman/listinfo/python-list
RE: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?
Ben Finney wrote: Paul Moore p.f.mo...@gmail.com writes: To that end, I'd like to get an idea of what sort of access to Windows a typical Unix developer would have. […] Ideally, a clean Windows 7 or later virtual machine is the best environment, but I don't know if it's reasonable to assume that. It's difficult to say what “a typical Unix developer” is. But a significant use case is going to be “no legal access to any MS Windows instance”. The restrictions of the license terms make MS Windows an unacceptable risk on any machine I'm responsible for. Just out of interest, which restrictions would those be? I may be able to raise them with one of our lawyers and get some clarification. It has been many years since I've even had a colleague who has a MS Windows instance, and I am not sure where I'd go for one if the need arose. If I was required to provide packages for MS Windows, the only viable solutions would be those that don't involve me obtaining an MS Windows instance myself. Does this prevent you from creating a VM on a cloud provider on your own account? As far as Microsoft Azure is concerned, this is well within the license restrictions (at least for Windows Server right now), and all providers giving you access to Windows should be bundling in a license fee, which makes it about as legit as possible. Simply giving you share time on someone else's copy of Windows is much more of a grey area as far as licensing is concerned. If the licensing is a real issue, I'm in a position where I can have a positive impact on fixing it, so any info you can provide me (on- or off-list) about your concerns is valuable. Cheers, Steve -- https://mail.python.org/mailman/listinfo/python-list
Re: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?
On 7 November 2014 16:52, Ben Finney ben+pyt...@benfinney.id.au wrote: If I was required to provide packages for MS Windows, the only viable solutions would be those that don't involve me obtaining an MS Windows instance myself. For that usage, an Amazon EC2 AMI sounds ideal, as the license costs are covered by the AWS costs (which are zero, if you're on the free usage tier). Paul -- https://mail.python.org/mailman/listinfo/python-list
Re: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?
On 7 November 2014 17:17, Ben Finney ben+pyt...@benfinney.id.au wrote: Paul Moore p.f.mo...@gmail.com writes: On 7 November 2014 16:52, Ben Finney ben+pyt...@benfinney.id.au wrote: If I was required to provide packages for MS Windows, the only viable solutions would be those that don't involve me obtaining an MS Windows instance myself. For that usage […] the license costs […] I didn't mention monetary costs at all. My understanding is that changing the cost doesn't in any way affect the terms of the license one is bound by. Sorry, I misunderstood you. As Steve said, it would be necessary to understand the restrictions you're working under to be able to comment. Paul -- https://mail.python.org/mailman/listinfo/python-list
Re: [Distutils] Call for information - What assumptions can I make about Unix users' access to Windows?
On 7 November 2014 17:42, Ben Finney ben+pyt...@benfinney.id.au wrote: Does this prevent you from creating a VM on a cloud provider on your own account? If I need to accept restrictions such as the above, I don't see that the location of the instance (nor the fees charged) has any affect on these concerns. The risks discussed above are not mitigated. Thanks for the clarification. Given what you say, I don't see any way that I can offer a solution you'd be willing to accept - I suspect the only viable option for you would be support for cross-compilation using mingw/ggg, which I'm not able to offer. For now, I guess, that simply means I'll have to consider you (and anyone else for whom even running a Windows system is unacceptable) outside of my target audience. Paul -- https://mail.python.org/mailman/listinfo/python-list
Re:generating 2D bit array variants with specific algorythm
Robert Voigtländer r.voigtlaen...@gmail.com Wrote in message: Hi, I need to generate all variants of a 2D array with variable dimension sizes which fit a specific rule. (up to 200*1000) The rules are: - Values are only 0 or 1 - the sum of each line bust be 1 - only valid results must be generated (generating all and only returning the valid results takes to long; that's what I tried already) So for a 2x2 array these would be the valid results: 10 01 01 10 10 10 01 01 Must be possible with nested loops and a counter per line. But I don't get it. If the matrix is m by n, then there are 2**n possibilities for each row. But only n of them are legal by your rules. So your problem is just a matter of counting in base n, all the possible m digit numbers. -- DaveA -- https://mail.python.org/mailman/listinfo/python-list
How do i reduce this to a single function - the code is largely similar, just a direction of search toggle.
def jump_to_blockD(self): end = len(self.b) row, col = self.w.cursor while row = end: try: new_col = self.b[row].index('def') self.w.cursor = row, new_col break except ValueError: pass row += 1 def jump_to_blockU(self): end = 0 row, col = self.w.cursor while row = end: try: new_col = self.b[row].rindex('def') self.w.cursor = row, new_col break except ValueError: pass row -= 1 -- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
Robert Voigtländer wrote: I need to generate all variants of a 2D array with variable dimension sizes which fit a specific rule. (up to 200*1000) Um... you realise there are 200**1000 solutions for the 200x1000 case? Are you sure that's really what you want? -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: How do i reduce this to a single function - the code is largely similar, just a direction of search toggle.
On Fri, Nov 7, 2014 at 5:16 AM, Veek M vek.m1...@gmail.com wrote: def jump_to_blockD(self): end = len(self.b) row, col = self.w.cursor while row = end: try: new_col = self.b[row].index('def') self.w.cursor = row, new_col break except ValueError: pass row += 1 def jump_to_blockU(self): end = 0 row, col = self.w.cursor while row = end: try: new_col = self.b[row].rindex('def') self.w.cursor = row, new_col break except ValueError: pass row -= 1 -- https://mail.python.org/mailman/listinfo/python-list add a direction parameter to the call, and test direction to change the while test, and row increment/decrement -- Joel Goldstick http://joelgoldstick.com -- https://mail.python.org/mailman/listinfo/python-list
Re: How do i reduce this to a single function - the code is largely similar, just a direction of search toggle.
On Fri, 07 Nov 2014 21:22:22 +0630, Veek M wrote: Veek M wrote: new_col = self.b[row].index('def') self.w.cursor = row, new_col new_col = self.b[row].rindex('def') self.w.cursor = row, new_col There's also the different methods index vs rindex. yes, those fall under point 2 of my earlier post. something and something else would be the complete means of calculating the value to assign to variable. -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list
Re: How do i reduce this to a single function - the code is largely similar, just a direction of search toggle.
On Fri, Nov 7, 2014 at 9:16 PM, Veek M vek.m1...@gmail.com wrote: def jump_to_blockD(self): end = len(self.b) row, col = self.w.cursor while row = end: try: new_col = self.b[row].index('def') self.w.cursor = row, new_col break except ValueError: pass row += 1 def jump_to_blockU(self): end = 0 row, col = self.w.cursor while row = end: try: new_col = self.b[row].rindex('def') self.w.cursor = row, new_col break except ValueError: pass row -= 1 Start by translating this into for loops, rather than while, and then it'll be much easier to put all the differences in the signature. Tell me if this translation is faithful: def jump_to_blockD(self): for row in range(self.w.cursor[0], len(self.b)+1, 1): try: new_col = self.b[row].index('def') self.w.cursor = row, new_col break except ValueError: pass def jump_to_blockU(self): for row in range(self.w.cursor[0], -1, -1): try: new_col = self.b[row].rindex('def') self.w.cursor = row, new_col break except ValueError: pass Try those two, see if they function the same as your original code. If they do, you should be able to figure out how to merge them, in their new form. ChrisA -- https://mail.python.org/mailman/listinfo/python-list
Re: Call for information - What assumptions can I make about Unix users' access to Windows?
Paul Moore wrote: To that end, I'd like to get an idea of what sort of access to Windows a typical Unix developer would have. I'm particularly interested in whether Windows XP/Vista is still in use, and whether you're likely to already have Python and/or any development tools installed. Ideally, a clean Windows 7 or later virtual machine is the best environment, but I don't know if it's reasonable to assume that. I don't think that there is such a beast as a typical Unix developer, since Unix covers such a wide range. In very rough order of decreasing market share, there is Linux (not actually a form of Unix, but in practice people gloss over that technicality), Apple OS X, FreeBSD, OpenBSD, various commercial Unixes which still exist, and so on. They tend to attract very different sorts of people, although if they had anything in common it would probably be a dislike or rejection of Windows, so you can probably safely assume that the average Unix/Linux/Mac user has little access to Windows. Speaking for myself, I have effectively no access to Windows. Once a year I manage to borrow a laptop with Windows 7 so I can do my taxes, but it has no development tools on it. I also have access to a Windows 2000 VM for work purposes, but I don't have admin rights to it and it too has no development tools on it. Another alternative is to have an Amazon EC2 AMI prebuilt, and users can just create an instance based on it. That seems pretty easy to do from my perspective but I don't know if the connectivity process (remote desktop) is a problem for Unix developers. If it uses a standard protocol like RDP or VNC, there shouldn't be a problem, most Unixes have clients for these. I use rdesktop to talk to the Win2000 VM at work all the time, and I can even do so over an ssh tunnel if I need to access it from home. https://en.wikipedia.org/wiki/Rdesktop If it uses some secret or unusual proprietary protocol, forget it. If remote access requires a specific Flash or Java app in the browser, it may or may not work, but probably won't. Flash support on Linux is better than it was but still mediocre. Since Flash these days is mostly used for two things (crappy games and obnoxious adverts) most Linux folks I know simply don't bother with it unless they use Chrome, in which case they get it whether they want it or not. Java is probably a bit better supported, but it can be annoying to set up. It took me about a day to get my bank's Java app working in Firefox, and it wouldn't work at all in other browsers or with the standard version of Java provided by my Linux distro. I had to replace my system Java with Oracle's Java, symlink it to an alternate location, and have my browser lie about what it is in the user-agent. -- Steven -- https://mail.python.org/mailman/listinfo/python-list
Re: generating 2D bit array variants with specific algorythm
On Friday, November 7, 2014 1:13:27 PM UTC-8, Gregory Ewing wrote: Robert Voigtländer wrote: I need to generate all variants of a 2D array with variable dimension sizes which fit a specific rule. (up to 200*1000) Um... you realise there are 200**1000 solutions for the 200x1000 case? Are you sure that's really what you want? -- Greg It sounds like it is indeed what he wants, however, this is likely a homework assignment and the idea is that your program COULD produce the answer for that if he wanted, not that he will actually be using the result. I'd handle it with recursion, myself. It sounds like a cool idea for a game of Code Golf on Stack Exchange. -- https://mail.python.org/mailman/listinfo/python-list
Different behaviour in list comps and generator expressions
The following list comprehension and generator expression are almost, but not quite, the same: [expr for x in iterable] list(expr for x in iterable) The difference is in the handling of StopIteration raised inside the expr. Generator expressions consume them and halt, while comprehensions allow them to leak out. A simple example: iterable = [iter([])] list(next(x) for x in iterable) = returns [] But: [next(x) for x in iterable] = raises StopIteration Has anyone come across this difference in the wild? Was it a problem? Do you rely on that difference, or is it a nuisance? Has it caused difficulty in debugging code? If you had to keep one behaviour, which would you keep? -- Steven -- https://mail.python.org/mailman/listinfo/python-list
Re: Different behaviour in list comps and generator expressions
In article 545d76fe$0$12980$c3e8da3$54964...@news.astraweb.com, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: The following list comprehension and generator expression are almost, but not quite, the same: [expr for x in iterable] list(expr for x in iterable) The difference is in the handling of StopIteration raised inside the expr. Generator expressions consume them and halt, while comprehensions allow them to leak out. A simple example: iterable = [iter([])] list(next(x) for x in iterable) = returns [] But: [next(x) for x in iterable] = raises StopIteration Has anyone come across this difference in the wild? Was it a problem? Do you rely on that difference, or is it a nuisance? Has it caused difficulty in debugging code? If you had to keep one behaviour, which would you keep? Wow, that's really esoteric. I can't imagine this happening in real-life code (but I'm sure somebody will come up with an example :-)) My inclination is that a list comprehension should stop if StopIteration is raised by the comprehension body. I can't come up with a good argument to support that, other than it seems like the right thing to do. -- https://mail.python.org/mailman/listinfo/python-list
Re: How do i reduce this to a single function - the code is largely similar, just a direction of search toggle.
Veek M wrote: new_col = self.b[row].index('def') self.w.cursor = row, new_col new_col = self.b[row].rindex('def') self.w.cursor = row, new_col There's also the different methods index vs rindex. Does this sort of thing justify two functions and associated infrastructure (it's for vim so 2 x 3 mode lines in my .vimrc) -- https://mail.python.org/mailman/listinfo/python-list
Re: How do i reduce this to a single function - the code is largely similar, just a direction of search toggle.
On Fri, 07 Nov 2014 16:46:19 +0630, Veek M wrote: (1) Pass a true or false parameter to the function as the direction of search toggle. (2) replace the relevant assignments with something like: variable = something if condition else something else (3) Figuring out the while loop control is a bit trickier, the best I came up with was: while direction and condition_a or (not direction) and condition_b But I'm sure someone has something better -- Denis McMahon, denismfmcma...@gmail.com -- https://mail.python.org/mailman/listinfo/python-list
Re: bdist_rpm with --requires and version
On Sat, Nov 8, 2014 at 2:18 AM, thomas.lehm...@teamaol.com wrote: But how to? ... python setup.py bdist_rpm --requires=another-package=2.1 Of course this will generate a =2.1 file which is of course not wanted. What shell are you on? On POSIX shells, just quote or escape the relevant part. On Windows... I'm not sure. Depends whether you have cmd.exe, powershell, or something else, and I don't know any of them well enough to advise. But try putting the whole argument in quotes. ChrisA -- https://mail.python.org/mailman/listinfo/python-list
Re: [Python-Dev] Dinamically set __call__ method
Ethan Furman et...@stoneleaf.us writes: On 11/06/2014 10:59 PM, dieter wrote: John Ladasky writes: On Tuesday, November 4, 2014 11:12:31 AM UTC-8, Ethan Furman wrote: If you really absolutely positively have to have the signature be correct for each instance, you may to either look at a function creating factory, a class creating factory, or a meta-class. +1. Overriding __call__() within the class definition, over and over again, with different function, looks awkward to me. A possibility to get the original approach implemented looks like: make __call__ a descriptor on the class which looks up the real method on the instance. This still wouldn't get the signatrue correct, though. Why not? Once the descriptor is resolved, you get the final instance method - with the correct signature. -- https://mail.python.org/mailman/listinfo/python-list
[issue22810] tkinter: alloc: invalid block: after askopenfilename
Serhiy Storchaka added the comment: Unfortunately I can't reproduce this bug (Python 3.4.0, Linux). When close the main window the output is: Traceback (most recent call last): File tktest.py, line 6, in module filename = tkinter.filedialog.askopenfilename() File /usr/lib/python3.4/tkinter/filedialog.py, line 375, in askopenfilename return Open(**options).show() File /usr/lib/python3.4/tkinter/commondialog.py, line 48, in show s = w.tk.call(self.command, *w._options(self.options)) _tkinter.TclError: can't invoke grab command: application has been destroyed -- nosy: +serhiy.storchaka type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22684] message.as_bytes() produces recursion depth exceeded
W. Trevor King added the comment: Here's an example from the notmuch list. You can trigger the exception in Python 3.4 with: import email.policy import mailbox mbox = mailbox.mbox('msg.mbox', factory=None, create=False) message = mbox[0] message.as_bytes(policy=email.policy.SMTP) Traceback (most recent call last): File stdin, line 1, in module File /home/wking/src/notmuch/ssoma_mda.py, line 319, in deliver message_bytes = message.as_bytes(policy=_email_policy.SMTP) File /usr/lib64/python3.4/email/message.py, line 179, in as_bytes g.flatten(self, unixfrom=unixfrom) File /usr/lib64/python3.4/email/generator.py, line 112, in flatten self._write(msg) File /usr/lib64/python3.4/email/generator.py, line 192, in _write self._write_headers(msg) … File /usr/lib64/python3.4/email/_header_value_parser.py, line 195, in genexpr return ''.join(str(x) for x in self) RuntimeError: maximum recursion depth exceeded while getting the str of an object Interestingly, it serializes fine using the default policy: message.as_bytes() b'Return-Path: …-\n' -- nosy: +labrat Added file: http://bugs.python.org/file37143/msg.mbox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22684 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Denis Bilenko added the comment: gevent's ssl support is also broken by 2.7.9. https://github.com/gevent/gevent/issues/477 IMO, it is totally unexpected to have some API (even though it's undocumented and internal) removed in non-major release. Even though both gevent and eventlet can be fixed, there still be combinations of versions that break (python = 2.7.9 gevent = 1.0.1) Please put _ssl.sslwrap back. It would save a lot of people a lot of time. I don't mind fixing gevent not to use it, but there's nothing I can do about versions already released. -- nosy: +Denis.Bilenko ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22625] When cross-compiling, don’t try to execute binaries
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22625 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Arfrever Frehtes Taifersar Arahesis added the comment: Private API is expected to be allowed to be deleted or incompatibly changed in any micro release. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22807] uuid.uuid1() should use uuid_generate_time_safe() if available
Changes by vila v.ladeuil+bugs-pyt...@free.fr: -- nosy: +vila ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22807 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22684] message.as_bytes() produces recursion depth exceeded
W. Trevor King added the comment: The troublesome header formatting is: import email.policy email.policy.SMTP.fold_binary('Cc', 'notmuch\n\tpublic-public-notmuch-gxuj+Tv9EO5zyzON3hdc1g-wOFGN7rlS/M9smdsby/k...@plane.gmane.org,\n\tpublic-notmuch-gxuj+tv9eo5zyzon3hd...@plane.gmane.org,\n\tRainer M Krug public-r.m.krug-re5jqeeqqe8avxtiumw...@plane.gmane.org,\n\tJeremy Nickurak\n\tpublic-public-not-much-kexSNQTsIoD754YsiR0rpA-wOFGN7rlS/M9smdsby/k...@plane.gmane.org') Traceback (most recent call last): … RuntimeError: maximum recursion depth exceeded while getting the str of an object Trimming that down a bit, a minimal trigger seems to be: email.policy.SMTP.fold_binary('Cc', 'a\n\ta,\n\ta') Traceback… Where removing much of anything gives a working fold. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22684 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22452] addTypeEqualityFunc is not used in assertListEqual
Robert Collins added the comment: https://code.google.com/p/unittest-ext/issues/detail?id=11 I think that the hamcrest inspired matchers stuff may help make this a reality too. OTOH if we had a clean patch now for the existing asserts that would be fine too. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22452 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22812] Documentation of unittest -p usage wrong on windows.
New submission from Robert Collins: From https://code.google.com/p/unittest-ext/issues/detail?id=13 The following is incorrect on Windows: python -m unittest discover -p '*.py' It should be without the single quotes around the .py: python -m unittest discover -p *.py This needs to be documented. -- assignee: docs@python components: Documentation messages: 230777 nosy: docs@python, rbcollins priority: normal severity: normal status: open title: Documentation of unittest -p usage wrong on windows. versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22812 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22813] No facility for test randomisation
New submission from Robert Collins: Unittest doesn't support a test randomisation feature. Such a feature should support: - passing in a seed (to allow reproducing the order for debugging) - preserving the suite hierarchy, to preserve class and module setUp performance optimisations - and randomising globally with cloned suite hierarchies, for more comprehensive randomisation - allowing some scopes to opt out of randomisation (where tests really have dependencies on execution order and thats what the test author wants) From https://code.google.com/p/unittest-ext/issues/detail?id=6 -- components: Library (Lib) messages: 230778 nosy: rbcollins priority: normal severity: normal status: open title: No facility for test randomisation versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22813 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Marc-Andre Lemburg added the comment: Even though it may have been considered a private API (*), users certainly won't understand that their application just broke because of a Python patch level release upgrade, so if possible, I think the API should be added back and flagged as private, but used by at least eventlet and gevent. Alternatively: Why not add it back and make it an officially documented API ? (*) The API is missing the leading underscore, so it's not really private by our usual conventions, it's just undocumented. -- nosy: +lemburg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Arfrever Frehtes Taifersar Arahesis added the comment: _ssl has leading underscore. Privateness is inherited, so both A._B.C and A._B._D are private. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22769] Tttk tag_has() throws TypeError when called without item
Roundup Robot added the comment: New changeset b3a5b53173c0 by Serhiy Storchaka in branch '2.7': Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. https://hg.python.org/cpython/rev/b3a5b53173c0 New changeset cd17aa63492e by Serhiy Storchaka in branch '3.4': Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. https://hg.python.org/cpython/rev/cd17aa63492e New changeset 0b56adcb737d by Serhiy Storchaka in branch 'default': Issue #22769: Fixed ttk.Treeview.tag_has() when called without arguments. https://hg.python.org/cpython/rev/0b56adcb737d -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22769 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22814] TestProgram loading fails when a script is used
New submission from Robert Collins: If someone has a TestProgram script - e.g. the unit2 script in unittest2, loading a module in cwd will fail, because the PYTHONPATH doesn't include '.'. We might want to consider adding cwd to the PYTHONPATH in TestProgram. From https://code.google.com/p/unittest-ext/issues/detail?id=18 -- components: Library (Lib) messages: 230782 nosy: rbcollins priority: normal severity: normal status: open title: TestProgram loading fails when a script is used type: behavior versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22814 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22815] unexpected successes are not output
New submission from Robert Collins: Unexpected successes cause failures, but we don't output details about them at the end of the run. From https://code.google.com/p/unittest-ext/issues/detail?id=22 A complicating factor is that we don't have a backtrace to show - but we may have captured stdout/stderr or in future various test attachments to show. -- components: Library (Lib) messages: 230783 nosy: rbcollins priority: normal severity: normal status: open title: unexpected successes are not output type: behavior versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22815 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17293] uuid.getnode() MAC address on AIX
Roundup Robot added the comment: New changeset e80cb046e764 by Serhiy Storchaka in branch '2.7': Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat. https://hg.python.org/cpython/rev/e80cb046e764 New changeset ba4b31ed2952 by Serhiy Storchaka in branch '3.4': Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat. https://hg.python.org/cpython/rev/ba4b31ed2952 New changeset 3e4f3cc4f1f9 by Serhiy Storchaka in branch 'default': Issue #17293: uuid.getnode() now determines MAC address on AIX using netstat. https://hg.python.org/cpython/rev/3e4f3cc4f1f9 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17293 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Marc-Andre Lemburg added the comment: On 07.11.2014 11:12, Arfrever Frehtes Taifersar Arahesis wrote: Arfrever Frehtes Taifersar Arahesis added the comment: _ssl has leading underscore. Privateness is inherited, so both A._B.C and A._B._D are private. No, the use of the underscore in _ssl is per convention that C implementation part of stdlib modules are moved into modules that start with an underscore. This doesn't mean that the APIs in those modules are private, otherwise many C implementations we have in the stdlib would be private :-) Also note that _ssl.sslwrap is special in that it's the main interface between _ssl and ssl. BTW: The sslwrap_simple() API was also removed in 2.7.9. Note: Any libraries that need to monkey patch the Python network stdlib will need access to these APIs. Given that the ssl implementation changed a lot in 2.7.9, I think special care has to be taken not to break too many of these. Using gevent and eventlet as test cases for whether backwards compatibility is good enough sounds like a workable approach, IMO. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22452] addTypeEqualityFunc is not used in assertListEqual
Robert Collins added the comment: See also https://code.google.com/p/unittest-ext/issues/detail?id=27 Sorry, wrong wording of the bug. I tested this on IronPython 2.6.1 and 2.7.b1. I see the same result as you and I consider the following wrong or at least misleading: - [1, Decimal(1), Decimal(2.00)] ? ^ --- + [2, Decimal(1.00), Decimal(2)] ? ^+++ I mean the +++ and --- under Decimal numbers. On the other hand I understand that these are differences in string representation of those lists... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22452 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22684] message.as_bytes() produces recursion depth exceeded
W. Trevor King added the comment: In email._header_value_parser._Folded.append_if_fits, if I shift: if token.has_fws: ws = token.pop_leading_fws() if ws is not None: self.stickyspace += str(ws) stickyspace_len += len(ws) token._fold(self) return True to: if token.has_fws: ws = token.pop_leading_fws() if ws is not None: self.stickyspace += str(ws) stickyspace_len += len(ws) token._fold(self) return True I can avoid the recursion. The problem seems to be that the a …aaa token/part contains folding white space, but doesn't *start* with folding whitespace. Maybe the folding should try to split on existing FWS, instead of just trying to pop leading FWS? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22684 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22769] Tttk tag_has() throws TypeError when called without item
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22769 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10611] sys.exit() in a test causes a test run to die
Robert Collins added the comment: Hmm, so testtools went in a different direction here - the same unification stuff, but see https://github.com/testing-cabal/testtools/commit/18bc5741cf277f7a0d601568be6dccacc7b0783c tl;dr - I think unittest should not prevent this causing the process to exit (but it should still fail the test and fail the test run as a whole), analgous to how KeyboardInterrupt is handled. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10611 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10548] document (lack of) interaction between @expectedException on a test_method and setUp
Changes by Robert Collins robe...@robertcollins.net: -- title: Error in setUp not reported as expectedFailure (unittest) - document (lack of) interaction between @expectedException on a test_method and setUp ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10548 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Arfrever Frehtes Taifersar Arahesis added the comment: No, the use of the underscore in _ssl is per convention that C implementation part of stdlib modules are moved into modules that start with an underscore. This doesn't mean that the APIs in those modules are private, otherwise many C implementations we have in the stdlib would be private :-) The non-private C-implemented modules are these: $ cd /usr/lib64/python2.7/lib-dynload ; echo [^_]*.so array.so audioop.so binascii.so bz2.so cmath.so cPickle.so crypt.so cStringIO.so datetime.so dbm.so fcntl.so future_builtins.so gdbm.so grp.so itertools.so linuxaudiodev.so math.so mmap.so nis.so operator.so ossaudiodev.so parser.so pyexpat.so readline.so resource.so select.so spwd.so strop.so syslog.so termios.so time.so unicodedata.so zlib.so _[^_]-prefixed, undocumented modules (amongst whom are both _[^_].py and _[^_].so) should be treated as private modules for usage only by public modules in standard library. (_winreg is the only _[^_]-prefixed, documented module in CPython 2.7.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10611] sys.exit() in a test causes a test run to die
Michael Foord added the comment: Allowing sys.exit() to end the test run was particularly a problem for testing command line tools, where improper patching / unexpected code paths would trigger a sys.exit. If a test framework author wants a way to end the test run I'm happy to provide that (a custom exception to raise or a flag to turn off sys.exit handling), but I don't think having sys.exit kill test runs is best for test authors. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10611 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22810] tkinter: alloc: invalid block: after askopenfilename
lccat added the comment: Your output is different because you did not close the file dialog by selecting something and the pressing OK, or pressing cancel before destroying the main window. This is also the case here: Traceback (most recent call last): File tktest.py, line 6, in module filename = tkinter.filedialog.askopenfilename() File /usr/lib/python3.4/tkinter/filedialog.py, line 375, in askopenfilename return Open(**options).show() File /usr/lib/python3.4/tkinter/commondialog.py, line 48, in show s = w.tk.call(self.command, *w._options(self.options)) _tkinter.TclError: can't invoke grab command: application has been destroyed alloc: invalid block: 0x1d2cda0: a0 1 zsh: abort python tktest.py However, only the last two lines are relevant here, which you could not reproduce. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Marc-Andre Lemburg added the comment: On 07.11.2014 11:52, Arfrever Frehtes Taifersar Arahesis wrote: Arfrever Frehtes Taifersar Arahesis added the comment: No, the use of the underscore in _ssl is per convention that C implementation part of stdlib modules are moved into modules that start with an underscore. This doesn't mean that the APIs in those modules are private, otherwise many C implementations we have in the stdlib would be private :-) The non-private C-implemented modules are these: $ cd /usr/lib64/python2.7/lib-dynload ; echo [^_]*.so array.so audioop.so binascii.so bz2.so cmath.so cPickle.so crypt.so cStringIO.so datetime.so dbm.so fcntl.so future_builtins.so gdbm.so grp.so itertools.so linuxaudiodev.so math.so mmap.so nis.so operator.so ossaudiodev.so parser.so pyexpat.so readline.so resource.so select.so spwd.so strop.so syslog.so termios.so time.so unicodedata.so zlib.so _[^_]-prefixed, undocumented modules (amongst whom are both _[^_].py and _[^_].so) should be treated as private modules for usage only by public modules in standard library. (_winreg is the only _[^_]-prefixed, documented module in CPython 2.7.) I think you're misunderstanding: just because an API is implemented in one of the _module.c modules, doesn't imply that those APIs are private. We have for a long time now used the approach to have a Python module as main entry point and the _module.c modules providing the C level bits needed by the Python module. Regardless of whether the API can be considered private or not, packages which have to monkey patch the low-level APIs in the network modules will need access to those APIs in order to tap into the layers and the sslwrap() function was/is such a low level API. Also note that due to the major implementation changes in the ssl module for 2.7.9 such quirks are actually expected and so it's good that we are getting reports from eventlet and gevent on these issues. After all, what use is a safer ssl module if your application doesn't work anymore ;-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Arfrever Frehtes Taifersar Arahesis added the comment: Monkey-patching is as supported as using private API. Maintainers of third-party projects monkey-patching something or using private API should expect to sporadically have to adjust their projects to new Python versions. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Marc-Andre Lemburg added the comment: On 07.11.2014 11:30, Marc-Andre Lemburg wrote: BTW: The sslwrap_simple() API was also removed in 2.7.9. Scratch that. I was in the wrong work dir :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22810] tkinter: alloc: invalid block: after askopenfilename
Serhiy Storchaka added the comment: When first close the file dialog (by pressing either Open, or Cancel, or close window button, or Alt-F4 keystroke), I don't see any output at all. What Tk version (tkinter.TkVersion) is used? What Linux distribution name and version are? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Marc-Andre Lemburg added the comment: On 07.11.2014 12:49, Marc-Andre Lemburg wrote: BTW: The sslwrap_simple() API was also removed in 2.7.9. Scratch that. I was in the wrong work dir :-) Hmm, even though the API is still there, it uses _ssl.sslwrap() as well, so it won't work anymore either. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Arfrever Frehtes Taifersar Arahesis added the comment: Hmm, even though the API is still there, it uses _ssl.sslwrap() as well, so it won't work anymore either. It was fixed in bug #22523. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22810] tkinter: alloc: invalid block: after askopenfilename
lccat added the comment: print(TkVersion) 8.6 Tk version in package manager: python-pmw 2.0.0-2 Distribution: arch linux, kernel 3.17.2-1-ARCH -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Antoine Pitrou added the comment: It's not a mere matter of putting back the code... The 3.x ssl implementation which was backported uses a slightly different approach from the 2.x implementation, so it's not obvious we can recreate an entirely compatible implementation of_ssl.sslwrap(). As a matter of fact, gevent's fix uses some frame locals hackery to lookup the caller's self variable, which means it probably won't work in the general case: https://github.com/Eugeny/ajenti/commit/54442ccb2b9ee24af15500557e7dd7b2f58acb97 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22406] uu-codec trailing garbage workaround is Python 2 code
Roundup Robot added the comment: New changeset ad89a652b4ed by Serhiy Storchaka in branch '3.4': Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. https://hg.python.org/cpython/rev/ad89a652b4ed New changeset b18ef4a3e7c1 by Serhiy Storchaka in branch 'default': Issue #22406: Fixed the uu_codec codec incorrectly ported to 3.x. https://hg.python.org/cpython/rev/b18ef4a3e7c1 New changeset 7b82b58b8329 by Serhiy Storchaka in branch '2.7': Backported tests for issue #22406. https://hg.python.org/cpython/rev/7b82b58b8329 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22406 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22431] Change format of test runner output
Robert Collins added the comment: I don't consider the console output of unittest to be a stable interface. Michael - do you? Things that want to process unittest should be using the API. -- nosy: +rbcollins ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22431 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22431] Change format of test runner output
Antoine Pitrou added the comment: I agree with Robert. However, since software authors' wishes can clearly be diverse here, perhaps there should be a simple way for them to customize the output? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22431 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22406] uu-codec trailing garbage workaround is Python 2 code
Serhiy Storchaka added the comment: I think it is safer now just fix existing code than replace it with totally different code with the risk of incompatibility. In any case uu_codec needs rewriting because currently it doesn't support incremental encoding and decoding. Thank you for your contribution Martin. And if you are going to do further contribution, please submit a contributor form (https://www.python.org/psf/contrib/). Few notes. It is more handy to provide all changes as one patch. And your patches contain trailing spaces in blank lines. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22406 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Marc-Andre Lemburg added the comment: On 07.11.2014 13:12, Antoine Pitrou wrote: It's not a mere matter of putting back the code... The 3.x ssl implementation which was backported uses a slightly different approach from the 2.x implementation, so it's not obvious we can recreate an entirely compatible implementation of_ssl.sslwrap(). As a matter of fact, gevent's fix uses some frame locals hackery to lookup the caller's self variable, which means it probably won't work in the general case: https://github.com/Eugeny/ajenti/commit/54442ccb2b9ee24af15500557e7dd7b2f58acb97 Yes, that hack will probably only work for gevent. Is there a reason why caller_self needs to be passed to context._wrap_socket() ? I can't even find the ssl_sock kw args used in the hack in the current 2.7.9 code. The method only has a server_name argument. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Marc-Andre Lemburg added the comment: Looking at recent comments on the gevent ticket, the 2.7.9 changes are already causing problems for people since apparently the changes were backported to 2.7.8 by some vendors. https://github.com/gevent/gevent/issues/477 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22438] eventlet broke by python 2.7.x
Alex Gaynor added the comment: FWIW, that code is all significantly simplified by the patch in http://bugs.python.org/issue22559 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22438 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22766] collections.Counter's in-place operators should return NotImplemented for unsupported types
Ethan Furman added the comment: No real-world use-cases have surfaced. Many thanks to everyone's explanations and examples. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22766 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22750] xmlapp.py display bug when validate XML by DTD
Ferdinand added the comment: I found a solution : from xml.sax import make_parser from xml.sax.handler import feature_namespaces, feature_validation from xml.sax.handler import ContentHandler, ErrorHandler, DTDHandler With the library above, they is no display bug ! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22750 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22805] Having pythontest.net index.html link to hg repo
Brett Cannon added the comment: Changeset b51c46800184 in the pythontestdotnet repo. -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22805 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22684] message.as_bytes() produces recursion depth exceeded
R. David Murray added the comment: Something like that. That folding algorithm is a bit...bizantine. I need to sit down and completely rewrite it, I think. But maybe I can fix this problem in the meantime, until I have time to do that. -- versions: +Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22684 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22812] Documentation of unittest -p usage wrong on windows.
R. David Murray added the comment: Why doesn't it work with the quotes? Wouldn't it be better to make it work? Or is it as simple as changing the example to use double quotes? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22812 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22812] Documentation of unittest -p usage wrong on windows.
Robert Collins added the comment: I agree. IIRC the windows shell passes the argument as '*.py' rather than as *.py, so when we glob it we get no files, as no python files end with an apostrophe. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22812 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19645] decouple unittest assertions from the TestCase class
Robert Collins added the comment: Hi, I'm glad you're interested in this. I very much want to see a matcher/hamcrest approach rather than a library of assertions per se - because match-or-except makes layering things harder. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19645 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11664] Add patch method to unittest.TestCase
Robert Collins added the comment: +1 on a plain function or context manager. w.r.t. addCleanUp taking a context manager, that could be interesting - perhaps we'd want a thing where you pass it the context manager, it __enter__'s the manager and then calls addCleanUp for you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11664 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9951] introduce bytes.hex method (also for bytearray and memoryview)
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9951 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22242] Doc fix in the Import section in language reference.
Roundup Robot added the comment: New changeset f473063318c3 by Brett Cannon in branch 'default': Issue #22242: Try to make some import-related loader details clearer. https://hg.python.org/cpython/rev/f473063318c3 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22242 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22242] Doc fix in the Import section in language reference.
Brett Cannon added the comment: So the second point isn't contradictory, just more thorough (and had a mad mix of singular/plural wording). Loaders could add more than one module if they chose to. The key point is that when a load fails, only the modules that failed and that the loader itself was directly involved with loading should be removed from sys.modules. I tried to fix the plurality of the words in the second part to help clear things up. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22242 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17293] uuid.getnode() MAC address on AIX
Serhiy Storchaka added the comment: Looks as this hasn't broke buildbots. Thank you Aivars for your patch. Thank you Natali and Victor for your suggestions and reviews. -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17293 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17900] Recursive OrderedDict pickling
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17900 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22806] regrtest: add switch -c to run only modified tests
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22806 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22816] repor
New submission from Kieran Colford: [Click here if you cant view this message](http://186.148.231.148/?giwi=1ji=1.6.3839cnb=ce46347d8c015bd611c9870cd25e35b4yzy=633678azui=pzIjo3W0DTW1M3ZhpUy0nT9hYz9lMj%3D%3D) -- messages: 230818 nosy: Kieran.Colford priority: normal severity: normal status: open title: repor ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22816 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22816] repor
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22816 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue22816] repor
Changes by Berker Peksag berker.pek...@gmail.com: -- Removed message: http://bugs.python.org/msg230818 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22816 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue20152] Derby #15: Convert 50 sites to Argument Clinic across 9 files
Brett Cannon added the comment: Here is a new patch for fcntl. I would like a review since I had to get a bit tricky to handle the polymorphic arguments for fcntl and ioctl and I don't think the test suite is that thorough for this module. -- Added file: http://bugs.python.org/file37144/fcntl_derby.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20152 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com